SPQR-Team-2019-REVAMPED/src/main.cpp

24 lines
327 B
C++
Raw Normal View History

2019-10-09 14:59:27 +02:00
#include <Arduino.h>
2019-10-21 08:57:58 +02:00
#include "vars.h"
#include "data_source_bno055.h"
#include "drivecontroller.h"
#include "sensors.h"
2019-10-09 14:59:27 +02:00
2019-10-09 14:59:27 +02:00
void setup() {
delay(500);
2019-11-18 14:37:55 +01:00
DEBUG.begin(9600);
initSensors();
delay(2000);
2019-10-09 14:59:27 +02:00
}
void loop() {
updateSensors();
drive->prepareDrive(0,0,0);
linesCtrl->update();
drive->drivePrepared();
}