|
upkie
10.1.0
Open-source wheeled biped robots
|
| def __init__ | ( | self, | |
| UpkieServos | servos_env, | ||
| float | fall_pitch = 1.0, |
||
| float | max_ground_velocity = 3.0, |
||
| float | max_yaw_velocity = 1.0, |
||
| float | leg_length = 0.58, |
||
| float | max_ground_accel = 10.0 |
||
| ) |
Initialize environment.
| servos_env | Upkie environment to command servomotors. |
| fall_pitch | Fall detection pitch angle, in radians. |
| max_ground_velocity | Maximum commanded ground velocity in m/s. |
| max_yaw_velocity | Maximum commanded yaw velocity in rad/s. |
| leg_length | Leg length in meters, forwarded to the internal MPC balancer. |
| max_ground_accel | Maximum ground acceleration in m/s², forwarded to the internal MPC balancer. |