mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-09-28 18:57:33 +00:00
Minor changes
This commit is contained in:
@@ -29,15 +29,16 @@ namespace sta
|
||||
lockoutTimer_.setCallback([](void *) { STA_DEBUG_PRINTLN("[LOCKOUT TIMEOUT]"); }, nullptr);
|
||||
lockoutTimer_.start(5000);
|
||||
|
||||
failsafeTimer_.setCallback([](void *) { STA_DEBUG_PRINTLN("[FAILSAFE TIMEOUT]"); }, nullptr);
|
||||
failsafeTimer_.setCallback([](void * arg) { STA_DEBUG_PRINTLN("[FAILSAFE TIMEOUT]"); }, nullptr);
|
||||
failsafeTimer_.start(10000);
|
||||
}
|
||||
|
||||
void Statemachine::func()
|
||||
{
|
||||
STA_DEBUG_PRINTLN("LOOPY LOOP IN STATEMACHINE.");
|
||||
STA_DEBUG_PRINTLN(lockoutTimer_.isRunning() ? "LOCKOUT RUNNING!" : "LOCKOUT STOPPED!");
|
||||
|
||||
osDelay(3000);
|
||||
osDelay(500);
|
||||
}
|
||||
|
||||
uint16_t Statemachine::getCurrentState() const
|
||||
|
Reference in New Issue
Block a user