-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odomentry not properly working with ackermann steering #937
Comments
I'm trying to reproduce your error but when I launch everything I don't have odom fixed frame in Rviz. But the odometry topic is published. Is there some param to set to enable odometry in the controller settings? |
This: #762 (comment) solved the issue of the odometry frame for me |
I've the same odometry issue with ackermann kinematics: linear motion is ok, wrong with steering. I've (probably) found the bug. In the method: The line 139: Should be: The same issue is present in the other update_from_position() methods. |
We noticed similar issues with the outputted odometry, I believe this is the correct fix for all: |
Describe the bug
The odometry is fine when the vehicle moves foward/backwards, but is wrong when steering. My issue seems similar to this one #933
To Reproduce
This is my yaml file:
`controller_manager:
ros__parameters:
update_rate: 30
use_sim_time: true
ackermann_steering_controller:
ros__parameters:
publish_rate: 50.0
forks_controller:
ros__parameters:
joints:
- forks_joint`
Screenshots
Here is a video that shows what happens. The odometry seems fine when doing straight movements, but not when steering.
Screencast.from.20-12-23.14.48.27.webm
Is there a solution?
The text was updated successfully, but these errors were encountered: