"node name cannot contain namespace"
Hello
When I try to open a generated moveit_config (I also have an other question about this Issue on this forum) I get an error that says that a node name cannot contain a namespace. This is also said in the ROS wiki about nodes:
name="nodename" Node name. NOTE: name cannot contain a namespace. Use the ns attribute instead.
The node name is name="$(anon rviz)"
This is generated in every moveit config I have seen, so I don't know why this is suddenly a problem.
I also don't understand what the ns attribute is I have to use instead...
Kind Regards, Yannik
EDIT: this is the launch file what's causes the issue on my pc (it seems that it does work on other pc's)
<launch>
<arg name="debug" default="false" />
<arg unless="$(arg debug)" name="launch_prefix" value="" />
<arg if="$(arg debug)" name="launch_prefix" value="gdb --ex run --args" />
<arg name="config" default="false" />
<arg unless="$(arg config)" name="command_args" value="" />
<arg if="$(arg config)" name="command_args" value="-d $(find epson_moveit_config)/launch/moveit.rviz" />
<node name="$(anon rviz)" launch-prefix="$(arg launch_prefix)" pkg="rviz" type="rviz" respawn="false"
args="$(arg command_args)" output="screen">
<rosparam command="load" file="$(find epson_moveit_config)/config/kinematics.yaml"/>
</node>
</launch>
It doesn't look like that line is the one causing the problem. Can you add your full launch file to your question?
If this works on other machines, it's likely an issue with your machine. You may be able to get more debugging information by running roslaunch with -v
I checked the information now several times but I'm not really getting smarter from it. But I guess it's hard to help solving a problem with a machine from a distance. I think it's just really strange that it gives an error about the namespace but my pc causes it, could it be something I added to the ./bashrc?
Since you have working and non-working machines, I would compare the environment across both machines, and I would compare the output from roslaunch -v across machines. Feel free to add all of those to your question if you'd like a second set of eyes on them.