upkie 9.0.0
Open-source wheeled biped robots
|
def __init__ | ( | self, | |
env, | |||
Union[float, gym.spaces.Box] | time_constant | ||
) |
Initialize wrapper.
env | Environment to wrap. |
time_constant | Cutoff 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. |