upkie  13.2.0
Open-source wheeled biped robots

◆ set_crouching_height()

None set_crouching_height (   self,
float  crouching_height 
)

Set a new crouching height.

Hip and knee targets are updated right away, and legs reach them in roughly one second.

Parameters
crouching_heightHeight by which the robot crouches, in meters. Hip and knee angles are computed from it by upkie.model.model.Model.compute_crouching_posture.
Exceptions
UpkieExceptionIf the crouching height is out of reach, or if the resulting angle of a joint is outside of its limits.