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:
@@ -162,8 +162,9 @@ namespace sta
|
||||
* @param from The state which we want to leave. This is used to filter out obsolete transitions.
|
||||
* @param to The state to transition to.
|
||||
* @param lockout The minimum number of milliseconds we expect to stay in this state. This is used to block premature transitions.
|
||||
* @param force If true, the state transition will be executed regardless of the current state.
|
||||
*/
|
||||
void requestStateTransition(uint32_t from, uint32_t to, uint32_t lockout = 0);
|
||||
void requestStateTransition(uint32_t from, uint32_t to, uint32_t lockout = 0, bool force = false);
|
||||
|
||||
/**
|
||||
* @brief Request a state transition after a given time has passed.
|
||||
|
Reference in New Issue
Block a user