|
upkie 10.0.0
Open-source wheeled biped robots
|
Backend that mimics perfect commands for testing. More...
Public Member Functions | |
| None | __init__ (self, str js_path="/dev/input/js0") |
| Initialize mock backend. More... | |
| None | close (self) |
| Close the mock backend (no-op). More... | |
| dict | reset (self, Optional[RobotState] init_state=None) |
| Reset the mock backend and get an initial observation. More... | |
| dict | step (self, dict action) |
| Apply action and step the mock backend. More... | |
| dict | get_spine_observation (self) |
| Get observation in spine format from mock backend. More... | |
Public Attributes | |
| joystick | |
| Joystick interface for writing mock observations, or None if no joystick device was found. | |
Backend that mimics perfect commands for testing.