1 #ifndef LIBR2C2_SIMPLECONTROLLER_H_
2 #define LIBR2C2_SIMPLECONTROLLER_H_
5 #include "controller.h"
9 class SimpleController: public Controller
20 virtual const char *enumerate_controls(unsigned) const;
21 virtual void set_control(const std::string &, float);
22 virtual const Control &get_control(const std::string &) const;
24 virtual float get_speed() const { return speed; }
25 virtual bool get_reverse() const { return reverse.value; }
26 virtual float get_braking_distance() const;
28 virtual void tick(const Msp::Time::TimeDelta &);