Robotics StackExchange | Archived questions

No module brics_actuator.msg

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

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

Any ideas?

Asked by mealejan on 2014-02-20 04:38:28 UTC

Comments

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

Asked by mealejan on 2014-02-20 23:06:21 UTC

solved by adding following line to the code: import roslib;roslib.load_manifest('my_package') and having in the manifest.xml of the project

Asked by mealejan on 2014-02-24 04:36:42 UTC

Answers