leonard-lab / dcslROS

Source code for Miabot and Beluga ROS System
2 stars 1 forks source link

Low Level Control not robust to wrong array size from state estimate #11

Closed BrendanAndrade closed 11 years ago

BrendanAndrade commented 11 years ago

Low level control crashes if the wrong number of poses is sent from the state estimator. It should throw a warning or error and continues to function without crashing.

illscott commented 11 years ago

Added guards to check size of incoming array messages, with error message sent to ROS_ERROR when size does not match numRobots.

Still to do: add similar size checking scheme in state estimator node.

illscott commented 11 years ago

fixed in estimator too