Launch file for rqt_gui in Kinetic
I have created a perspective in rqt (including rqtimageview as one of the plugin). And i would like to start the rqt gui with the perspective created before from a launch file. Additionally, to start the rqtgui with specific imagetopic.
How should i compile the launch file for this?
Many Thanks.
Asked by someth on 2019-05-27 05:38:22 UTC
Answers
Create a launch file if you would like a specific perspective and image topic within ROS Kinetic to launch RQT_GUI with. Here is an example of how you could compile it:
Create a new launch file called RQT.launch.
Add an XML header to the launch file:
Note the package containing your RQT configuration file; let's assume this package is called my_rqt_pkg:
Adjust the environment variable to specify which perspective rqt_gui should follow:
Launch an image viewer node with an appropriate topic image topic (for instance: image_view package).
Close and Save Launch File (rqt.launch file). Insure That Your Package Includes These Components (bundle.include, package.bundle, bundle rqt.launch).
Install the image_view package into your ROS workspace to run image_view and use rqt_gui. To launch it with specific perspective and image topic settings, launch terminal with this command:
Roslaunch's myRQT.launch package
Replace "my_rqt_pkg" with the actual name of your package.
That should do it! Now the rqt_gui should launch with your selected perspective and the image view plugin should display all relevant photos related to a topic.
Asked by revida on 2023-06-24 01:40:06 UTC
Comments
I believe this is answered by @Edward in #q79141.
Asked by gvdhoorn on 2019-05-27 06:03:01 UTC
Thank you!, But the reply from Edward only provide a launch file to launch the perspective, is there a way to config the image_topic in the rqt_image_view nested in the rqt?
Asked by someth on 2019-07-12 02:56:43 UTC