ros_controllers icon indicating copy to clipboard operation
ros_controllers copied to clipboard

URDF-lookup in diffdrive-controller should lookup relative positions

Open MCFurry opened this issue 2 years ago • 0 comments

The diffdrive controller tries to get the wheel separation by looking up the joints in the URDF. This is a nice feature! But it assumes that the joints are directly attached to base_link (or at least a common link): source

In a lot of our cases this is not true and they each have a unique parent link and thus the lookup gives wrong results.

Wouldn't it be better to simply lookup the relative distance between the two joints instead?

MCFurry avatar Aug 17 '21 08:08 MCFurry