|
upkie 10.0.0
Open-source wheeled biped robots
|
At each step, with a given probability, apply a random push to the robot. More...
Public Member Functions | |
| def | __init__ (self, gym.Env env, float push_prob=0.01, callable push_generator=lambda:np.random.normal(0, 400, 3)) |
| Initialize wrapper. More... | |
| def | step (self, action) |
| Adds a random push to the action. | |
Public Attributes | |
| env | |
| Wrapped environment. | |
| push_generator | |
| Function that generates the push force. More... | |
| push_prob | |
| Probability of pushing at each step. | |
At each step, with a given probability, apply a random push to the robot.