pal-robotics / play_motion

A tool to play pre-recorded motions on a robot using ros_control
9 stars 23 forks source link

Dies when a motion name contains invalid characters #6

Closed po1 closed 10 years ago

po1 commented 10 years ago

play_motion died with the following error after trying to play a motion with a ; in its name (which was obviously a mistake)

terminate called after throwing an instance of 'ros::InvalidNameException'
  what():  Character [;] at element [13] is not valid in Graph Resource Name [motions/hold_;ady/joints].  Valid characters are a-z, A-Z, 0-9, / and _.
[play_motion-9] process has died

It need to catch the ros::InvalidNameException