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

◆ __init__()

def __init__ (   self,
gym.Env  env,
float   push_prob = 0.01,
callable   push_generator = lambda: np.random.normal(0, 400, 3) 
)

Initialize wrapper.

Parameters
envEnvironment to wrap.
push_probProbability of applying a push at each timestep.
push_generatorFunction that generates the push force. It should return a 3D NumPy array.