12 #ifndef DGM_QUADRUPED_HH 13 #define DGM_QUADRUPED_HH 15 #include <dynamic_graph_manager/dynamic_graph_manager.hh> 22 typedef Eigen::Matrix<double, 8, 1> Vector8d;
27 typedef Eigen::Matrix<double, 8, 1> Vector4d;
74 Vector8d motor_torques_;
75 Vector8d motor_target_torques_;
76 Vector8d motor_encoder_indexes_;
78 Vector8d joint_positions_;
79 Vector8d joint_velocities_;
80 Vector8d joint_torques_;
81 Vector8d joint_target_torques_;
83 Vector4d contact_sensors_;
84 Vector4d slider_positions_;
86 Vector8d motor_enabled_;
87 Vector8d motor_ready_;
89 Vector4d motor_board_enabled_;
90 Vector4d motor_board_errors_;
92 Vector8d ctrl_joint_torques_;
94 double motors_inertia_;
95 double motors_torque_constant_;
96 double motors_gear_ratio_;
102 #endif // DGM_TEST_BENCH_8_MOTORS_HH Vector8d motor_target_currents_
Entries for the simulated hardware.
Definition: dgm_solo_simple_simu.hpp:73
Definition: dgm_solo_simple_simu.hpp:29
void get_sensors_to_map(dynamic_graph::VectorDGMap &map)
get_sensors_to_map acquieres the sensors data and feed it to the input/output map ...
Definition: dgm_solo_simple_simu.cpp:55
Definition: dgm_single_motor.hpp:17
void set_motor_controls_from_map(const dynamic_graph::VectorDGMap &map)
set_motor_controls_from_map reads the input map that contains the controls and send these controls to...
Definition: dgm_solo_simple_simu.cpp:93
DGMQuadrupedSimu()
DemoSingleMotor is the constructor.
Definition: dgm_solo_simple_simu.cpp:15
void initialize_hardware_communication_process()
initialize_hardware_communication_process is the function that initialize the hardware.
Definition: dgm_solo_simple_simu.cpp:42
~DGMQuadrupedSimu()
~DemoSingleMotor is the destructor.
Definition: dgm_solo_simple_simu.cpp:38
bool is_in_safety_mode()
This function make also sure that the joint velocity do not exceed a certain value.
Definition: dgm_solo_simple_simu.cpp:49