ImportError: No module named msg

asked 2018-10-04 00:29:16 -0500

hamada gravatar image

I get an error on the title. So I want you to help me

I made custom messages accordingly http://wiki.ros.org/en/ROS/Tutorials/... However, an error has occurred and custom messages can not be used. myworspace / devel / lib / python 2.7 / dist-packages / myros / msg There was msg that I made (_Mymsg.py). I started python from the command line and executed the following. from myros.msg import mymsg This has succeeded However after running catkin_make, running it with rosrun will result in an error. I want advice

edit retag flag offensive close merge delete

Comments

3

Have you correctly modified your CMakeLists.txt and package.xml ? If you can edit your question to add those files it could help us. Also if you want to check if your message has been correctly created you should find it in the list of the command : rosmsg list

Delb gravatar image Delb  ( 2018-10-04 01:03:30 -0500 )edit