[ros-users] error: cannot load message class. Are you messages built?

Lorenz Mösenlechner moesenle at in.tum.de
Thu Aug 12 16:24:58 UTC 2010


Hi,

did you add your package to the ROS_PACKAGE_PATH on the computer you
are executing 'rostopic echo' on? I guess rostopic needs to find the
python code for your message somehow.

Lorenz

> Hi guys!
> 
> I have made an ROS node for reading sensors connected to an arduino. Along with the node I created some ROS msgs for the sensors. I compiled and tested everything on my MacBook running Ubuntu 10.04 with cturtle, however, when I copy the node to the robots (Eee PC also with Ubuntu 10.04 with boxturtle) I run into some problems.
> 
> Everything compiles fine, and the node runs just fine, however I cannot rostopic echo my custom msgs! It gives me this error:
> 
> error: cannot load message class for [ardusim/TPA]. Are you messages built?
> 
> The topics show up on rostopic list. I can run rostopic type and rosmsg show. I've also tried roswtf but everything seems fine.
> 
> What am I missing here? Could it have something to do with having cturtle on one computer and boxturtle on the other? The node was created on the MacBook with boxturtle previous to the cturtle update.
> 
> Thanks for the help,
> 
> Gonçalo Cabrita
> ISR - University of Coimbra
> Portugal
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
> 

-- 
Lorenz Mösenlechner            | moesenle at in.tum.de
Technische Universität München | Boltzmannstr. 3
85748 Garching bei München     | Germany
http://ias.cs.tum.edu/         | Tel: +49 (89) 289-26910



More information about the ros-users mailing list