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

◆ __init__()

def __init__ (   self,
  env,
Union[float, gym.spaces.Box]  time_constant 
)

Initialize wrapper.

Parameters
envEnvironment to wrap.
time_constantCutoff period in seconds of the low-pass filter applied to the action. If a Box is provided, couple of lower and upper bounds for the action: a new time constant is sampled uniformly at random between these bounds at every reset of the environment.