upkie 9.0.1
Open-source wheeled biped robots
|
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. | |
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.