SPQR-Team1-2020/include/data_source_ball.h

14 lines
309 B
C++
Executable File

#pragma once
#include "data_source.h"
class DataSourceBall : public DataSource{
public:
DataSourceBall(HardwareSerial* ser, int baud);
void postProcess() override;
void test() override;
int angle, distance;
bool ballSeen;
int dir, degrees2,b;
};