[Documentation] [TitleIndex] [WordIndex

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Rocon Launch

Description: Script for launching multiple ros systems on one pc, very useful for debugging the concerts.

Keywords: rocon launcher

Tutorial Level: INTERMEDIATE

Overview

To properly debug the gateway model or the concert it gets tedious starting multiple shells, setting the port number for each master and individually launching each bringup launch script.

This tool does that job for you in the same style as roslaunch.

Xml

It has a very similar feel to a regular roslaunch file and should be self-explanatory. A simple example from [turtle_concert]:

   1 <concert>
   2   <launch package="turtle_concert" name="concert.launch" port="11311"/>
   3   <launch package="turtle_concert" name="kobuki.launch" port="11312"/>
   4   <launch package="turtle_concert" name="guimul.launch" port="11313"/>
   5   <launch package="turtle_concert" name="turtlesim.launch" port="11314"/>
   6 </concert>

Usage

It uses the familiar roslaunch <pkg_name> <launch file name> arguments, except that the .launch file is replaced with a .concert file of the format specified above.

> rocon_launch turtle_concert turtle.concert

Terminals

The script launches, by default, konsole terminals inside of which each shell is individually started, configured and finally roslauncher launched. It can be changed to use gnome terminals instead of konsoles by supplying the --gnome option.


2019-12-07 13:02