2019-11-11 22:26:34 +01:00
|
|
|
#include <Arduino.h>
|
|
|
|
#include "data_source_bno055.h"
|
2019-11-18 14:42:43 +01:00
|
|
|
#include "data_source_ball.h"
|
2019-11-18 18:11:26 +01:00
|
|
|
#include "data_source_camera.h"
|
2019-11-25 17:30:47 +01:00
|
|
|
#include "data_source_us.h"
|
2019-11-11 22:26:34 +01:00
|
|
|
#include "motor.h"
|
2019-12-02 14:50:59 +01:00
|
|
|
#include "data_source_controller.h"
|
2019-11-11 22:26:34 +01:00
|
|
|
#include "drivecontroller.h"
|
|
|
|
|
|
|
|
#ifdef SENSORS_CPP
|
|
|
|
#define extr
|
|
|
|
#else
|
|
|
|
#define extr extern
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void initSensors();
|
|
|
|
void updateSensors();
|
|
|
|
|
2019-11-18 14:37:55 +01:00
|
|
|
extr DataSource* compass;
|
2019-11-18 14:42:43 +01:00
|
|
|
extr DataSource* ball;
|
2019-11-18 17:15:32 +01:00
|
|
|
extr DataSource* camera;
|
2019-12-02 14:50:59 +01:00
|
|
|
//extr DataSource* us;
|
|
|
|
extr DataSourceController* usCtrl;
|
2019-11-18 14:42:43 +01:00
|
|
|
extr DriveController* drive;
|