upkie 9.0.0
Open-source wheeled biped robots
|
Map between servos, their busses and the joints they actuate. More...
#include <ServoLayout.h>
Public Member Functions | |
void | add_servo (const int servo_id, const int bus_id, const std::string &joint_name, const double maximum_torque) |
Add a servo to the layout. More... | |
const std::map< int, int > & | servo_bus_map () const noexcept |
Get the full servo-bus map. | |
const std::map< int, ServoProperties > & | servo_props_map () const noexcept |
Get the full servo-joint map. | |
size_t | size () const noexcept |
Get the number of servos in the layout. | |
Map between servos, their busses and the joints they actuate.