upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches
RandomPush Class Reference

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)
 

Public Attributes

 env
 Wrapped environment.
 
 push_prob
 Probability of pushing at each step.
 
 push_generator
 Function that generates the push force. More...
 

Detailed Description

At each step, with a given probability, apply a random push to the robot.


The documentation for this class was generated from the following file: