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

rostopic could not get message class, but rosmsg shows msg

asked 2013-12-10 10:15:01 -0600

csherstan gravatar image

updated 2013-12-10 10:20:39 -0600

I have a custom message /adc_interface/EMGSignal. If I run rosmsg show EMGSignal it displays the message correctly. However, if I try to run rostopic echo /adc_interface/EMGSignals I get:

ERROR: Cannot load message class for [adc_interface/EMGSignal]. Are your messages built?

I also get a similar error when trying to use rqt_plot.

The message has been tested and used on Groovy on another computer. I am running Hydro on my computer.

I have run catkin_make. My .bashrc is:

source /opt/ros/hydro/setup.bash
export ROS_PACKAGE_PATH="/home/craig/Documents/workspace/551/project":$ROS_PACKAGE_PATH

I am new to Ros and may have some configuration/installation issues (I thought it would be fun to uninstall python from Linux Mint - it wasn't).

Additionally, running roswtf produces:


Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:

Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING You are missing core ROS Python modules: rosrelease -- 

Found 1 error(s).

ERROR Not all paths in ROS_PACKAGE_PATH [/home/craig/Documents/workspace/551/project:/opt/ros/hydro/share:/opt/ros/hydro/stacks] point to an existing directory: 
 * /opt/ros/hydro/stacks

================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules

Online checks summary:

Found 2 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING The following node subscriptions are unconnected:
 * /rosout:
   * /rosout

WARNING The following nodes are unexpectedly connected:
 * unknown (http://gunstar:50711/)->/rosout (/rosout)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-12-10 11:04:17 -0600

csherstan gravatar image

I got this one figured out.

I needed to source the devel/setup.bash file that catkin generates.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-12-10 10:15:01 -0600

Seen: 4,354 times

Last updated: Dec 10 '13