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 distSquared and added tests. #130

Closed lewie-donckers closed 2 years ago

lewie-donckers commented 2 years ago

Partial fix for #122 .

Moved distSquared() from the anonymous namespace in controller.cpp to calculations.hpp/cpp and added unit tests.