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

18 lines
348 B
C
Raw Normal View History

#pragma once
#define BALL_PRESENCE_TRESH 500
#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;
};