ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

differential_drive base_width

asked 2019-06-04 18:22:57 -0600

billqd gravatar image

Where exactly should the measurement for base width start and stop for the differential_drive twist_to_motors and diff_tf param? Should it be the inside, middle, or outside of the tires? My wheels are about 10 cm wide so there's a decent difference between these numbers. Wondering if anyone has a definitive answer. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-04 19:40:05 -0600

Geoff gravatar image

The differential_drive package implements a simple, generic differential drive model. What the width between the wheels should be in this model depends on what shape your wheels are in cross-section. In other words, you want to provide the distance between the points on the wheel that will most often be in contact with the ground.

  • The most common case is wheels that are symmetric, e.g. common caster wheels and car tyres. In this case, the wheel may be slightly rounded, so you can use the middle of the wheel as the point to measure from, or it may be flat, in which case the middle provides a good average.
  • The wheel may be assymmetric, such as a wheel that is cambered in some way to give nice cornering. (I think this type of wheel is unlikely in a differential drive system, but it's not inconceivable.) Think of a wheel shaped like a cone. You would then measure from the wide part of the cone because that is the part that is most often in touch with the ground.

Because you said your wheels are 10 cm wide, I'm guessing that they are thick, relatively flat tyres, so measure from the centre.

edit flag offensive delete link more

Comments

Thanks. That's what I was looking for

billqd gravatar image billqd  ( 2019-06-04 19:48:41 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-06-04 18:22:57 -0600

Seen: 314 times

Last updated: Jun 04 '19