7 #ifndef __LEFTNORMALCOURSE__
8 #define __LEFTNORMALCOURSE__
41 bool runNormalCourse(int32_t countL, int32_t countR, int16_t light_value,
42 int16_t target_brightness);
64 const std::int16_t CALIBRATE_DISTANCE_L = 300;
65 const std::int16_t FIRST_STRAIGHT_DISTANCE_L = 2850;
66 const std::int16_t FIRST_CURVE_DISTANCE_L = 4950;
67 const std::int16_t SECOND_STRAIGHT_DISTANCE_L = 6600;
68 const std::int16_t SECOND_CURVE_DISTANCE_L = 7500;
69 const std::int16_t THIRD_STRAIGHT_DISTANCE_L = 7900;
70 const std::int16_t THIRD_CURVE_DISTANCE_L = 9600;
71 const std::int16_t FOURTH_STRAIGHT_DISTANCE_L = 12000;
bool runNormalCourse(int32_t countL, int32_t countR, int16_t light_value, int16_t target_brightness)
bool statusCheck(int32_t countL, int32_t countR)