SPQR-Team1-2020/include/sensors.h

38 lines
775 B
C
Raw Normal View History

#pragma once
#ifdef SENSORS_CPP
#define s_extr
#else
#define s_extr extern
#endif
#include <Arduino.h>
#include "data_source_bno055.h"
2019-11-18 14:42:43 +01:00
#include "data_source_ball.h"
#include "data_source_camera_conicmirror.h"
#include "data_source_camera_vshapedmirror.h"
2019-11-25 17:30:47 +01:00
#include "data_source_us.h"
#include "motor.h"
#include "ds_ctrl.h"
#include "drivecontroller.h"
2019-12-11 16:29:18 +01:00
#include "data_source_bt.h"
2019-12-26 17:44:58 +01:00
#include "systems.h"
#include "linesys_2019.h"
#include "positionsys_zone.h"
void initSensors();
void updateSensors();
s_extr vector<DataSource*> dUs;
2019-12-05 11:57:18 +01:00
2019-12-20 10:33:11 +01:00
s_extr DataSourceCtrl* usCtrl;
2019-12-26 17:44:58 +01:00
s_extr LineSys2019* linesCtrl;
2019-12-05 11:57:18 +01:00
s_extr DataSourceBNO055* compass;
s_extr DataSourceBall* ball;
s_extr DataSourceCameraConic* camera;
s_extr DriveController* drive;
2019-12-11 16:29:18 +01:00
s_extr DataSourceBT* bt;
s_extr int role;