osrf / rosbook

Example code to accompany the book Programming Robots with ROS
Apache License 2.0
477 stars 238 forks source link

General "Custom Message" Issues #40

Closed JonarJr closed 6 years ago

JonarJr commented 6 years ago

I've created a basics package in my ROS kinetic that depends on rospy and actionlib_msgs, however, any code that has: from basics.msg import <insert msg name here> I get this issue:

ImportError: No module named basics.msg

Do you know what might be the case?

JonarJr commented 6 years ago

I got it, it's because of some issues in the package.xml and CMake file (different in Kinetic). I used the code from here and it works just fine.