-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaointerface.h
42 lines (30 loc) · 861 Bytes
/
naointerface.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef NAOINTERFACE_H
#define NAOINTERFACE_H
#include "core/vision/balldetector.h"
#include <alcommon/almodule.h>
namespace AL
{
// This is a forward declaration of AL:ALBroker which
// avoids including <alcommon/albroker.h> in this header
class ALBroker;
}
namespace IAL
{
class NaoInterface : public AL::ALModule
{
public:
NaoInterface(boost::shared_ptr<AL::ALBroker> broker,
const std::string &name);
virtual ~NaoInterface();
virtual void init();
// Starts/stops ball detection
void startBallDetection(const bool & trackingOn = false);
void stopBallDetection();
// Starts/stops ball tracking
void startBallTracking();
void stopBallTracking();
private:
BallDetector * mBallDetector;
};
}
#endif // NAOINTERFACE_H