Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (26 sloc) 826 Bytes
* This ThoughtProcess is responsible for controlling the robot
* as it attempts the complete the Proximity alert challenge
* Currently we make use of the VL6180 sensor for range detection.
#include "ThoughtProcess.h"
namespace PiWars {
class SensorVL6180;
class ThoughtProcess_Proximity : public ThoughtProcess {
ThoughtProcess_Proximity(PiWars *robot);
// Implementation of the virtual APIs
const std::string &name();
bool available();
bool prepare();
void run(std::atomic<bool> &running);
SensorVL6180 *_vl6180; //<! We use a VL6180 for range detection
You can’t perform that action at this time.