upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ add_servo()

void add_servo ( const int  servo_id,
const int  bus_id,
const std::string &  joint_name,
const double  maximum_torque 
)
inline

Add a servo to the layout.

Parameters
[in]servo_idServo ID (id.id for moteus)
[in]bus_idCAN bus the servo is connected to.
[in]joint_nameName of the joint the servo actuates.
[in]maximum_torqueMaximum torque the servo can exert, in N⋅m.