ethz-asl / vicon_bridge

This is a driver providing data from VICON motion capture systems. It is based on the vicon_mocap package from the starmac stacks. Additionally, it can handle multiple subjects / segments and allows to calibrate an origin of the vehicle(s) as this is somehow tedious with the VICON Tracker.
Other
92 stars 102 forks source link

empty character cannot be handled #18

Closed akrv closed 6 years ago

akrv commented 6 years ago

When vicon bridge is installed and the lauch file is started with correct host:port combo. it starts but since one of the rigid body is "Paket2 ", the node crashes.

[ INFO] [1513782445.900415816]: creating new object Paket2 /Paket2 ... terminate called after throwing an instance of 'ros::InvalidNameException' what(): Character [ ] at element [12] is not valid in Graph Resource Name [vicon/Paket2 /Paket2]. Valid characters are a-z, A-Z, 0-9, / and _.

helenol commented 6 years ago

Don't use spaces in your rigid body names?

akrv commented 6 years ago

~~is there a config to accept/ignore certain expressions to be loaded from the datastream API? (anything Paket, only rb1_base etc?)~~

helenol commented 6 years ago

Hahaha sorry, I feel like a jerk now; didn't get that it was a character being added from your original issue. Weird that it's getting added, since we've never seen this issue before but yes there's no workaround other than ignore it or strip the character out.

As an aside, we have mostly transitioned to using the vrpn client in our lab: https://github.com/ethz-asl/ros_vrpn_client Which is more maintained/will hopefully have fewer issues.