upkie  13.2.0
Open-source wheeled biped robots

◆ __init__()

def __init__ (   self,
UpkieServos  servos_env,
float   fall_pitch = 1.0,
float   leg_gain_scale = 1.0,
float   max_ground_velocity = 3.0,
float   max_yaw_velocity = 1.0,
float   crouching_height = 0.0 
)

Initialize environment.

Parameters
servos_envUpkie environment to command servomotors.
fall_pitchFall detection pitch angle, in radians.
leg_gain_scaleGain scale applied to upper leg kp_scale and kd_scale servo parameters.
max_ground_velocityMaximum commanded ground velocity in m/s.
max_yaw_velocityMaximum commanded yaw velocity in rad/s.
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.