nobleo / path_tracking_pid

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

Const locals when possible. #60

Closed lewie-donckers closed 2 years ago

lewie-donckers commented 2 years ago

Made local variables const if possible.

See https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#con4-use-const-to-define-objects-with-values-that-do-not-change-after-construction