upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ cycle()

virtual void cycle ( std::function< void(const moteus::Output &)>  callback)
pure virtual

Spin a new communication cycle.

Parameters
callbackFunction to call when the cycle is over.

The callback will be invoked from an arbitrary thread when the communication cycle has completed. All memory pointed to by data must remain valid until the callback is invoked.

Implemented in BulletInterface, MockInterface, and Pi3HatInterface.