GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rudislabs/ros_gz: Integration between ROS (1 and 2) and Gazebo simulation

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

587 Commits
587 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
img
img
 
 
ros_gz
ros_gz
 
 
ros_gz_bridge
ros_gz_bridge
 
 
ros_gz_image
ros_gz_image
 
 
ros_gz_interfaces
ros_gz_interfaces
 
 
ros_gz_point_cloud
ros_gz_point_cloud
 
 
ros_gz_sim
ros_gz_sim
 
 
ros_gz_sim_demos
ros_gz_sim_demos
 
 
test_ros_gz_bridge
test_ros_gz_bridge
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README_RENAME.md
README_RENAME.md
 
 
RELEASING.md
RELEASING.md
 
 

Repository files navigation

Build Status

ROS 2 version Gazebo version Branch Binaries hosted at
Humble Fortress humble https://packages.ros.org
Humble Garden humble gazebo packages1 2
Humble Harmonic humble gazebo packages1
Jazzy Garden ros2 only from source 2
Jazzy Harmonic jazzy https://packages.ros.org
Kilted Ionic kilted https://packages.ros.org
Rolling Harmonic ros2 only from source
Rolling Ionic ros2 only from source
Rolling Jetty ros2 https://packages.ros.org

For information on ROS(1) and Gazebo compatibility, refer to the noetic branch README

Details about the renaming process from ign to gz .

Note: The ros_ign prefixed packages are shim packages that redirect to their ros_gz counterpart. Under most circumstances you want to be using the ros_gz counterpart.

Integration between ROS and Gazebo

Packages

This repository holds packages that provide integration between ROS and Gazebo:

  • ros_gz: Metapackage which provides all the other packages.
  • ros_gz_image: Unidirectional transport bridge for images from Gazebo Transport to ROS using image_transport.
  • ros_gz_bridge: Bidirectional transport bridge between Gazebo Transport and ROS.
  • ros_gz_sim: Convenient launch files and executables for using Gazebo Sim with ROS.
  • ros_gz_sim_demos: Demos using the ROS-Gazebo integration.
  • ros_gz_point_cloud: Plugins for publishing point clouds to ROS from Gazebo Sim simulations.

Install

This branch supports ROS Rolling. See above for other ROS versions.

Binaries

Rolling binaries are available for Fortress. They are hosted at https://packages.ros.org.

  1. Add https://packages.ros.org

     sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
     curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
     sudo apt-get update
    
  2. Install ros_gz

     sudo apt install ros-rolling-ros-gz
    

From source

ROS

Be sure you've installed ROS Rolling (at least ROS-Base). More ROS dependencies will be installed below.

Gazebo

The version of Gazebo paired with Rolling will automatically be installed when running rosdep below.

Compile ros_gz

The following steps are for Linux and macOS.

  1. Create a colcon workspace:

    # Setup the workspace
    mkdir -p ~/ws/src
    cd ~/ws/src
    
    # Download needed software
    git clone https://github.com/gazebosim/ros_gz.git -b ros2
    
  2. Install dependencies (this may also install Gazebo):

    cd ~/ws
    rosdep install -r --from-paths src -i -y --rosdistro rolling
    

    If rosdep fails to install Gazebo libraries and you have not installed them before, please follow Gazebo installation instructions.

  3. Build the workspace:

    # Source ROS distro's setup.bash
    source /opt/ros/<distro>/setup.bash
    
    # Build and install into workspace
    cd ~/ws
    colcon build
    

Tip

The ros_gz library makes heavy use of templates which causes compilers to consume a lot of memory. If your build fails with c++: fatal error: Killed signal terminated program cc1plus try building with colcon build --parallel-workers=1 --executor sequential. You might also have to set export MAKEFLAGS="-j 1" before running colcon build to limit the number of processors used to build a single package.

ROSCon 2022

Project Template

A template project integrating ROS and Gazebo simulator

Footnotes

  1. Binaries for these pairings are provided from the packages.osrfoundation.org repository. Refer to https://gazebosim.org/docs/latest/ros_installation for installation instructions. ↩ ↩2

  2. Note that the Gazebo version on this row has reached end-of-life. ↩ ↩2

About

Integration between ROS (1 and 2) and Gazebo simulation

gazebosim.org

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.