upkie 9.0.1
Open-source wheeled biped robots
Loading...
Searching...
No Matches
ConstantObservationEnv Class Reference

Test environment that returns a constant observation. More...

Public Member Functions

def __init__ (self, float constant)
 Initialize the ConstantObservationEnv. More...
 
def step (self, action)
 Step the environment by returning a constant observation. More...
 
dict get_bullet_action (self)
 Get the stored PyBullet action. More...
 
None set_bullet_action (self, dict bullet_action)
 Set the PyBullet action to be stored. More...
 

Public Attributes

 action_space
 Action space.
 
 observation_space
 Observation space.
 
 constant
 Internal constant.
 

Detailed Description

Test environment that returns a constant observation.

This environment always returns the same observation value regardless of the action taken. It also stores PyBullet actions for testing purposes.


The documentation for this class was generated from the following file: