ETrobocon2017 - 片山研究所モデルベース開発推進事業部
RightNormalCourse.h
[詳解]
1 
7 #ifndef __RIGHTNORMALCOURSE__
8 #define __RIGHTNORMALCOURSE__
9 
10 #include "NormalCourse.h"
11 
15 enum struct RightStatus {
16  STRAIGHT,
18  CURVE_LEFT,
20  STOP
21 };
22 
27 public:
30 
35  bool runNormalCourse () ;
36 
43  bool statusCheck(int32_t countL, int32_t countR);
44 
49  int getStatus();
50 private:
51  RightStatus status;
52  RightStatus old_status;
53 };
54 
55 #endif
RightStatus