LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Turn.h
1 #ifndef TURN_H_
2 #define TURN_H_
3 
4 #include "Routine.h"
5 
6 class Turn : public Routine
7 {
8 public:
9  Turn(double angle, double maxSpeed = 1.0, double errorThreshold = 0.5);
10 
11  virtual void Run();
12 
13  virtual bool Completed();
14 private:
15  double m_angle;
16  double m_maxSpeed;
17  double m_errorThreshold;
18 };
19 
20 #endif