Ask Your Question

Finding python modules in rqt plugins?

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

TommyP gravatar image

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

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 -0500

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 115 times

Last updated: Mar 16 '13