mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
feat(state-via-can): state transitions via can are forced to resync state across devices
This commit is contained in:
@@ -42,10 +42,11 @@ namespace sta
|
||||
* @param from The start we want to transition from.
|
||||
* @param to The state we want to transition to.
|
||||
* @param lockout An optional timer blocking state transition for a given time.
|
||||
* @param force If true, the state transition will be executed regardless of the current state.
|
||||
*
|
||||
* @ingroup tacos_api
|
||||
*/
|
||||
void setState(uint32_t from, uint32_t to, uint32_t lockout = 0);
|
||||
void setState(uint32_t from, uint32_t to, uint32_t lockout = 0, bool force = false);
|
||||
|
||||
/**
|
||||
* @brief Request a state transition after a given time has passed. Invalid state transitions will be dismissed.
|
||||
|
Reference in New Issue
Block a user