You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure that the diff drive plugin is getting the desired left and right wheel velocities backward when converting from vr and va. Here's the code:
wheel_speed_[LEFT] = vr + va * wheel_separation_ / 2.0;
wheel_speed_[RIGHT] = vr - va * wheel_separation_ / 2.0;
A positive va should induce counter-clockwise rotation, which requires the right wheel velocity to be larger than the left wheel velocity. With the above code, we'll get the opposite.
Anecdotal support for this being a bug is provided by the Gazebo tutorial example, in which the left and right joints are swapped, presumably in an effort to work around the problem.
The text was updated successfully, but these errors were encountered:
I'm pretty sure that the diff drive plugin is getting the desired left and right wheel velocities backward when converting from vr and va. Here's the code:
A positive va should induce counter-clockwise rotation, which requires the right wheel velocity to be larger than the left wheel velocity. With the above code, we'll get the opposite.
Anecdotal support for this being a bug is provided by the Gazebo tutorial example, in which the left and right joints are swapped, presumably in an effort to work around the problem.
The text was updated successfully, but these errors were encountered: