upkie 9.0.0
Open-source wheeled biped robots
|
void observe_servos | ( | palimpsest::Dictionary & | observation, |
const std::map< int, std::string > & | servo_name_map, | ||
const std::vector< ServoReply > & | servo_replies | ||
) |
Observe servo measurements.
[out] | observation | Dictionary to write observations to. |
[in] | servo_name_map | Map from servo ID to joint name. |
[in] | servo_replies | List of servo replies from the CAN bus. |
ServoError | If a servo reply is invalid. |