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

14 lines
309 B
C
Raw Normal View History

2019-11-18 18:11:26 +01:00
#pragma once
2019-11-18 14:42:43 +01:00
#include "data_source.h"
class DataSourceBall : public DataSource{
public:
DataSourceBall(HardwareSerial* ser, int baud);
2019-11-18 14:42:43 +01:00
void postProcess() override;
void test() override;
2019-11-25 17:30:47 +01:00
2019-12-02 17:25:22 +01:00
int angle, distance;
2019-11-18 14:42:43 +01:00
bool ballSeen;
2020-01-22 18:51:30 +01:00
int dir, degrees2,b;
2019-11-27 17:17:18 +01:00
};