diff --git a/306-controller_interface.X/app/can_message.c b/306-controller_interface.X/app/can_message.c index f4ea129..789ec16 100644 --- a/306-controller_interface.X/app/can_message.c +++ b/306-controller_interface.X/app/can_message.c @@ -302,8 +302,6 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){ DRIVE_startBehaviour(drive()); STEERING_startBehaviour(steering()); - ALIVE_startBehaviourSender(ALcontroller()); - ALIVE_startBehaviourChecker(ALjoy()); ALIVE_emitBorn(ALjoy(), 100, 0); ALIVE_emitReady(ALjoy(), 200, 0); diff --git a/306-controller_interface.X/app/factory/factory.c b/306-controller_interface.X/app/factory/factory.c index 4e92ebb..bc0d6db 100644 --- a/306-controller_interface.X/app/factory/factory.c +++ b/306-controller_interface.X/app/factory/factory.c @@ -72,12 +72,12 @@ void Factory_build() { //start all state machines void Factory_start() { CAN_startBehaviour(); + ALIVE_startBehaviourSender(ALcontroller()); + /* DRIVE_startBehaviour(drive()); STEERING_startBehaviour(steering()); - ALIVE_startBehaviourSender(ALcontroller()); - ALIVE_startBehaviourChecker(ALjoy()); ALIVE_emitBorn(ALjoy(), 100, 0); ALIVE_emitReady(ALjoy(), 200, 0);