-
Notifications
You must be signed in to change notification settings - Fork 775
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
velocity got from /joint_states is wrong? #830
Comments
Any updates on this? I have also noticed there is an offset in the published velocities in Gazebo 9. |
Hi @itfanr @sahandrez I think we are also seeing errors in rotational velocity since upgrading from Gazebo7 to Gazebo9. @itfanr it is a bit difficult to understand your post (above). |
@dbworth I donot have the image and the code now. Sorry about that. |
I think that we encounter a similar issue. I described it in answers.gazebosim.org: In our case, the joint velocity and joint effort readings as well as the values from the FT sensor plugin are off close to singularities. |
In case anyone wants to debug this, I'll post the code path for hinge joints: This uses difference of So it really seems the velocities are a result of the physics computation. Now the question is why. |
With
hardware_interface/EffortJointInterface
and gazebo7, I published the effort commands as follows:And I subscribed /joint_states and plot position and velocity line:
The line I got is:
But It seems the velocity is not currect. I caculated the velocity and got this:
Are there some error with these codes:
The text was updated successfully, but these errors were encountered: