|
upkie 10.0.0
Open-source wheeled biped robots
|
Mock spine interface for testing Upkie environments. More...
Public Member Functions | |
| def | __init__ (self) |
| Initialize the MockSpine. More... | |
| dict | start (self, dict config) |
| Start the mock spine. More... | |
| None | stop (self) |
| Stop the mock spine. More... | |
| dict | set_action (self, dict action) |
| Set an action and get the next observation. More... | |
Public Attributes | |
| action | |
| Action dictionary. | |
| observation | |
| Observation dictionary. | |
Mock spine interface for testing Upkie environments.
This class simulates the behavior of a real spine interface without requiring actual hardware or external processes. It provides mock observations and handles actions for testing purposes.