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

◆ reset()

Tuple[np.ndarray, Dict] reset (   self,
*Optional[int]   seed = None,
Optional[dict]   options = None 
)

Resets the environment and get an initial observation.

Parameters
seedNumber used to initialize the environment’s internal random number generator.
optionsCurrently unused.
Returns
  • observation: Initial vectorized observation, i.e. an element of the environment's observation_space.
  • info: Dictionary with auxiliary diagnostic information. For Upkie this is the full observation dictionary sent by the spine.