Closed
Description
In my understanding, the current computation of the steering angles (left vs. right) in the ackermann odometry is wrong.
Disclaimer
Unfortunately, I could not find documentation on the frames/sign convention used for that calc, so this is more a question than a bug report.
IMO, we need to change the signs in the current implementation
ros2_controllers/steering_controllers_library/src/steering_odometry.cpp
Lines 269 to 275 in 23f944f
to something like
double alpha_r = std::atan2(numerator, denominator_first_member + denominator_second_member);
double alpha_l = std::atan2(numerator, denominator_first_member - denominator_second_member);
Here is why (sorry for not providing a proper formatted document, hopefully somebody is able to read this ...)
Metadata
Metadata
Assignees
Labels
No labels