Line |
Branch |
Exec |
Source |
1 |
|
|
/** |
2 |
|
|
* @file default_configuration.cpp |
3 |
|
|
* @author Vincent Berenz |
4 |
|
|
* @copyright Copyright (c) 2019, New York University and Max Planck |
5 |
|
|
* Gesellschaft, License BSD-3-Clause |
6 |
|
|
* @date 2019-12-09 |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#include "package_template/default_configuration.hpp" |
10 |
|
|
|
11 |
|
|
namespace package_template |
12 |
|
|
{ |
13 |
|
11 |
double DefaultConfiguration::get_kp() const |
14 |
|
|
{ |
15 |
|
11 |
return DEFAULT_KP; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
11 |
double DefaultConfiguration::get_kd() const |
19 |
|
|
{ |
20 |
|
11 |
return DEFAULT_KD; |
21 |
|
|
} |
22 |
|
|
|
23 |
|
11 |
double DefaultConfiguration::get_ki() const |
24 |
|
|
{ |
25 |
|
11 |
return DEFAULT_KI; |
26 |
|
|
} |
27 |
|
|
|
28 |
|
1 |
bool DefaultConfiguration::has_error() const |
29 |
|
|
{ |
30 |
|
1 |
return false; |
31 |
|
|
} |
32 |
|
|
|
33 |
|
✗ |
std::string DefaultConfiguration::get_error() const |
34 |
|
|
{ |
35 |
|
✗ |
return std::string("no error"); |
36 |
|
|
} |
37 |
|
|
|
38 |
|
|
} // namespace package_template |
39 |
|
|
|