SPQR-Team-2019-REVAMPED/include/sensors.h

20 lines
345 B
C

#include <Arduino.h>
#include "data_source_bno055.h"
#include "data_source_ball.h"
#include "motor.h"
#include "drivecontroller.h"
#ifdef SENSORS_CPP
#define extr
#else
#define extr extern
#endif
void initSensors();
void updateSensors();
extr DataSource* compass;
extr DataSource* ball;
extr DataSource* camera;
extr DriveController* drive;