I've created my own message type, and have a C++ program generating messages. When I attempt to listen to the messages using
rostopic echo, I get the following message.
ERROR: Cannot load message class for [mocap_msgs/LocalMocapFrame]. Are your messages built?
My messages are built and compiled. Why do I still get this error message?
Are you sure that rostopic is running with the same ROS_PACKAGE_PATH and that the messages are built correctly? A quick test:
#!/usr/bin/env python import roslib roslib.load_manifest('mocap_msgs') import mocap_msgs.msg print mocap_msgs.msg.LocalMocapFrame
Asked: 2011-08-14 14:10:08 -0500
Seen: 424 times
Last updated: Aug 15 '11