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

Can I launch rqt_console from a .launch file?

asked 2019-02-15 16:51:13 -0500

pitosalas gravatar image

Just for convenience as I am deep into debugging and am constantly doing a multi step launch procedure. I looked through the wiki and googled, but cannot find a reference to it. Maybe its not possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-02-15 18:20:11 -0500

Thomas D gravatar image

You should be able to add the following to one of your included launch files:

<node pkg="rqt_console" type="rqt_console" name="rqt_console"/>

The name field is arbitrary.

I don't use rqt_console but if there are arguments you are adding during your multi step launch procedure you can further customize by doing:

<node pkg="rqt_console" type="rqt_console" name="rqt_console" args="[custom commands]"/>

I do that with rqt_reconfigure sometimes. For example, if I start a node and name it my_node and my_node has a dynamic reconfigure server, then I can do:

<node pkg="rqt_reconfigure" type="rqt_reconfigure" name="my_rqt_reconfigure" args="my_node"/>

That causes an rqt_reconfigure GUI to open and it will pre-select my_node for me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-15 16:51:13 -0500

Seen: 641 times

Last updated: Feb 15 '19