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

◆ __init__()

def __init__ (   self,
  env,
np.ndarray  min_derivative,
np.ndarray  max_derivative,
float   action_penalty = 0.0 
)

Initialize wrapper.

Parameters
envEnvironment to wrap.
min_derivativeLower bound on the derivative of the original action.
max_derivativeUpper bound on the derivative of the original action.
action_penaltyWeight for an additional penalty on the differential action added to the reward.
Note
We assume the original action lives in a vector space.