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

Revision history [back]

click to hide/show revision 1
initial version

The important line from this error is:

"/opt/ros/electric/ros_comm/tools/roslaunch/src/roslaunch/server.py", line 70, in <module> from rosgraph_msgs.msg import Log ImportError: No module named rosgraph_msgs.msg

This means it cannot find the msg module in the rosgraph_msg pkg or it cannot find the rosgraph_msg pkg.

It could be that your environment was not setup correctly, but looking at your feedback to my comment above that doesn't seem to be the problem.

Additionally, it could be that rosgraph_msgs is not built, try running rosmake rosgraph_msgs and then try using roslaunch again. If rosgraph_msgs wasn't built you might have had other issues, make sure you can run rosmake ros ros_comm without failure. This will ensure that everything has been built and generated successfully.