send alive before 0x604

This commit is contained in:
Rémi Heredero 2023-09-07 09:10:45 +02:00
parent 5da1775718
commit cc6a8fc39a
2 changed files with 2 additions and 4 deletions

View File

@ -302,8 +302,6 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){
DRIVE_startBehaviour(drive()); DRIVE_startBehaviour(drive());
STEERING_startBehaviour(steering()); STEERING_startBehaviour(steering());
ALIVE_startBehaviourSender(ALcontroller());
ALIVE_startBehaviourChecker(ALjoy()); ALIVE_startBehaviourChecker(ALjoy());
ALIVE_emitBorn(ALjoy(), 100, 0); ALIVE_emitBorn(ALjoy(), 100, 0);
ALIVE_emitReady(ALjoy(), 200, 0); ALIVE_emitReady(ALjoy(), 200, 0);

View File

@ -72,12 +72,12 @@ void Factory_build() {
//start all state machines //start all state machines
void Factory_start() { void Factory_start() {
CAN_startBehaviour(); CAN_startBehaviour();
ALIVE_startBehaviourSender(ALcontroller());
/* /*
DRIVE_startBehaviour(drive()); DRIVE_startBehaviour(drive());
STEERING_startBehaviour(steering()); STEERING_startBehaviour(steering());
ALIVE_startBehaviourSender(ALcontroller());
ALIVE_startBehaviourChecker(ALjoy()); ALIVE_startBehaviourChecker(ALjoy());
ALIVE_emitBorn(ALjoy(), 100, 0); ALIVE_emitBorn(ALjoy(), 100, 0);
ALIVE_emitReady(ALjoy(), 200, 0); ALIVE_emitReady(ALjoy(), 200, 0);