mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-12 01:25:59 +00:00
Minor changes
This commit is contained in:
parent
73bf55a0b4
commit
8086b2d8e5
@ -31,5 +31,6 @@
|
|||||||
// Settings for TACOS
|
// Settings for TACOS
|
||||||
#define STA_TACOS_MANAGER_PRIORITY osPriorityNormal
|
#define STA_TACOS_MANAGER_PRIORITY osPriorityNormal
|
||||||
#define STA_TACOS_NUM_STATES 4
|
#define STA_TACOS_NUM_STATES 4
|
||||||
|
#define STA_TACOS_INITIAL_STATE 0
|
||||||
|
|
||||||
#endif /* INC_STA_CONFIG_HPP_ */
|
#endif /* INC_STA_CONFIG_HPP_ */
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2948c9203e44a5126e6a0067522698964f0ee7c4
|
Subproject commit 6d444e7cfc2c8e9597270a42db46afe1066093d0
|
@ -1 +1 @@
|
|||||||
Subproject commit 4dc625f6e9ebe8db0fc795719a26ee900425b49a
|
Subproject commit 1498bcc449bd1c0756aaa1b1e33251288091f9ab
|
@ -29,15 +29,16 @@ namespace sta
|
|||||||
lockoutTimer_.setCallback([](void *) { STA_DEBUG_PRINTLN("[LOCKOUT TIMEOUT]"); }, nullptr);
|
lockoutTimer_.setCallback([](void *) { STA_DEBUG_PRINTLN("[LOCKOUT TIMEOUT]"); }, nullptr);
|
||||||
lockoutTimer_.start(5000);
|
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);
|
failsafeTimer_.start(10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Statemachine::func()
|
void Statemachine::func()
|
||||||
{
|
{
|
||||||
STA_DEBUG_PRINTLN("LOOPY LOOP IN STATEMACHINE.");
|
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
|
uint16_t Statemachine::getCurrentState() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user