Cheetah Software  1.0
RobotParameters.h
Go to the documentation of this file.
1 
7 #ifndef PROJECT_ROBOTPARAMETERS_H
8 #define PROJECT_ROBOTPARAMETERS_H
9 
11 
13  public:
15  : ControlParameters("robot-parameters"),
16  INIT_PARAMETER(myValue),
17  INIT_PARAMETER(control_mode),
18  INIT_PARAMETER(testValue),
19  INIT_PARAMETER(controller_dt),
20  INIT_PARAMETER(stand_kp_cartesian),
21  INIT_PARAMETER(stand_kd_cartesian),
22  INIT_PARAMETER(kpCOM),
23  INIT_PARAMETER(kdCOM),
24  INIT_PARAMETER(kpBase),
25  INIT_PARAMETER(kdBase),
26  INIT_PARAMETER(cheater_mode),
27  INIT_PARAMETER(imu_process_noise_position),
28  INIT_PARAMETER(imu_process_noise_velocity),
29  INIT_PARAMETER(foot_process_noise_position),
30  INIT_PARAMETER(foot_sensor_noise_position),
31  INIT_PARAMETER(foot_sensor_noise_velocity),
32  INIT_PARAMETER(foot_height_sensor_noise) {}
33 
34  DECLARE_PARAMETER(double, myValue)
35  DECLARE_PARAMETER(double, control_mode)
36  DECLARE_PARAMETER(double, testValue)
37  DECLARE_PARAMETER(double, controller_dt)
38  DECLARE_PARAMETER(Vec3<double>, stand_kp_cartesian)
39  DECLARE_PARAMETER(Vec3<double>, stand_kd_cartesian)
44 
45  // state estimator
46  DECLARE_PARAMETER(s64, cheater_mode)
47  DECLARE_PARAMETER(double, imu_process_noise_position)
48  DECLARE_PARAMETER(double, imu_process_noise_velocity)
49  DECLARE_PARAMETER(double, foot_process_noise_position)
50  DECLARE_PARAMETER(double, foot_sensor_noise_position)
51  DECLARE_PARAMETER(double, foot_sensor_noise_velocity)
52  DECLARE_PARAMETER(double, foot_height_sensor_noise)
53 };
54 
55 #endif // PROJECT_ROBOTPARAMETERS_H
typename Eigen::Matrix< T, 3, 1 > Vec3
Definition: cppTypes.h:26
int64_t s64
Definition: cTypes.h:24
#define INIT_PARAMETER(name)
Interface to set gains/control parameters for simulator and robot These are designed to be updated in...
#define DECLARE_PARAMETER(type, name)