SPQR-Team1-2020/include/sensors/data_source_ball.h

13 lines
298 B
C++

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