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

How docking RQT_IMAGE_VIEW into a Dashboard

asked 2013-06-14 06:09:02 -0500

creation gravatar image

updated 2014-01-28 17:16:54 -0500

ngrennan gravatar image

Hi Everybody!

Actually I'm trying to develop a Qt-Python GUI interface for a robot. My objective is to develop a Dashboard who visualizes 2 cameras using rqt_image_view plugin.

For other rqt_plugins based on Python is quite easy to integrate plugins into a Dashboard, but I want to insert the rqt_image_view plugin that is programmed with C++ language. My question is: How I can dock the C++ plugin in my Python based Dashboard?

I hope someone could help me.

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-06-14 09:28:08 -0500

Dirk Thomas gravatar image

You can not integrate the existing C++ image_view plugin into a Python rqt plugin - at least not without significant additional efforts.

The rqt framework performs the heavy lifting of mapping between the two languages for you. But it does that on a plugin level. In order to integrate arbitrary C++ code into your Python plugin you would need to create bindings for these parts manually which is a pretty cumbersome task.

You could fill an enhancement ticket against rqt_image_view to also expose plugin agnostic bindings to the core functionality. But since it would be quite some effort to create the Python bindings to make the image widget somehow reusable it is questionable if that will get implemented without someone stepping up implementing it.

edit flag offensive delete link more
-1

answered 2013-06-15 04:17:50 -0500

creation gravatar image

Many thanks for your help.

edit flag offensive delete link more

Comments

@creation best way to show appreciation in this forum is to accept the answer by marking it ;)

130s gravatar image 130s  ( 2013-06-15 19:28:58 -0500 )edit

Question Tools

Stats

Asked: 2013-06-14 06:09:02 -0500

Seen: 272 times

Last updated: Jun 15 '13