nobleo / path_tracking_pid

Path Tracking PID offers a tuneable PID control loop, decouling steering and forward velocity
Apache License 2.0
129 stars 37 forks source link

Moved last visited pose index to find result. #139

Closed lewie-donckers closed 2 years ago

lewie-donckers commented 2 years ago

Next PR to fix #123

Moved the ControllerState::last_visited_pose_index data member to the return value of Controller::findPositionOnPlan(). It is only used between that function and its callers.