QUT-Motorsport / QUTMS_Driverless

Welcome to the QUTMS Driverless team repository, used to develop perception, planning and control pipelines in ROS2 for a driverless FSAE racecar
MIT License
45 stars 5 forks source link

Pure pursuit cpp update #273

Closed supex0fan closed 1 year ago

supex0fan commented 1 year ago

What type of PR is this? (check all applicable)

Refactor.

Description

Copying improvements @Grant-ed made to the python pure pursuit implementation over to the C++ implementation. Also using the new state system.

Documentation

N/a

Usability concerns or breaking changes?

For some reason, the lookahead distance of 6.0 used in the Grant's PR doesn't work with the C++, or the KDTree implementation, the car cuts corners and hits cones.