-
 

Package Summary

Tags No category tags.
Version 0.244.16
License Apache 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/gazebosim/ros_gz.git
VCS Type git
VCS Version humble
Last Updated 2024-07-22
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Tools for using Gazebo Sim simulation with ROS.

Additional Links

No additional links.

Maintainers

  • Alejandro Hernandez

Authors

  • Alejandro Hernandez

ROS + Gazebo Sim

This package contains things that make it convenient to integrate ROS with Gazebo, such as:

  • Launch files
  • ROS-enabled executables

Run Gazebo Sim

There’s a convenient launch file, try for example:

ros2 launch ros_gz_sim gz_sim.launch.py gz_args:="shapes.sdf"

Spawn entities

The create executable can be used to spawn SDF or URDF entities from:

  • A file on disk or from Gazebo Fuel
  • A ROS parameter

For example, start Gazebo Sim:

ros2 launch ros_gz_sim gz_sim.launch.py

then spawn a model:

ros2 run ros_gz_sim create -world default -file 'https://fuel.ignitionrobotics.org/1.0/openrobotics/models/Gazebo'

See more options with:

ros2 run ros_gz_sim create --helpshort

Using <gazebo_ros> to export model paths in package.xml

The <gazebo_ros> tag inside the <export> tag of a package.xml file can be used to add paths to GZ_SIM_RESOURCE_PATH and GZ_SIM_SYSTEM_PLUGIN_PATH, which are environment variables used to configure Gazebo search paths for resources (e.g. SDFormat files, meshes, etc) and plugins respectively.

The values in the attributes gazebo_model_path and gazebo_media_path are appended to GZ_SIM_RESOURCE_PATH. The value of plugin_path is appended to GZ_SIM_SYSTEM_PLUGIN_PATH. See the Finding resources tutorial to learn more about these environment variables.

The keyword ${prefix} can be used when setting these values and it will be expanded to the package’s share path (i.e., the value of ros2 pkg prefix --share <package name>)

<export>
   <gazebo_ros gazebo_model_path="${prefix}/models"/>
   <gazebo_ros gazebo_media_path="${prefix}/media"/>
   <gazebo_ros plugin_path="${prefix}/plugins"/>
</export>


Thus the required directory needs to be installed from CMakeLists.txt

install(DIRECTORY models
    DESTINATION share/${PROJECT_NAME})

In order to reference the models in a ROS package unambiguously, it is recommended to set the value of gazebo_model_path to be the parent of the prefix.

<export>
   <gazebo_ros gazebo_model_path="${prefix}/../"/>
</export>


Consider an example where we have a ROS package called my_awesome_pkg and it contains an SDFormat model cool cool_robot:

my_awesome_pkg
├── models
│   └── cool_robot
│       ├── model.config
│       └── model.sdf
└── package.xml

With gazebo_model_path="${prefix}/../ set up, we can reference the cool_robot model in a world file using the package name in the uri:

<sdf version="1.6">
  <world name="default">
    <include>
      <uri>package://my_awesome_pkg/models/cool_robot</uri>
    </include>
  </world>
</sdf>

However, if we set gazebo_model_path=${prefix}/models, we would need to reference cool_robot as package://cool_robot, which might have a name conflict with other models in the system.

CHANGELOG

Changelog for package ros_gz_sim

0.244.16 (2024-07-22)

0.244.15 (2024-07-03)

