Skip to content
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

Angular velocity offset when using differential drive plugin with odometry source "world" #327

Open
AlexReimann opened this issue May 26, 2015 · 4 comments

Comments

@AlexReimann
Copy link

If the parameter odometrySource is set to world (default, and also the example on the gazebo website), you sometimes get an proportional offset between the angular velocity command and the published angular velocity (odom).
As shown in this video it jumps at a certain angular velocity. On a different setup we also experience having the proportional offset all the time.

Maybe related

This only happen for angular velocity when using the odometrySource world. If using the odometrySource source encoder you get an offset between odom and the command for the linear velocity.

Using indigo with gazebo 2.2.5

fyi @bit-pirate

@AlexReimann
Copy link
Author

Updated: Added that the same bug happens to linear velocity when using the other odometry source.

This is / was quite frustrating ._.

@AlexReimann
Copy link
Author

Branch with hack on which the odometry source setting encoder works: branch
The dodgy commit.
I strongly discourage people from using this, as I don't actually know what the problem in the code really is (just made a copy & paste and seemed to work). I'm leaving this here to help anybody who wants to look into this

@AlexReimann
Copy link
Author

Maybe related:
I get random spikes for angular velocity from odom using encoder as odometry source. It is not dropping down to zero but even sometimes going negative as can be seen here at around 0:06. The azure (blue) colored line is the angular velocity.

@maxbader
Copy link
Contributor

maxbader commented Jun 3, 2015

hello AlexReimann

I wrote the encoder odometry part of that driver. Currently I am busy but I will get back to it.
Thanks for sharing your problem and batches.

Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants