10 sl(walker.get_count_L(), walker.get_count_R(), true),
11 navi(walker.get_count_L(), walker.get_count_R()) {
45 msg_f(
"Finished NormalArea", 3);
49 msg_f(
"Finished BlockRange", 3);
53 msg_f(
"Finished ParallelParking", 3);
74 if(ev3_button_is_pressed(BACK_BUTTON)){
84 bool isEndAngle =
false;
86 if(_isBack ==
true)minus = -1;
91 navi.
setLine(_start_x, _start_y, _goal_x, _goal_y);
105 if(ev3_button_is_pressed(BACK_BUTTON)){
114 ev3_speaker_play_tone (NOTE_FS6, 100);
void setFirstCode(int32_t)
float getDiffLine(float, float)
void wrapper_of_constructor(double _p_gain, double _i_gain, double _d_gain, double _diff, double _integral, double _target, double _output)
bool calculateValue(std::int32_t, std::int32_t, bool)
void init_normal_vector(float _start_x, float _start_y, float _goal_x, float _goal_y, float _current_x, float _current_y)
void runTyokusen(float, float, float, float, bool)
bool runNormalCourse(int32_t countL, int32_t countR, int8_t light_value)
bool calculateAngle(std::int32_t, std::int32_t, bool)
bool statusCheck(int32_t countL, int32_t countR)
void update(std::int32_t left_motor_sl, std::int32_t right_motor_sl)
void calculate_line_angle(bool)
LineTracerWalker lineTracerWalker
void msg_f(const char *str, int32_t line)
int8_t getBrightness(void) const
bool setLine(float, float, float, float)
bool is_over_normal_vector(float _current_x, float _current_y)
void runParallelParking()
void run(int8_t pwm, int8_t turn)
SpeedControl speedControl