diff --git a/include/ds_ctrl_lines.h b/include/ds_ctrl_lines.h index 2967f15..bf8330e 100755 --- a/include/ds_ctrl_lines.h +++ b/include/ds_ctrl_lines.h @@ -16,7 +16,7 @@ #define LINE_THRESH 90 #define EXTIME 100 -class DSCtrlLines : public DataSourceCtrl { +class DSCtrlLines : public DataSourceCtrl{ public: DSCtrlLines(); diff --git a/include/line_system.h b/include/line_system.h new file mode 100644 index 0000000..0f94b68 --- /dev/null +++ b/include/line_system.h @@ -0,0 +1,11 @@ +#pragma once +#include "ds_ctrl_lines.h" +#include "games.h" +#include "game.h" + +class LineSystem : public DSCtrlLines{ + public: + LineSystem(DSCtrlLines* method, Game* strategy); + virtual void update() = 0; + virtual void test() = 0; +}; \ No newline at end of file diff --git a/include/sensors.h b/include/sensors.h index 9907900..91251bd 100755 --- a/include/sensors.h +++ b/include/sensors.h @@ -25,7 +25,7 @@ s_extr vector lIn; s_extr vector lOut; s_extr vector dUs; -s_extr DSCtrlLines* usCtrl; +s_extr DataSourceCtrl* usCtrl; s_extr DSCtrlLines* linesCtrl; s_extr DataSourceBNO055* compass;