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

Revision history [back]

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.