0.244.14 (2024-04-08)

  • Support [<gazebo_ros>]{.title-ref} in [package.xml]{.title-ref} exports (#492) This copies the implementation from [gazebo_ros_paths.py]{.title-ref} to provide a way for packages to set resource paths from [package.xml]{.title-ref}. ` e.g. <export> <gazebo_ros gazebo_model_path="${prefix}/models"/> <gazebo_ros gazebo_media_path="${prefix}/models"/> </export>[ The value of `gazebo_model_path]{.title-ref} and [gazebo_media_path]{.title-ref} is appended to [GZ_SIM_RESOURCE_PATH]{.title-ref} The value of [plugin_path]{.title-ref} appended to [GZ_SIM_SYSTEM_PLUGIN_PATH]{.title-ref} ---------
  • Contributors: Addisu Z. Taddese

0.244.13 (2024-01-23)

0.244.12 (2023-12-13)

  • Add support for Harmonic/Humble pairing (#462)
  • Set on_exit_shutdown argument for gz-sim ExecuteProcess (#355) (#451)
  • Contributors: Addisu Z. Taddese, Michael Carroll

0.244.11 (2023-05-23)

0.244.10 (2023-05-03)

0.244.9 (2022-11-03)

  • Export ROS Stopwatch library (#299) (#322) New Stopwatch library needs to be exported and built as shared Co-authored-by: Michael Anderson <<anderson@mbari.org>>
  • Contributors: Michael Carroll

0.244.8 (2022-10-28)

0.244.7 (2022-10-12)

  • Fix launch substitutions for ign_args (#309)
    • Fix launch substitutions for ign_args
  • Merge pull request #275 (Galactic to Humble) Galactic to Humble
  • Merge branch 'ros2' into ports/galactic_to_ros2
  • Contributors: Michael Carroll

0.244.6 (2022-09-14)

0.244.5 (2022-09-12)

  • Fix missing msgs include and packages.xml deps (#292)
    • Fix missing msgs include and packages.xml deps
    • Add additional conditions to support gz sim invocation
    • Fix cpplint
  • Support ros_ign migration (#282) Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci
  • Move packages and files to gz (#282)
  • Contributors: methylDragon

0.244.3 (2022-05-19)

  • [ros2] README updates (service bridge, Gazebo rename) (#252)
  • Fix linter tests (#251) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Contributors: Daisuke Nishimatsu, Louise Poubel

0.244.2 (2022-04-25)

  • Support bridging services (#211)
  • Add std_msgs as dependency of ros_gz_sim (#242)
  • Fixed ros_gz_sim launch file install directory (#229) (#230)
  • Added ign_version launch argument to set ignition gazebo version (#226)
  • Bring ros2 branch up-to-date with Rolling (#213)
  • create.cpp usage message fixed for ros2 branch (#207)
  • Separate galactic branch from ros2 branch (#201)
  • 🏁 Dome EOL (#198)
  • Contributors: Alejandro Hernández Cordero, Aryaman Shardul, Ivan Santiago Paunovic, Kenji Brameld, Louise Poubel, Michael Carroll, ahcorde

0.244.1 (2022-01-04)

0.244.0 (2021-12-30)

  • Default to Fortress for Rolling (future Humble) (#195)
  • [ros2] 🏁 Dome EOL (#199)
  • Contributors: Guillaume Doisy, Louise Poubel

0.233.2 (2021-07-20)

  • [ros2] Update version docs, add Galactic and Fortress (#164)
  • Contributors: Louise Poubel

0.233.1 (2021-04-16)

  • Default to Edifice for Rolling (#150)
  • Edifice support (#140) Co-authored-by: Alejandro Hernández <<ahcorde@gmail.com>>
  • Add topic flag to create robot (#128) Now it is possible to run ros_gz_sim create specifying a topic as source of the robot description Add a launch file starting a ignition gazebo world and spawn a sphere in it. Additionally a rviz2 interface is loaded to show that also Rviz can load the robot description The newly created demo introduce a dependency on the robot_state_publisher package
  • Add default value for plugin path in launch script (#125)
  • Fix overwriting of plugin path in launch script (#122)
    • GZ_SIM_SYSTEM_PLUGIN_PATH was overwritten by LD_LIBRARY_PATH
    • Now it is instead extended by LD_LIBRARY_PATH
    • This allows use of gz_sim.launch.py with custom gazebo plugins
  • Changed for loading xml from ROS param(#119) (#120)
  • ros_gz_sim exec depend on gz-sim (#110)
  • Update releases (#108)
  • Add support for Dome (#103)
  • Contributors: Andrej Orsula, Louise Poubel, Luca Della Vedova, Valerio Magnago, chama1176

0.221.1 (2020-08-19)

  • Add pkg-config as a buildtool dependency (#102)
  • Contributors: Louise Poubel

0.221.0 (2020-07-23)

  • [ros2] Fixed CI - Added Foxy (#89) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Added ros_gz_sim for ros2 (#80) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Update Dashing docs (#62)
  • Contributors: Alejandro Hernández Cordero, Louise Poubel, chapulina

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_gz_sim at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.254.2
License Apache 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/gazebosim/ros_gz.git
VCS Type git
VCS Version iron
Last Updated 2024-07-03
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Tools for using Gazebo Sim simulation with ROS.

Additional Links

No additional links.

Maintainers

  • Alejandro Hernandez

Authors

  • Alejandro Hernandez

ROS + Gazebo Sim

This package contains things that make it convenient to integrate ROS with Gazebo, such as:

  • Launch files
  • ROS-enabled executables

Run Gazebo Sim

There’s a convenient launch file, try for example:

ros2 launch ros_gz_sim gz_sim.launch.py gz_args:="shapes.sdf"

Spawn entities

The create executable can be used to spawn SDF or URDF entities from:

  • A file on disk or from Gazebo Fuel
  • A ROS parameter

For example, start Gazebo Sim:

ros2 launch ros_gz_sim gz_sim.launch.py

then spawn a model:

ros2 run ros_gz_sim create -world default -file 'https://fuel.ignitionrobotics.org/1.0/openrobotics/models/Gazebo'

See more options with:

ros2 run ros_gz_sim create --helpshort

Using <gazebo_ros> to export model paths in package.xml

The <gazebo_ros> tag inside the <export> tag of a package.xml file can be used to add paths to GZ_SIM_RESOURCE_PATH and GZ_SIM_SYSTEM_PLUGIN_PATH, which are environment variables used to configure Gazebo search paths for resources (e.g. SDFormat files, meshes, etc) and plugins respectively.

The values in the attributes gazebo_model_path and gazebo_media_path are appended to GZ_SIM_RESOURCE_PATH. The value of plugin_path is appended to GZ_SIM_SYSTEM_PLUGIN_PATH. See the Finding resources tutorial to learn more about these environment variables.

The keyword ${prefix} can be used when setting these values and it will be expanded to the package’s share path (i.e., the value of ros2 pkg prefix --share <package name>)

<export>
   <gazebo_ros gazebo_model_path="${prefix}/models"/>
   <gazebo_ros gazebo_media_path="${prefix}/media"/>
   <gazebo_ros plugin_path="${prefix}/plugins"/>
</export>


Thus the required directory needs to be installed from CMakeLists.txt

install(DIRECTORY models
    DESTINATION share/${PROJECT_NAME})

In order to reference the models in a ROS package unambiguously, it is recommended to set the value of gazebo_model_path to be the parent of the prefix.

<export>
   <gazebo_ros gazebo_model_path="${prefix}/../"/>
</export>


Consider an example where we have a ROS package called my_awesome_pkg and it contains an SDFormat model cool cool_robot:

my_awesome_pkg
├── models
│   └── cool_robot
│       ├── model.config
│       └── model.sdf
└── package.xml

With gazebo_model_path="${prefix}/../ set up, we can reference the cool_robot model in a world file using the package name in the uri:

<sdf version="1.6">
  <world name="default">
    <include>
      <uri>package://my_awesome_pkg/models/cool_robot</uri>
    </include>
  </world>
</sdf>

However, if we set gazebo_model_path=${prefix}/models, we would need to reference cool_robot as package://cool_robot, which might have a name conflict with other models in the system.

CHANGELOG

Changelog for package ros_gz_sim

0.254.2 (2024-07-03)

  • Merge pull request #564 from azeey/humble_to_iron Humble ➡️ Iron
  • Merge humble -> iron
  • 0.244.14
  • Changelog
  • Support [<gazebo_ros>]{.title-ref} in [package.xml]{.title-ref} exports (#492) This copies the implementation from [gazebo_ros_paths.py]{.title-ref} to provide a way for packages to set resource paths from [package.xml]{.title-ref}. ` e.g. <export> <gazebo_ros gazebo_model_path="${prefix}/models"/> <gazebo_ros gazebo_media_path="${prefix}/models"/> </export>[ The value of `gazebo_model_path]{.title-ref} and [gazebo_media_path]{.title-ref} is appended to [GZ_SIM_RESOURCE_PATH]{.title-ref} The value of [plugin_path]{.title-ref} appended to [GZ_SIM_SYSTEM_PLUGIN_PATH]{.title-ref} ---------
  • 0.244.13
  • Changelog
  • 0.244.12
  • Changelog
  • Contributors: Addisu Z. Taddese, Alejandro Hernández Cordero

0.254.1 (2024-04-08)

0.254.0 (2024-01-08)

  • Forward port: Add support for Harmonic/Humble pairing (#462)
  • Contributors: Addisu Z. Taddese, Michael Carroll

0.247.0 (2023-11-02)

  • set on_exit_shutdown argument for gz-sim ExecuteProcess (#355) (#452) Co-authored-by: andermi <<anderson@mbari.org>>
  • Contributors: Michael Carroll

0.245.0 (2023-05-23)

0.244.11 (2023-05-23)

0.244.10 (2023-05-03)

0.244.9 (2022-11-03)

  • Export ROS Stopwatch library (#299) (#322) New Stopwatch library needs to be exported and built as shared Co-authored-by: Michael Anderson <<anderson@mbari.org>>
  • Contributors: Michael Carroll

0.244.8 (2022-10-28)

0.244.7 (2022-10-12)

  • Fix launch substitutions for ign_args (#309)
    • Fix launch substitutions for ign_args
  • Merge pull request #275 (Galactic to Humble) Galactic to Humble
  • Merge branch 'ros2' into ports/galactic_to_ros2
  • Contributors: Michael Carroll

0.244.6 (2022-09-14)

0.244.5 (2022-09-12)

  • Fix missing msgs include and packages.xml deps (#292)
    • Fix missing msgs include and packages.xml deps
    • Add additional conditions to support gz sim invocation
    • Fix cpplint
  • Support ros_ign migration (#282) Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci
  • Move packages and files to gz (#282)
  • Contributors: methylDragon

0.244.3 (2022-05-19)

  • [ros2] README updates (service bridge, Gazebo rename) (#252)
  • Fix linter tests (#251) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Contributors: Daisuke Nishimatsu, Louise Poubel

0.244.2 (2022-04-25)

  • Support bridging services (#211)
  • Add std_msgs as dependency of ros_gz_sim (#242)
  • Fixed ros_gz_sim launch file install directory (#229) (#230)
  • Added ign_version launch argument to set ignition gazebo version (#226)
  • Bring ros2 branch up-to-date with Rolling (#213)
  • create.cpp usage message fixed for ros2 branch (#207)
  • Separate galactic branch from ros2 branch (#201)
  • 🏁 Dome EOL (#198)
  • Contributors: Alejandro Hernández Cordero, Aryaman Shardul, Ivan Santiago Paunovic, Kenji Brameld, Louise Poubel, Michael Carroll, ahcorde

0.244.1 (2022-01-04)

0.244.0 (2021-12-30)

  • Default to Fortress for Rolling (future Humble) (#195)
  • [ros2] 🏁 Dome EOL (#199)
  • Contributors: Guillaume Doisy, Louise Poubel

0.233.2 (2021-07-20)

  • [ros2] Update version docs, add Galactic and Fortress (#164)
  • Contributors: Louise Poubel

0.233.1 (2021-04-16)

  • Default to Edifice for Rolling (#150)
  • Edifice support (#140) Co-authored-by: Alejandro Hernández <<ahcorde@gmail.com>>
  • Add topic flag to create robot (#128) Now it is possible to run ros_gz_sim create specifying a topic as source of the robot description Add a launch file starting a ignition gazebo world and spawn a sphere in it. Additionally a rviz2 interface is loaded to show that also Rviz can load the robot description The newly created demo introduce a dependency on the robot_state_publisher package
  • Add default value for plugin path in launch script (#125)
  • Fix overwriting of plugin path in launch script (#122)
    • GZ_SIM_SYSTEM_PLUGIN_PATH was overwritten by LD_LIBRARY_PATH
    • Now it is instead extended by LD_LIBRARY_PATH
    • This allows use of gz_sim.launch.py with custom gazebo plugins
  • Changed for loading xml from ROS param(#119) (#120)
  • ros_gz_sim exec depend on gz-sim (#110)
  • Update releases (#108)
  • Add support for Dome (#103)
  • Contributors: Andrej Orsula, Louise Poubel, Luca Della Vedova, Valerio Magnago, chama1176

0.221.1 (2020-08-19)

  • Add pkg-config as a buildtool dependency (#102)
  • Contributors: Louise Poubel

0.221.0 (2020-07-23)

  • [ros2] Fixed CI - Added Foxy (#89) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Added ros_gz_sim for ros2 (#80) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Update Dashing docs (#62)
  • Contributors: Alejandro Hernández Cordero, Louise Poubel, chapulina

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_gz_sim at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.0.7
License Apache 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/gazebosim/ros_gz.git
VCS Type git
VCS Version jazzy
Last Updated 2024-11-22
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Tools for using Gazebo Sim simulation with ROS.

Additional Links

No additional links.

Maintainers

  • Alejandro Hernandez
  • Aditya Pande

Authors

  • Alejandro Hernandez
  • Addisu Taddese
  • Carlos Agüero

ROS + Gazebo Sim

This package contains things that make it convenient to integrate ROS with Gazebo, such as:

  • Launch files
  • ROS-enabled executables

Run Gazebo Sim

There’s a convenient launch file, try for example:

ros2 launch ros_gz_sim gz_sim.launch.py gz_args:="shapes.sdf"

Spawn entities

The create executable can be used to spawn SDF or URDF entities from:

  • A file on disk or from Gazebo Fuel
  • A ROS parameter

For example, start Gazebo Sim:

ros2 launch ros_gz_sim gz_sim.launch.py

then spawn a model:

ros2 run ros_gz_sim create -world default -file 'https://fuel.gazebosim.org/1.0/openrobotics/models/Gazebo'

See more options with:

ros2 run ros_gz_sim create --helpshort

Using <gazebo_ros> to export model paths in package.xml

The <gazebo_ros> tag inside the <export> tag of a package.xml file can be used to add paths to GZ_SIM_RESOURCE_PATH and GZ_SIM_SYSTEM_PLUGIN_PATH, which are environment variables used to configure Gazebo search paths for resources (e.g. SDFormat files, meshes, etc) and plugins respectively.

The values in the attributes gazebo_model_path and gazebo_media_path are appended to GZ_SIM_RESOURCE_PATH. The value of plugin_path is appended to GZ_SIM_SYSTEM_PLUGIN_PATH. See the Finding resources tutorial to learn more about these environment variables.

The keyword ${prefix} can be used when setting these values and it will be expanded to the package’s share path (i.e., the value of ros2 pkg prefix --share <package name>)

<export>
   <gazebo_ros gazebo_model_path="${prefix}/models"/>
   <gazebo_ros gazebo_media_path="${prefix}/media"/>
   <gazebo_ros plugin_path="${prefix}/plugins"/>
</export>


Thus the required directory needs to be installed from CMakeLists.txt

install(DIRECTORY models
    DESTINATION share/${PROJECT_NAME})

In order to reference the models in a ROS package unambiguously, it is recommended to set the value of gazebo_model_path to be the parent of the prefix.

<export>
   <gazebo_ros gazebo_model_path="${prefix}/../"/>
</export>


Consider an example where we have a ROS package called my_awesome_pkg and it contains an SDFormat model cool cool_robot:

my_awesome_pkg
├── models
│   └── cool_robot
│       ├── model.config
│       └── model.sdf
└── package.xml

With gazebo_model_path="${prefix}/../ set up, we can reference the cool_robot model in a world file using the package name in the uri:

<sdf version="1.6">
  <world name="default">
    <include>
      <uri>package://my_awesome_pkg/models/cool_robot</uri>
    </include>
  </world>
</sdf>

However, if we set gazebo_model_path=${prefix}/models, we would need to reference cool_robot as package://cool_robot, which might have a name conflict with other models in the system.

CHANGELOG

Changelog for package ros_gz_sim

1.0.7 (2024-11-08)

  • Bugfix: [if "false"]{.title-ref} is always [True]{.title-ref} (#617) (#640) There is an issue in this launch file when passing the string 'false' as an argument. In Python, non-empty strings are always evaluated as True, regardless of their content. This means that even if you pass 'false', the system will still evaluate it as True. This bug results in the launch system incorrectly calling the OnShutdown method twice. When any ROS launch action invokes a RosAdapter, it triggers the following exception: "Cannot shutdown a ROS adapter that is not running." To temporarily work around this issue, you can launch gz_sim_launch.py with the on_exit_shutdown argument set to an empty string. This prevents the erroneous shutdown sequence and avoids the associated exception. (cherry picked from commit 1e30af0105058d68c8f1c98f37904505f613cf97) Co-authored-by: Ignacio Vizzo <<ignaciovizzo@gmail.com>>
  • Contributors: mergify[bot]

1.0.6 (2024-10-31)

  • Create ros_gz_spawn_model.launch (#604) (#627) Co-authored-by: Alejandro Hernández Cordero <<ahcorde@gmail.com>> (cherry picked from commit 02faa5b2383df27aa36321766c940924febdc5c6) Co-authored-by: Aarav Gupta <<amronos275@gmail.com>>
  • Add create_own_container argument to ros_gz_spawn_model.launch.py (#622) (#625) (cherry picked from commit e8a3ec5404c71e75468d6ebf233d9cab09715b36) Co-authored-by: Amronos <<134804732+Amronos@users.noreply.github.com>>
  • Fix ros_gz_sim.launch.py when create_own_container is enabled. (#620) (#621) (cherry picked from commit a4d00a90a1a5f753a0d0fbfe8e1e142540aebadd) Co-authored-by: Carlos Agüero <<caguero@openrobotics.org>>
  • Extra parameter to start a container (#616) (#618) (cherry picked from commit 8115ccaaedea718841367eb64e500e13df392fd7) Co-authored-by: Carlos Agüero <<caguero@openrobotics.org>>
  • Contributors: mergify[bot]

1.0.5 (2024-10-14)

  • Merge pull request #607 from Amronos/ros2-jazzy-backport
  • Fix changelogs and versions
  • Name gazebo sim node (#611) (#612)
  • Change world_string to model_string in gz_spawn_model files (#606)
  • Use model string in ros_gz_spawn_model.launch.py (#605)
  • Remove default_value for required arguments (#602)
  • Fix errors with name of bridge not being given (#600)
  • Restore launch file (#603)
  • Use optional parameters in actions (#601)
  • Wait for create service to be available. (#588)
  • Update launch files with name parameter (#556)
  • Launch gz_spawn_model from xml (#551)
  • Launch ros_gz_bridge from xml (#550)
  • Launch gzserver and the bridge as composable nodes (#528)
  • Name gazebo sim node (#611) (#612)
  • Contributors: Aarav Gupta, Addisu Z. Taddese, Alejandro Hernández Cordero, Amronos, Carlos Agüero, Sebastian Kasperski, mergify[bot]

1.0.4 (2024-08-29)

1.0.3 (2024-07-22)

1.0.2 (2024-07-03)

  • Merge pull request #569 from azeey/iron_to_jazzy Merge iron ➡️ jazzy
  • Merge remote-tracking branch 'origin/jazzy' into iron_to_jazzy
  • Add a ROS node that runs Gazebo (#500) (#567) * Add gzserver with ability to load an SDF file or string ---------(cherry picked from commit 92a2891f4adf35e4a4119aca2447dee93e22a06a) Co-authored-by: Addisu Z. Taddese <<addisu@openrobotics.org>>

  • Merge iron into jazzy
  • Merge pull request #564 from azeey/humble_to_iron Humble ➡️ Iron
  • Merge humble -> iron
  • Prepare for 1.0.0 Release (#495)
  • Use gz_vendor packages (#531)
  • 0.244.14
  • Changelog
  • ign to gz (#519)
  • Support [<gazebo_ros>]{.title-ref} in [package.xml]{.title-ref} exports (#492) This copies the implementation from [gazebo_ros_paths.py]{.title-ref} to provide a way for packages to set resource paths from [package.xml]{.title-ref}. ` e.g. <export> <gazebo_ros gazebo_model_path="${prefix}/models"/> <gazebo_ros gazebo_media_path="${prefix}/models"/> </export>[ The value of `gazebo_model_path]{.title-ref} and [gazebo_media_path]{.title-ref} is appended to [GZ_SIM_RESOURCE_PATH]{.title-ref} The value of [plugin_path]{.title-ref} appended to [GZ_SIM_SYSTEM_PLUGIN_PATH]{.title-ref} ---------
  • Undeprecate use of commandline flags (#491)
  • 0.244.13
  • Changelog
  • Remove deprecations using ros_gz_sim_create (#476)
  • Added support for using ROS 2 parameters to spawn entities in Gazebo using ros_gz_sim::create (#475)
  • Fix bug in [create]{.title-ref} where command line arguments were truncated (#472)
  • 0.244.12
  • Changelog
  • Filter ROS arguments before gflags parsing (#453)
  • 0.246.0
  • Update changelogs
  • Add harmonic CI (#447)
    • Add harmonic CI
    • Include garden options
    • Add harmonic stanza

    * Additional message headers ---------

  • Replace deprecated ign_find_package with gz_find_package (#432) Co-authored-by: jmackay2 <<jmackay@gmail.com>>
  • Port: humble to ros2 (#386)
  • Merge branch 'humble' into mjcarroll/humble_to_ros2
  • Update maintainers (#376)
  • set on_exit_shutdown argument for gz-sim ExecuteProcess (#355)
  • Humble ➡️ ROS2 (#323) Humble ➡️ ROS2
  • Merge branch 'humble' into ports/humble_to_ros2
  • 0.245.0
  • Changelog
  • humble to ros2 (#311) Co-authored-by: Michael Carroll <<michael@openrobotics.org>>
  • Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Addisu Z. Taddese, Aditya Pande, Alejandro Hernández Cordero, Ayush Singh, Jose Luis Rivero, Michael Carroll, ahcorde, andermi, jmackay2, mergify[bot]

1.0.0 (2024-04-24)

  • Use gz_vendor packages (#531)
  • ign to gz (#519)
  • Undeprecate use of commandline flags (#491)
  • Remove deprecations using ros_gz_sim_create (#476)
  • Added support for using ROS 2 parameters to spawn entities in Gazebo using ros_gz_sim::create (#475)
  • Fix bug in [create]{.title-ref} where command line arguments were truncated (#472)
  • Filter ROS arguments before gflags parsing (#453)
  • Contributors: Addisu Z. Taddese, Alejandro Hernández Cordero, Ayush Singh, Michael Carroll

0.246.0 (2023-08-31)

  • Add harmonic CI (#447)
    • Add harmonic CI
    • Include garden options
    • Add harmonic stanza

    * Additional message headers ---------

  • Replace deprecated ign_find_package with gz_find_package (#432) Co-authored-by: jmackay2 <<jmackay@gmail.com>>
  • Port: humble to ros2 (#386)
  • Merge branch 'humble' into mjcarroll/humble_to_ros2
  • Update maintainers (#376)
  • set on_exit_shutdown argument for gz-sim ExecuteProcess (#355)
  • Humble ➡️ ROS2 (#323)
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Aditya Pande, Alejandro Hernández Cordero, Michael Carroll, ahcorde, andermi, jmackay2

0.245.0 (2022-10-12)

  • humble to ros2 (#311) Co-authored-by: Michael Carroll <<michael@openrobotics.org>>
  • Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Alejandro Hernández Cordero, Michael Carroll, ahcorde

0.244.10 (2023-05-03)

0.244.9 (2022-11-03)

  • Export ROS Stopwatch library (#299) (#322) New Stopwatch library needs to be exported and built as shared Co-authored-by: Michael Anderson <<anderson@mbari.org>>
  • Contributors: Michael Carroll

0.244.8 (2022-10-28)

0.244.7 (2022-10-12)

  • Fix launch substitutions for ign_args (#309)
    • Fix launch substitutions for ign_args
  • Merge pull request #275 (Galactic to Humble) Galactic to Humble
  • Merge branch 'ros2' into ports/galactic_to_ros2
  • Contributors: Michael Carroll

0.244.6 (2022-09-14)

0.244.5 (2022-09-12)

  • Fix missing msgs include and packages.xml deps (#292)
    • Fix missing msgs include and packages.xml deps
    • Add additional conditions to support gz sim invocation
    • Fix cpplint
  • Support ros_ign migration (#282) Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci
  • Move packages and files to gz (#282)
  • Contributors: methylDragon

0.244.3 (2022-05-19)

  • [ros2] README updates (service bridge, Gazebo rename) (#252)
  • Fix linter tests (#251) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Contributors: Daisuke Nishimatsu, Louise Poubel

0.244.2 (2022-04-25)

  • Support bridging services (#211)
  • Add std_msgs as dependency of ros_gz_sim (#242)
  • Fixed ros_gz_sim launch file install directory (#229) (#230)
  • Added ign_version launch argument to set ignition gazebo version (#226)
  • Bring ros2 branch up-to-date with Rolling (#213)
  • create.cpp usage message fixed for ros2 branch (#207)
  • Separate galactic branch from ros2 branch (#201)
  • 🏁 Dome EOL (#198)
  • Contributors: Alejandro Hernández Cordero, Aryaman Shardul, Ivan Santiago Paunovic, Kenji Brameld, Louise Poubel, Michael Carroll, ahcorde

0.244.1 (2022-01-04)

0.244.0 (2021-12-30)

  • Default to Fortress for Rolling (future Humble) (#195)
  • [ros2] 🏁 Dome EOL (#199)
  • Contributors: Guillaume Doisy, Louise Poubel

0.233.2 (2021-07-20)

  • [ros2] Update version docs, add Galactic and Fortress (#164)
  • Contributors: Louise Poubel

0.233.1 (2021-04-16)

  • Default to Edifice for Rolling (#150)
  • Edifice support (#140) Co-authored-by: Alejandro Hernández <<ahcorde@gmail.com>>
  • Add topic flag to create robot (#128) Now it is possible to run ros_gz_sim create specifying a topic as source of the robot description Add a launch file starting a ignition gazebo world and spawn a sphere in it. Additionally a rviz2 interface is loaded to show that also Rviz can load the robot description The newly created demo introduce a dependency on the robot_state_publisher package
  • Add default value for plugin path in launch script (#125)
  • Fix overwriting of plugin path in launch script (#122)
    • GZ_SIM_SYSTEM_PLUGIN_PATH was overwritten by LD_LIBRARY_PATH
    • Now it is instead extended by LD_LIBRARY_PATH
    • This allows use of gz_sim.launch.py with custom gazebo plugins
  • Changed for loading xml from ROS param(#119) (#120)
  • ros_gz_sim exec depend on gz-sim (#110)
  • Update releases (#108)
  • Add support for Dome (#103)
  • Contributors: Andrej Orsula, Louise Poubel, Luca Della Vedova, Valerio Magnago, chama1176

0.221.1 (2020-08-19)

  • Add pkg-config as a buildtool dependency (#102)
  • Contributors: Louise Poubel

0.221.0 (2020-07-23)

  • [ros2] Fixed CI - Added Foxy (#89) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Added ros_gz_sim for ros2 (#80) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Update Dashing docs (#62)
  • Contributors: Alejandro Hernández Cordero, Louise Poubel, chapulina

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

  • launch/gz_server.launch
      • world_sdf_file [default: empty.sdf]
      • world_sdf_string [default: ]
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • use_composition [default: False]
  • launch/ros_gz_spawn_model.launch
      • bridge_name
      • config_file
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • namespace [default: ]
      • use_composition [default: False]
      • use_respawn [default: False]
      • log_level [default: info]
      • bridge_params [default: ]
      • world [default: ]
      • file [default: ]
      • model_string [default: ]
      • topic [default: ]
      • entity_name [default: ]
      • allow_renaming [default: False]
      • x [default: 0.0]
      • y [default: 0.0]
      • z [default: 0.0]
      • roll [default: 0.0]
      • pitch [default: 0.0]
      • yaw [default: 0.0]
  • launch/gz_spawn_model.launch
      • world [default: ]
      • file [default: ]
      • model_string [default: ]
      • topic [default: ]
      • entity_name [default: ]
      • allow_renaming [default: False]
      • x [default: ]
      • y [default: ]
      • z [default: ]
      • roll [default: ]
      • pitch [default: ]
      • yaw [default: ]
  • launch/ros_gz_sim.launch
      • bridge_name
      • config_file
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • namespace [default: ]
      • use_composition [default: False]
      • use_respawn [default: False]
      • log_level [default: info]
      • bridge_params [default: ]
      • world_sdf_file [default: empty.sdf]
      • world_sdf_string [default: ]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_gz_sim at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 2.1.2
License Apache 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/gazebosim/ros_gz.git
VCS Type git
VCS Version ros2
Last Updated 2024-11-22
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Tools for using Gazebo Sim simulation with ROS.

Additional Links

No additional links.

Maintainers

  • Alejandro Hernandez
  • Aditya Pande

Authors

  • Alejandro Hernandez
  • Addisu Taddese
  • Carlos Agüero

ROS + Gazebo Sim

This package contains things that make it convenient to integrate ROS with Gazebo, such as:

  • Launch files
  • ROS-enabled executables

Run Gazebo Sim

There’s a convenient launch file, try for example:

ros2 launch ros_gz_sim gz_sim.launch.py gz_args:="shapes.sdf"

Spawn entities

The create executable can be used to spawn SDF or URDF entities from:

  • A file on disk or from Gazebo Fuel
  • A ROS parameter

For example, start Gazebo Sim:

ros2 launch ros_gz_sim gz_sim.launch.py

then spawn a model:

ros2 run ros_gz_sim create -world default -file 'https://fuel.gazebosim.org/1.0/openrobotics/models/Gazebo'

See more options with:

ros2 run ros_gz_sim create --helpshort

Using <gazebo_ros> to export model paths in package.xml

The <gazebo_ros> tag inside the <export> tag of a package.xml file can be used to add paths to GZ_SIM_RESOURCE_PATH and GZ_SIM_SYSTEM_PLUGIN_PATH, which are environment variables used to configure Gazebo search paths for resources (e.g. SDFormat files, meshes, etc) and plugins respectively.

The values in the attributes gazebo_model_path and gazebo_media_path are appended to GZ_SIM_RESOURCE_PATH. The value of plugin_path is appended to GZ_SIM_SYSTEM_PLUGIN_PATH. See the Finding resources tutorial to learn more about these environment variables.

The keyword ${prefix} can be used when setting these values and it will be expanded to the package’s share path (i.e., the value of ros2 pkg prefix --share <package name>)

<export>
   <gazebo_ros gazebo_model_path="${prefix}/models"/>
   <gazebo_ros gazebo_media_path="${prefix}/media"/>
   <gazebo_ros plugin_path="${prefix}/plugins"/>
</export>


Thus the required directory needs to be installed from CMakeLists.txt

install(DIRECTORY models
    DESTINATION share/${PROJECT_NAME})

In order to reference the models in a ROS package unambiguously, it is recommended to set the value of gazebo_model_path to be the parent of the prefix.

<export>
   <gazebo_ros gazebo_model_path="${prefix}/../"/>
</export>


Consider an example where we have a ROS package called my_awesome_pkg and it contains an SDFormat model cool cool_robot:

my_awesome_pkg
├── models
│   └── cool_robot
│       ├── model.config
│       └── model.sdf
└── package.xml

With gazebo_model_path="${prefix}/../ set up, we can reference the cool_robot model in a world file using the package name in the uri:

<sdf version="1.6">
  <world name="default">
    <include>
      <uri>package://my_awesome_pkg/models/cool_robot</uri>
    </include>
  </world>
</sdf>

However, if we set gazebo_model_path=${prefix}/models, we would need to reference cool_robot as package://cool_robot, which might have a name conflict with other models in the system.

CHANGELOG

Changelog for package ros_gz_sim

2.1.2 (2024-10-31)

  • Create ros_gz_spawn_model.launch (#604) Co-authored-by: Alejandro Hernández Cordero <<ahcorde@gmail.com>>
  • Add create_own_container argument to ros_gz_spawn_model.launch.py (#622)
  • Fix ros_gz_sim.launch.py when create_own_container is enabled. (#620)
  • Contributors: Aarav Gupta, Amronos, Carlos Agüero

2.1.1 (2024-10-14)

  • Extra parameter to start a container (#616)
  • Bugfix: [if "false"]{.title-ref} is always [True]{.title-ref} (#617) There is an issue in this launch file when passing the string 'false' as an argument. In Python, non-empty strings are always evaluated as True, regardless of their content. This means that even if you pass 'false', the system will still evaluate it as True. This bug results in the launch system incorrectly calling the OnShutdown method twice. When any ROS launch action invokes a RosAdapter, it triggers the following exception: "Cannot shutdown a ROS adapter that is not running." To temporarily work around this issue, you can launch gz_sim_launch.py with the on_exit_shutdown argument set to an empty string. This prevents the erroneous shutdown sequence and avoids the associated exception.
  • Name gazebo sim node (#611)
  • Contributors: Carlos Agüero, Ignacio Vizzo, Nabeel Sherazi

2.1.0 (2024-09-12)

  • Change world_string to model_string in gz_spawn_model files (#606) * Change world_string to model_string Also changed description from XML string to XML(SDF) string

  • Use model string in ros_gz_spawn_model.launch.py (#605)
  • Remove default_value for required arguments (#602)
    • Remove default_value for config_file
  • Fix errors with name of bridge not being given (#600)
    • Add argument bridge_name to fix errors
  • Restore launch file (#603)
  • Use optional parameters in actions (#601)
  • Contributors: Amronos, Carlos Agüero

2.0.1 (2024-08-29)

  • Wait for create service to be available. (#588)
  • Contributors: Sebastian Kasperski

2.0.0 (2024-07-22)

  • Making use_composition true by default (#578)
  • Contributors: Addisu Z. Taddese

1.0.1 (2024-07-03)

  • Merge pull request #571 from azeey/jazzy_to_ros2 Merge jazzy ➡️ ros2
  • Merge jazzy into ros2
  • Merge pull request #569 from azeey/iron_to_jazzy Merge iron ➡️ jazzy
  • Merge remote-tracking branch 'origin/jazzy' into iron_to_jazzy
  • Add a ROS node that runs Gazebo (#500) (#567) * Add gzserver with ability to load an SDF file or string ---------(cherry picked from commit 92a2891f4adf35e4a4119aca2447dee93e22a06a) Co-authored-by: Addisu Z. Taddese <<addisu@openrobotics.org>>

  • Merge iron into jazzy
  • Merge pull request #564 from azeey/humble_to_iron Humble ➡️ Iron
  • Merge humble -> iron
  • Update launch files with name parameter (#556)
    • Name is required.
  • Launch gz_spawn_model from xml (#551) Spawn models from XML. Co-authored-by: Addisu Z. Taddese <<addisu@openrobotics.org>>
  • Launch ros_gz_bridge from xml (#550)
    • Add gzserver with ability to load an SDF file or string
  • Launch gzserver and the bridge as composable nodes (#528)
    • Add gzserver with ability to load an SDF file or string
  • Add a ROS node that runs Gazebo (#500) * Add gzserver with ability to load an SDF file or string ---------

  • Prepare for 1.0.0 Release (#495)
  • Use gz_vendor packages (#531)
  • 0.244.14
  • Changelog
  • ign to gz (#519)
  • Support [<gazebo_ros>]{.title-ref} in [package.xml]{.title-ref} exports (#492) This copies the implementation from [gazebo_ros_paths.py]{.title-ref} to provide a way for packages to set resource paths from [package.xml]{.title-ref}. ` e.g. <export> <gazebo_ros gazebo_model_path="${prefix}/models"/> <gazebo_ros gazebo_media_path="${prefix}/models"/> </export>[ The value of `gazebo_model_path]{.title-ref} and [gazebo_media_path]{.title-ref} is appended to [GZ_SIM_RESOURCE_PATH]{.title-ref} The value of [plugin_path]{.title-ref} appended to [GZ_SIM_SYSTEM_PLUGIN_PATH]{.title-ref} ---------
  • Undeprecate use of commandline flags (#491)
  • 0.244.13
  • Changelog
  • Remove deprecations using ros_gz_sim_create (#476)
  • Added support for using ROS 2 parameters to spawn entities in Gazebo using ros_gz_sim::create (#475)
  • Fix bug in [create]{.title-ref} where command line arguments were truncated (#472)
  • 0.244.12
  • Changelog
  • Filter ROS arguments before gflags parsing (#453)
  • 0.246.0
  • Update changelogs
  • Add harmonic CI (#447)
    • Add harmonic CI
    • Include garden options
    • Add harmonic stanza

    * Additional message headers ---------

  • Replace deprecated ign_find_package with gz_find_package (#432) Co-authored-by: jmackay2 <<jmackay@gmail.com>>
  • Port: humble to ros2 (#386)
  • Merge branch 'humble' into mjcarroll/humble_to_ros2
  • Update maintainers (#376)
  • set on_exit_shutdown argument for gz-sim ExecuteProcess (#355)
  • Humble ➡️ ROS2 (#323) Humble ➡️ ROS2
  • Merge branch 'humble' into ports/humble_to_ros2
  • 0.245.0
  • Changelog
  • humble to ros2 (#311) Co-authored-by: Michael Carroll <<michael@openrobotics.org>>
  • Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Addisu Z. Taddese, Aditya Pande, Alejandro Hernández Cordero, Ayush Singh, Carlos Agüero, Jose Luis Rivero, Michael Carroll, ahcorde, andermi, jmackay2, mergify[bot]

1.0.0 (2024-04-24)

  • Use gz_vendor packages (#531)
  • ign to gz (#519)
  • Undeprecate use of commandline flags (#491)
  • Remove deprecations using ros_gz_sim_create (#476)
  • Added support for using ROS 2 parameters to spawn entities in Gazebo using ros_gz_sim::create (#475)
  • Fix bug in [create]{.title-ref} where command line arguments were truncated (#472)
  • Filter ROS arguments before gflags parsing (#453)
  • Contributors: Addisu Z. Taddese, Alejandro Hernández Cordero, Ayush Singh, Michael Carroll

0.246.0 (2023-08-31)

  • Add harmonic CI (#447)
    • Add harmonic CI
    • Include garden options
    • Add harmonic stanza

    * Additional message headers ---------

  • Replace deprecated ign_find_package with gz_find_package (#432) Co-authored-by: jmackay2 <<jmackay@gmail.com>>
  • Port: humble to ros2 (#386)
  • Merge branch 'humble' into mjcarroll/humble_to_ros2
  • Update maintainers (#376)
  • set on_exit_shutdown argument for gz-sim ExecuteProcess (#355)
  • Humble ➡️ ROS2 (#323)
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Aditya Pande, Alejandro Hernández Cordero, Michael Carroll, ahcorde, andermi, jmackay2

0.245.0 (2022-10-12)

  • humble to ros2 (#311) Co-authored-by: Michael Carroll <<michael@openrobotics.org>>
  • Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
  • Remove all ignition references on ROS 2 branch (#302)
    • Remove all shims
    • Update CMakeLists and package.xml for garden
    • Complete garden gz renaming
    • Drop fortress CI
  • Contributors: Alejandro Hernández Cordero, Michael Carroll, ahcorde

0.244.10 (2023-05-03)

0.244.9 (2022-11-03)

  • Export ROS Stopwatch library (#299) (#322) New Stopwatch library needs to be exported and built as shared Co-authored-by: Michael Anderson <<anderson@mbari.org>>
  • Contributors: Michael Carroll

0.244.8 (2022-10-28)

0.244.7 (2022-10-12)

  • Fix launch substitutions for ign_args (#309)
    • Fix launch substitutions for ign_args
  • Merge pull request #275 (Galactic to Humble) Galactic to Humble
  • Merge branch 'ros2' into ports/galactic_to_ros2
  • Contributors: Michael Carroll

0.244.6 (2022-09-14)

0.244.5 (2022-09-12)

  • Fix missing msgs include and packages.xml deps (#292)
    • Fix missing msgs include and packages.xml deps
    • Add additional conditions to support gz sim invocation
    • Fix cpplint
  • Support ros_ign migration (#282) Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci
  • Move packages and files to gz (#282)
  • Contributors: methylDragon

0.244.3 (2022-05-19)

  • [ros2] README updates (service bridge, Gazebo rename) (#252)
  • Fix linter tests (#251) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Contributors: Daisuke Nishimatsu, Louise Poubel

0.244.2 (2022-04-25)

  • Support bridging services (#211)
  • Add std_msgs as dependency of ros_gz_sim (#242)
  • Fixed ros_gz_sim launch file install directory (#229) (#230)
  • Added ign_version launch argument to set ignition gazebo version (#226)
  • Bring ros2 branch up-to-date with Rolling (#213)
  • create.cpp usage message fixed for ros2 branch (#207)
  • Separate galactic branch from ros2 branch (#201)
  • 🏁 Dome EOL (#198)
  • Contributors: Alejandro Hernández Cordero, Aryaman Shardul, Ivan Santiago Paunovic, Kenji Brameld, Louise Poubel, Michael Carroll, ahcorde

0.244.1 (2022-01-04)

0.244.0 (2021-12-30)

  • Default to Fortress for Rolling (future Humble) (#195)
  • [ros2] 🏁 Dome EOL (#199)
  • Contributors: Guillaume Doisy, Louise Poubel

0.233.2 (2021-07-20)

  • [ros2] Update version docs, add Galactic and Fortress (#164)
  • Contributors: Louise Poubel

0.233.1 (2021-04-16)

  • Default to Edifice for Rolling (#150)
  • Edifice support (#140) Co-authored-by: Alejandro Hernández <<ahcorde@gmail.com>>
  • Add topic flag to create robot (#128) Now it is possible to run ros_gz_sim create specifying a topic as source of the robot description Add a launch file starting a ignition gazebo world and spawn a sphere in it. Additionally a rviz2 interface is loaded to show that also Rviz can load the robot description The newly created demo introduce a dependency on the robot_state_publisher package
  • Add default value for plugin path in launch script (#125)
  • Fix overwriting of plugin path in launch script (#122)
    • GZ_SIM_SYSTEM_PLUGIN_PATH was overwritten by LD_LIBRARY_PATH
    • Now it is instead extended by LD_LIBRARY_PATH
    • This allows use of gz_sim.launch.py with custom gazebo plugins
  • Changed for loading xml from ROS param(#119) (#120)
  • ros_gz_sim exec depend on gz-sim (#110)
  • Update releases (#108)
  • Add support for Dome (#103)
  • Contributors: Andrej Orsula, Louise Poubel, Luca Della Vedova, Valerio Magnago, chama1176

0.221.1 (2020-08-19)

  • Add pkg-config as a buildtool dependency (#102)
  • Contributors: Louise Poubel

0.221.0 (2020-07-23)

  • [ros2] Fixed CI - Added Foxy (#89) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Added ros_gz_sim for ros2 (#80) Co-authored-by: Louise Poubel <<louise@openrobotics.org>>
  • Update Dashing docs (#62)
  • Contributors: Alejandro Hernández Cordero, Louise Poubel, chapulina

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

  • launch/gz_server.launch
      • world_sdf_file [default: empty.sdf]
      • world_sdf_string [default: ]
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • use_composition [default: False]
  • launch/ros_gz_spawn_model.launch
      • bridge_name
      • config_file
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • namespace [default: ]
      • use_composition [default: False]
      • use_respawn [default: False]
      • log_level [default: info]
      • bridge_params [default: ]
      • world [default: ]
      • file [default: ]
      • model_string [default: ]
      • topic [default: ]
      • entity_name [default: ]
      • allow_renaming [default: False]
      • x [default: 0.0]
      • y [default: 0.0]
      • z [default: 0.0]
      • roll [default: 0.0]
      • pitch [default: 0.0]
      • yaw [default: 0.0]
  • launch/gz_spawn_model.launch
      • world [default: ]
      • file [default: ]
      • model_string [default: ]
      • topic [default: ]
      • entity_name [default: ]
      • allow_renaming [default: False]
      • x [default: ]
      • y [default: ]
      • z [default: ]
      • roll [default: ]
      • pitch [default: ]
      • yaw [default: ]
  • launch/ros_gz_sim.launch
      • bridge_name
      • config_file
      • container_name [default: ros_gz_container]
      • create_own_container [default: False]
      • namespace [default: ]
      • use_composition [default: False]
      • use_respawn [default: False]
      • log_level [default: info]
      • bridge_params [default: ]
      • world_sdf_file [default: empty.sdf]
      • world_sdf_string [default: ]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_gz_sim at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.