Writing a simple node in rospy is probably the fastest way to get this done. The Husky driver itself doesn't have any position inputs, but it does publish a standard odometry topic which you can subscribe to to check an estimate of distance traveled purely based on encoders.
Originally posted by Ryan with karma: 3248 on 2015-06-24
This answer was ACCEPTED on the original site
Post score: 1
Original comments
Comment by nemesis on 2015-06-29:
Thank you. Using this reference I am trying to get this done at the moment and will update accordingly. But is there any specific reason why you didn't allow for position in
Comment by Ryan on 2015-06-30:
The skid-steer/off-road nature of the platform means that ded-reckoned turns can't be performed with any accuracy whatsoever. As well, since the majority of users wrap some kind of high-level autonomy around it, we didn't want to add a feature which would go unused at best and confuse users at worst
Comment by nemesis on 2015-07-10:
Aah okay. Thank you! And I created a node instead which basically just moves the robot forward for couple of seconds using the geometry_msgs/Twist for now. It's working properly. Will check out the odometry topic too later. Thanks!