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

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.
 

Detailed Description

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.


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