18 lines
348 B
C++
18 lines
348 B
C++
#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;
|
|
}; |