launch#
Gazebo Launch : Run and manage programs and plugins
Maintainer: nate AT openrobotics DOT org
Gazebo Launch, a component of Gazebo, provides a command line interface to run and manage application and plugins.
Table of Contents
Features
Gazebo Launch is used to run and manage plugins and programs. A
configuration script can be used to specify which programs and plugins to
execute. Alternatively, individual programs and plugins can be run from the
command line. Example configuration scripts are located in the examples
directory.
Automatic ERB parsing of configuration files.
Pass arguments to launch files from the command line.
Plugins to launch Gazebo Sim, joystick interface, and a websocket server for simulation.
Install
See the installation tutorial.
Usage
Sample launch configuration files are in the examples directory.
Example
Run a configuration that launches Gazebo.
gz launch sim.gzlaunch
Known issue of command line tools
In the event that the installation is a mix of Debian and from source, command
line tools from gz-tools
may not work correctly.
A workaround is to define the environment variable
GZ_CONFIG_PATH
to point to the different locations of the Gazebo libraries installations,
where the YAML files for the packages are found, such as
export GZ_CONFIG_PATH=/usr/local/share/gz:$HOME/ws/install/share/gz
where $HOME/ws
is an example colcon workspace used to build Gazebo
Documentation
See the installation tutorial.
Folder Structure
Refer to the following table for information about important directories and files in this repository.
gz-launch
├── examples Example launch configurations.
├── include/gz/launch Header files.
├── plugins Launch plugins, one per subdirectory.
├── src Source files and unit tests.
├── test
│ ├── integration Integration tests.
│ ├── performance Performance tests.
│ └── regression Regression tests.
├── tools Some useful tools such as linters
├── tutorials Tutorials
├── Changelog.md Changelog.
└── CMakeLists.txt CMake build script.
Contributing
Please see the contribution guide.
Code of Conduct
Please see CODE_OF_CONDUCT.md.
Versioning
This library uses Semantic Versioning. Additionally, this library is part of the Gazebo project which periodically releases a versioned set of compatible and complimentary libraries. See the Gazebo website for version and release information.
License
This library is licensed under Apache 2.0. See also the LICENSE file.
Gazebo Launch 8.x
Gazebo Launch 8.0.0 (2024-09-25)
Baseline: this includes all changes from 7.1.0 and earlier.
Fix crash and update launch file
Miscellaneous documentation fixes
Enable ubuntu noble on github actions, require cmake 3.22.1
Remove deprecations
Fix libwebsocket shutdown behavior
Fix msvc loss of data warning
Remove indirect dependencies
Supress msvc dll exported interface warning
Fix windows warnings
Disable failing Manager_Test on windows
Disable failing windows tests
Add package.xml, remove dependency on python3-yaml, and disable failing windows tests
Define GZ_LAUNCH_VERSION_NAMESPACE in config.hh
Bumps in Ionic: gz-launch8
Gazebo Launch 7.x
Gazebo Launch 7.1.0 (2024-04-11)
Use relative install paths for plugin shared libraries and gz-tools data
Fix bug where address of local variable was returned
Add optional binary relocatability
Fix windows warnings
Update CI badges in README
Infrastructure
Gazebo Launch 7.0.0 (2023-09-29)
Documentation fixes
Infrastructure
ign -> gz
Bump Harmonic dependencies: fuel-tools, gui, physics, rendering, sdformat , sensors, sim, transport, and msgs
⬆️ Bump main to 7.0.0~pre1
Gazebo Launch 6.x
Gazebo Launch 6.1.0 (2023-09-26)
Infrastructure
Rename COPYING to LICENSE
Small cleanup fixes
Add pause and stop to Websocket Server
Fix gz_test when using a CMake generator different from make
Return a message on asset error
Remove redundant namespace references
Gazebo Launch 6.0.0
Fix macOs compiler error.
Update to latest gtest.
Ignition to Gazebo renaming
Fix
msgs
header usage.Version bumps and removal of deprecations
Gazebo Launch 5.x
Gazebo Launch 5.3.0 (2023-06-14)
Forward ports
Infrastructure
Rename COPYING to LICENSE
Small cleanup fixes
Add pause and stop to Websocket Server
Return a message on asset error
Remove redundant namespace references
Gazebo Launch 5.2.0 (2022-08-16)
Add code coverage ignore file
Change
IGN_DESIGNATION
toGZ_DESIGNATION
fix
ign_TEST
for FortressIgnition -> Gazebo
Bash completion for flags
Adds ability to get a file from a running Gazebo instance
Add Ubuntu Jammy CI
Depend on
python3-yaml
instead ofpython-yaml
Gazebo Launch 5.x
Gazebo Launch 5.1.0 (2022-03-21)
Use exec instead of popen to run gz-launch binary
Expose headless_rendering sdf tag
Remove spammy CMake message
Gazebo Launch 5.0.0 (2021-10-01)
Port gz-launch to Windows
Add standalone executables
Remove unused includes (fix build)
Bumps dependencies for fortress
Infrastructure
Gazebo Launch 4.x
Gazebo Launch 4.X.X (20XX-XX-XX)
Gazebo Launch 4.1.0 (2021-10-14)
All changes included in Gazebo Launch 3.4.2.
Gazebo Launch 4.0.0 (2021-03-30)
Bump in edifice: gz-common4
Bump in edifice: sdformat11
Bump in edifice: gz-msgs7
Bump in edifice: gz-rendering5
Gazebo Launch 3.x
Gazebo Launch 3.4.2 (2021-10-14)
All changes included in Gazebo Launch 2.2.2.
Gazebo Launch 3.4.1 (2021-07-15)
Generate a better error websocket error code for
max_connections
.
Gazebo Launch 3.4.0 (2021-06-09)
Extend websocket server to support message limits and throttling.
Gazebo Launch 3.3.0 (2021-05-06)
Convert depth and thermal image data to RGB before sending over websockets
Gazebo Launch 3.2.1 (2021-04-19)
Add header to image msg.
Gazebo Launch 3.2.0 (2021-04-12)
Support unsubscribing from a topic in the websocket server.
Support particle_emitters in the websocket server.
Support getting topic names and message types in the websocket server.
Image streaming over websocket.
Treat GZ_LAUNCH_CONFIG_PATH as a path list.
Gazebo Launch 3.1.1 (2021-01-08)
All changes up to and including those in version 2.2.1.
Gazebo Launch 3.1.0 (2020-12-10)
All changes up to and including those in version 2.2.0.
Gazebo Launch 3.0.0 (2020-09-30)
Migration from BitBucket to GitHub
Add PKGCONFIG information to gz-tools gz_find_package
Depend on gz-msgs6, gz-transport9
Depend on gz-sim4, gz-gui4
Gazebo Launch 2.x
Gazebo Launch 2.3.1 (2024-01-05)
Small cleanup fixes
Infrastructure
Gazebo Launch 2.3.0 (2022-08-15)
Remove redundant namespace references
Add code coverage ignore file
Change
IGN_DESIGNATION
toGZ_DESIGNATION
Ignition -> Gazebo
Bash completion for flags
Gazebo Launch 2.2.2 (2021-10-11)
Master branch updates.
Treat
GZ_LAUNCH_CONFIG_PATH
as a path list.Remove tools/code_check and update codecov.
Update gtest for Windows compilation.
Remove bitbucket-pipelines.yml.
Gazebo Launch 2.2.1 (2021-01-08)
Fix env parsing by placing it before executable parsing.
Gazebo Launch 2.2.0 (2020-10-14)
All changes up to and including those in version 1.10.0
Added a tutorial.
Gazebo Launch 2.1.0 (2020-05-21)
Merged gz-launch1 forward.
Gazebo Launch 2.0.0
Use Gazebo Citadel dependencies.
Allow specifying a custom window title instead of “Gazebo”
Unversioned lib name for cmds
Gazebo Launch 1.x
Gazebo Launch 1.X.X (20XX-XX-XX)
Gazebo Launch 1.10.1 (2020-12-23)
Fix codecheck
Fix race condition in websocket server
Gazebo Launch 1.10.0 (2020-09-25)
Modernize Github Actions CI.
Add PKGCONFIG information to gz-tools gz_find_package
Fix factory.gzlaunch launch file
Use random name for manager semaphore
Add support for specifying topics to record
Fix race condition in websocket server.
Gazebo Launch 1.9.0 (2020-08-13)
Added HTTP handling support to websocket server and a metrics HTTP endpoint to monitor websocket server status.
Gazebo Launch 1.8.0 (2020-07-28)
Added
<max_connections>
to the websocket server that supports specifying the maximum allowed websocket connections.
Gazebo Launch 1.7.1 (2020-06-23)
Improve websocket performance by throttling the busy loop, and fix empty SSL XML elements.
Gazebo Launch 1.7.0 (2020-06-16)
Added SSL to websocket server.
Gazebo Launch 1.6.0 (2020-06-11)
Improved websockets by: adding simple authentication, access to protobuf message definitions, access to scene and world information, and definition of custom message framing.
Gazebo Launch 1.5.0 (2020-05-20)
Added support for spawning multiple entities in the same simulation step.
Gazebo Launch 1.4.2 (2020-05-18)
Use the new GUI API of gz-sim. This adds support for saving worlds to SDFormat from the GUI.
Gazebo Launch 1.4.1 (2019-12-05)
Unversioned lib name for cmds
Gazebo Launch 1.4.0 (2019-11-26)
Default GUI config for Launch
Gazebo Launch 1.3.0 (2019-11-13)
Add filepath to ERB so that constants like
__FILE__
in.gzlaunch
files work as expectedAdd backward support to gz-launch to capture backtraces.
Gazebo Launch 1.2.3 (2019-09-09)
Add QML import path to IgnGazebo modules.
Gazebo Launch 1.2.2
Add support for console logging.
Support setting custom window icons.
Gazebo Launch 1.2.1
Eliminate potential deadlock from SIGCHLD signal handler
Gazebo Launch 1.2.0
Support for custom random seed in the SimServer plugin.
Allow specifying a custom window title
Gazebo Launch 1.1.0 (2019-06-11)
Added command line parameters of the form
:= . These parameters are passed to ERB.
Gazebo Launch 1.0.1 (2019-05-22)
Fix SimFactory set performer topic
Gazebo Launch 1.0.0 (2019-05-21)
Enable logging with
<record>
tag in gz launch file.Fix gazebo gui to use GuiRunner.
Fix parsing positional argument to gz tool.
Added world stats to Websocket server.
Change project name to ignition-launch1.
Depend on gazebo2, gui2, msgs4, transport7.
Added Websocket server.
Gazebo Launch 0.x
Install examples folder.
Gazebo Launch 0.2.0