Ask Your Question

Can I launch rqt_console from a .launch file?

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

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

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

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

Your Answer

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

Add Answer

Question Tools

1 follower


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

Seen: 88 times

Last updated: Feb 15 '19