fix steering implementation

This commit is contained in:
2023-09-04 19:51:19 +02:00
parent 4e492fb10b
commit 319ae576ad
7 changed files with 75 additions and 73 deletions

View File

@ -105,8 +105,8 @@ void Factory_build() {
DRIVE_onRun(drive(), LED_on, l2());
DRIVE_onDead(drive(), LED_off, l2());
STEERING_onRun(drive(), LED_on, l3());
STEERING_onDead(drive(), LED_off, l3());
STEERING_onRun(steering(), LED_on, l3());
STEERING_onDead(steering(), LED_off, l3());
}
@ -118,6 +118,7 @@ void Factory_start() {
STEERING_startBehaviour(steering());
ALIVE_startBehaviourSender(ALcontroller());
ALIVE_startBehaviourChecker(ALjoy());
ALIVE_emitBorn(ALjoy(), 100, 0);
ALIVE_emitReady(ALjoy(), 200, 0);