|
upkie 10.0.0
Open-source wheeled biped robots
|
| def __init__ | ( | self, | |
| gym.Env | env, | ||
| float | push_prob = 0.01, |
||
| callable | push_generator = lambda: np.random.normal(0, 400, 3) |
||
| ) |
Initialize wrapper.
| env | Environment to wrap. |
| push_prob | Probability of applying a push at each timestep. |
| push_generator | Function that generates the push force. It should return a 3D NumPy array. |