in str/apps/src/LeftNormalCourse.cpp [76:92]
bool LeftNormalCourse::statusCheck(int32_t countL, int32_t countR){
distanse_total = distance.getDistanceTotal(countL, countR);
old_status = status;
if(distanse_total < 2740)status = LeftStatus::STRAIGHT;
else if(distanse_total < 3240)status = LeftStatus::STRAIGHT_SLOW;
else if(distanse_total < 5200)status = LeftStatus::CURVE_RIGHT;
else if(distanse_total < 7500)status = LeftStatus::CURVE_LEFT_SHORT;
else if(distanse_total < 11000)status = LeftStatus::CURVE_LEFT;
else if(distanse_total < 12200)status = LeftStatus::CURVE_RIGHT;
else if(distanse_total < 14750)status = LeftStatus::NEUTRAL;
else status = LeftStatus::EDGE_CHANGE;
if(isChangedEdge){
status = LeftStatus::STOP;
}
if(old_status != status) return true;
return false;
}