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

24 lines
375 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() {
2019-11-18 14:37:55 +01:00
delay(1000);
2019-10-21 08:57:58 +02:00
DEBUG_PRINT.begin(9600);
2019-11-18 14:37:55 +01:00
initSensors();
2019-10-09 14:59:27 +02:00
}
void loop() {
updateSensors();
//should recenter using predefined values
2019-11-18 14:42:43 +01:00
// drive->drive(0, 0, 0);
2019-11-18 18:11:26 +01:00
//compass->test();
2019-11-25 17:30:47 +01:00
//camera->test();
us->test();
2019-11-18 18:11:26 +01:00
delay(100);
2019-10-09 14:59:27 +02:00
}