SPQR-Team-2019-REVAMPED/include/sensors/data_source_ball_presence.h

18 lines
348 B
C++

#pragma once
#define BALL_PRESENCE_TRESH 600
#include <Arduino.h>
#include "behaviour_control/data_source.h"
class DataSourceBallPresence : public DataSource{
public:
DataSourceBallPresence(int, bool);
void postProcess() override;
void test() override;
bool isInMouth();
public:
bool present;
};