4 sl(left_degree, right_degree, isSave){
13 if((_start_x == _goal_x) && (_start_y == _goal_y)){
48 if(isBack ==
true)minus = -1;
49 sl.
update(left_degree, right_degree);
60 sl.
update(left_degree, right_degree);
void isLeftsideLine(bool b)
float getDiffLine(float, float)
bool calculateValue(std::int32_t, std::int32_t, bool)
bool calculateAngle(std::int32_t, std::int32_t, bool)
std::int32_t calculateSpeedForPid(std::int32_t curAngleL, std::int32_t curAngleR)
std::int8_t calculateTurnForPid(std::int8_t forward, std::int8_t light_value)
void setPid(double _p_gain, double _i_gain, double _d_gain, double _target)
void update(std::int32_t left_motor_sl, std::int32_t right_motor_sl)
void calculate_line_angle(bool)
2点間を結ぶ仮想直線をライントレースするクラスのヘッダファイル
float calculate_between_ev3_and_border(float _start_x, float _start_y, float _goal_x, float _goal_y, float _current_x, float _current_y)
void calculate_current_angle()
bool setLine(float, float, float, float)
SpeedControl speedControl
Navigation(std::int32_t, std::int32_t, bool isSave=true)