FleetRobotics / khan_robot

Basic ROS description for the Kinematic Helper and Autonomous Navigator (K.H.A.N.)
BSD 3-Clause "New" or "Revised" License
3 stars 6 forks source link

Protect indices #15

Closed jasedit closed 8 years ago

jasedit commented 8 years ago

In testing that odometry data is being published, found a case in which malformed JointState messages for encoder data could cause the hardware interface to crash. This pull request fixes it.

This also allows not sending velocity estimates of the encoder data, and allowing higher level estimators generate the velocity estimate. Simplifies the allowable implementation.