No module brics_actuator.msg [closed]

asked 2014-02-20 03:38:28 -0500

mealejan gravatar image

I have a python programm which fails to start because of following messages:
Traceback (most recent call last):
File "./", line 6, in <module>
from brics_actuator.msg import JointPositions
ImportError: No module named brics_actuator.msg

I can't find any file called brics_actuator.msg, but the cob_common package compiles without error. And brics_actuator has been installed after building it with cmake & make install.

Any ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mealejan
close date 2014-02-24 03:36:58


It seems like the python path variable isn't set correctly.

mealejan gravatar image mealejan  ( 2014-02-20 22:06:21 -0500 )edit

solved by adding following line to the code: import roslib;roslib.load_manifest('my_package') and having in the manifest.xml of the project <depend package="brics_actuator"/>

mealejan gravatar image mealejan  ( 2014-02-24 03:36:42 -0500 )edit