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

Finding python modules in rqt plugins?

asked 2013-03-15 03:36:04 -0600

TommyP gravatar image

updated 2013-03-15 03:36:34 -0600

I have defined Python modules in for a package and these modules are found when running Python programs from another package using rosrun. But running

rosrun rqt_gui rqt_gui -s lrs_rqt/rqt_quad.quad.Quad

where I in have:

from quad.qcon import *

then it does not work. It does not find the qcon. So does it work differently with plugins? And if so how does it work?

I am using groovy and catkin.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-16 00:38:14 -0600

TommyP gravatar image

This was a Python mistake. The file I did

from quad.qcon import *

in was called and that seems not to be a good idea. I renamed it and everything is working as expected.

edit flag offensive delete link more

Question Tools


Asked: 2013-03-15 03:36:04 -0600

Seen: 168 times

Last updated: Mar 16 '13