ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Caught exception while loading: Character [-]

asked 2011-09-26 20:50:33 -0500

ZdenekM gravatar image

Hello,

today I made update of ROS (Ubuntu 11.04, ROS Electric from deb repo), run "roslaunch cob_bringup sim.launch" and then "rosrun rviz rviz", which gave me this error:

[ERROR] [1317112938.826534360, 19.093000000]: Caught exception while loading: Character [-] at element [4] is not valid in Graph Resource Name [cob3-3].  Valid characters are a-z, A-Z, 0-9, / and _.

Before update if worked fine. I'm using git version of cob_simulation stack (with env. variables ROBOT=cob3-2, ROBOT_ENV=ipa-kitchen, SIMX=-r).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-12-31 12:52:00 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I expect that some of the launch files are using the ROBOT environment variable in the node names to avoid name collisions.

A dash '-' is not a valid name for a node. This has always been the policy. I believe that in Electric the parser is now stricter about enforcing it.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-09-26 20:50:33 -0500

Seen: 2,378 times

Last updated: Dec 31 '11