Skip to content

Commit b81ff89

Browse files
authored
Merge branch 'gazebosim:ros2' into pr-camera-track
2 parents 2a7b0f1 + e1417a9 commit b81ff89

File tree

165 files changed

+4012
-2353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+4012
-2353
lines changed

.github/CODEOWNERS

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# More info:
22
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
33

4-
* @chapulina
4+
* @adityapande-1995
5+
* @ahcorde

.github/workflows/build-and-test.sh

+4-20
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,15 @@ export ROS_PYTHON_VERSION=3
1010
apt update -qq
1111
apt install -qq -y lsb-release wget curl build-essential
1212

13-
if [ "$GZ_VERSION" == "garden" ]; then
14-
echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
15-
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
16-
17-
GZ_DEPS="libgz-sim7-dev"
18-
19-
ROSDEP_ARGS="--skip-keys='sdformat-urdf'"
20-
elif [ "$GZ_VERSION" == "harmonic" ]; then
21-
echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
22-
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
23-
24-
GZ_DEPS="libgz-sim8-dev"
25-
26-
ROSDEP_ARGS="--skip-keys='sdformat-urdf'"
27-
fi
28-
29-
# Fortress comes through rosdep for Focal and Jammy
13+
echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
14+
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
3015

3116
# Dependencies.
3217
echo "deb http://packages.ros.org/ros2-testing/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-testing.list
3318
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
3419
apt-get update -qq
35-
apt-get install -y $GZ_DEPS \
36-
python3-colcon-common-extensions \
37-
python3-rosdep
20+
apt-get install -y python3-colcon-common-extensions \
21+
python3-rosdep
3822

3923
rosdep init
4024
rosdep update

.github/workflows/ros2-ci.yml

+2-23
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,17 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
- docker-image: "ubuntu:22.04"
14-
gz-version: "fortress"
15-
ros-distro: "humble"
16-
- docker-image: "ubuntu:22.04"
17-
gz-version: "garden"
18-
ros-distro: "humble"
19-
- docker-image: "ubuntu:22.04"
20-
gz-version: "harmonic"
21-
ros-distro: "humble"
22-
- docker-image: "ubuntu:22.04"
23-
gz-version: "fortress"
24-
ros-distro: "rolling"
25-
- docker-image: "ubuntu:22.04"
26-
gz-version: "garden"
27-
ros-distro: "rolling"
28-
- docker-image: "ubuntu:22.04"
13+
- docker-image: "ubuntu:24.04"
2914
gz-version: "harmonic"
3015
ros-distro: "rolling"
3116
container:
3217
image: ${{ matrix.docker-image }}
3318
steps:
3419
- name: Checkout
35-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
3621
- name: Build and Test
3722
run: .github/workflows/build-and-test.sh
3823
env:
3924
DOCKER_IMAGE: ${{ matrix.docker-image }}
4025
GZ_VERSION: ${{ matrix.gz-version }}
4126
ROS_DISTRO: ${{ matrix.ros-distro }}
42-
- name: Build sdformat_urdf from source
43-
uses: actions/checkout@v2
44-
if: ${{ matrix.gz-version }} == "garden"
45-
with:
46-
repository: ros/sdformat_urdf
47-
ref: ros2

.github/workflows/triage.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Add ticket to inbox
13-
uses: technote-space/create-project-card-action@v1
13+
uses: actions/[email protected]
1414
with:
15-
PROJECT: Core development
16-
COLUMN: Inbox
17-
GITHUB_TOKEN: ${{ secrets.TRIAGE_TOKEN }}
18-
CHECK_ORG_PROJECT: true
15+
project-url: https://github.com/orgs/gazebosim/projects/7
16+
github-token: ${{ secrets.TRIAGE_TOKEN }}
1917

README.md

+15-25
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@ Galactic | Edifice | [galactic](https://github.com/gazebosim/ros_gz/tree/galacti
88
Galactic | Fortress | [galactic](https://github.com/gazebosim/ros_gz/tree/galactic) | only from source
99
Humble | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
1010
Humble | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | [gazebo packages](https://gazebosim.org/docs/latest/ros_installation#gazebo-garden-with-ros-2-humble-iron-or-rolling-use-with-caution-)[^1]
11-
Humble | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | only from source
12-
Rolling | Edifice | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
13-
Rolling | Fortress | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | https://packages.ros.org
11+
Humble | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | [gazebo packages](https://gazebosim.org/docs/harmonic/ros_installation#-gazebo-harmonic-with-ros-2-humble-iron-or-rolling-use-with-caution-)[^1]
12+
Iron | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | https://packages.ros.org
13+
Iron | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
14+
Iron | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
15+
Jazzy* | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
16+
Jazzy* | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | https://packages.ros.org
17+
Rolling | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
1418
Rolling | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
1519
Rolling | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
1620

1721
[^1]: Binaries for these pairings are provided from a the packages.osrfoundation.org repository. Refer to https://gazebosim.org/docs/latest/ros_installation for installation instructions.
1822

19-
For information on ROS 2 and Gazebo compatibility, refer to the [melodic branch README](https://github.com/gazebosim/ros_gz/tree/melodic)
23+
* ROS 2 Jazzy Jalisco is slated for release on May 23rd, 2024. [Full ROS 2 release information is available in REP-2000.]
24+
25+
For information on ROS(1) and Gazebo compatibility, refer to the [noetic branch README](https://github.com/gazebosim/ros_gz/tree/noetic)
2026

2127
> Please [ticket an issue](https://github.com/gazebosim/ros_gz/issues/) if you'd like support to be added for some combination.
2228
@@ -55,11 +61,11 @@ This repository holds packages that provide integration between
5561

5662
## Install
5763

58-
This branch supports ROS Humble. See above for other ROS versions.
64+
This branch supports ROS Rolling. See above for other ROS versions.
5965

6066
### Binaries
6167

62-
Humble binaries are available for Fortress.
68+
Rolling binaries are available for Fortress.
6369
They are hosted at https://packages.ros.org.
6470

6571
1. Add https://packages.ros.org
@@ -70,14 +76,14 @@ They are hosted at https://packages.ros.org.
7076

7177
1. Install `ros_gz`
7278

73-
sudo apt install ros-humble-ros-gz
79+
sudo apt install ros-rolling-ros-gz
7480

7581
### From source
7682

7783
#### ROS
7884

7985
Be sure you've installed
80-
[ROS Humble](https://docs.ros.org/en/humble/Installation.html)
86+
[ROS Rolling](https://index.ros.org/doc/ros2/Installation/)
8187
(at least ROS-Base). More ROS dependencies will be installed below.
8288

8389
#### Gazebo
@@ -103,7 +109,7 @@ The following steps are for Linux and OSX.
103109
cd ~/ws/src
104110
105111
# Download needed software
106-
git clone https://github.com/gazebosim/ros_gz.git -b humble
112+
git clone https://github.com/gazebosim/ros_gz.git -b ros2
107113
```
108114
109115
1. Install dependencies (this may also install Gazebo):
@@ -130,22 +136,6 @@ The following steps are for Linux and OSX.
130136
> 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
131137
> the number of processors used to build a single package.
132138
133-
If `colcon build` fails with [this issue](https://github.com/gazebosim/ros_gz/issues/401)
134-
135-
```
136-
CMake Error at CMakeLists.txt:81 (find_package):
137-
By not providing "Findactuator_msgs.cmake" in CMAKE_MODULE_PATH this
138-
project has asked CMake to find a package configuration file provided by
139-
"actuator_msgs", but CMake did not find one.
140-
```
141-
142-
```bash
143-
cd src
144-
git clone [email protected]:rudislabs/actuator_msgs.git
145-
cd ../
146-
colcon build
147-
```
148-
149139
## ROSCon 2022
150140
151141
[![](img/video_img.png)](https://vimeo.com/showcase/9954564/video/767127300)

README_RENAME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This allows users to do either of these and get equivalent behavior:
77

88
```bash
99
ros2 run ros_gz parameter_bridge [...]
10-
ros2 run ros_ign parameter_bridge [...] # Will emit deprecation warning
10+
ros2 run ros_gz parameter_bridge [...] # Will emit deprecation warning
1111
```
1212

1313
Additionally, installed files like launch files, message interfaces etc. are **duplicated** versions of the ones in `ros_gz` (but renamed as appropriate), and point to `ros_gz` dependencies as well (e.g. launch files pointing to `ros_gz` nodes.)

img/video_img.png

217 KB
Loading

ros_gz/CHANGELOG.rst

+42-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,49 @@
22
Changelog for package ros_gz
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5-
0.244.12 (2023-12-13)
6-
---------------------
5+
2.0.0 (2024-07-22)
6+
------------------
77

8-
0.244.11 (2023-05-23)
9-
---------------------
8+
1.0.1 (2024-07-03)
9+
------------------
10+
* Prepare for 1.0.0 Release (`#495 <https://github.com/gazebosim/ros_gz//issues/495>`_)
11+
* 0.244.14
12+
* Changelog
13+
* 0.244.13
14+
* Changelog
15+
* 0.244.12
16+
* Changelog
17+
* 0.246.0
18+
* Update changelogs
19+
* Port: humble to ros2 (`#386 <https://github.com/gazebosim/ros_gz//issues/386>`_)
20+
* Merge branch 'humble' into mjcarroll/humble_to_ros2
21+
* Update maintainers (`#376 <https://github.com/gazebosim/ros_gz//issues/376>`_)
22+
* Humble ➡️ ROS2 (`#323 <https://github.com/gazebosim/ros_gz//issues/323>`_)
23+
Humble ➡️ ROS2
24+
* Merge branch 'humble' into ports/humble_to_ros2
25+
* 0.245.0
26+
* Changelog
27+
* humble to ros2 (`#311 <https://github.com/gazebosim/ros_gz//issues/311>`_)
28+
Co-authored-by: Michael Carroll <[email protected]>
29+
* Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
30+
* Contributors: Addisu Z. Taddese, Aditya Pande, Alejandro Hernández Cordero, Jose Luis Rivero, Michael Carroll, ahcorde
31+
32+
1.0.0 (2024-04-24)
33+
------------------
34+
35+
0.246.0 (2023-08-31)
36+
--------------------
37+
* Port: humble to ros2 (`#386 <https://github.com/gazebosim/ros_gz/issues/386>`_)
38+
* Update maintainers (`#376 <https://github.com/gazebosim/ros_gz/issues/376>`_)
39+
* Humble ➡️ ROS2 (`#323 <https://github.com/gazebosim/ros_gz/issues/323>`_)
40+
* Contributors: Aditya Pande, Alejandro Hernández Cordero, Michael Carroll, ahcorde
41+
42+
0.245.0 (2022-10-12)
43+
--------------------
44+
* humble to ros2 (`#311 <https://github.com/gazebosim/ros_gz/issues/311>`_)
45+
Co-authored-by: Michael Carroll <[email protected]>
46+
* Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
47+
* Contributors: Alejandro Hernández Cordero, ahcorde
1048

1149
0.244.10 (2023-05-03)
1250
---------------------

ros_gz/package.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
<!-- TODO: Make this a metapackage, see
55
https://github.com/ros2/ros2/issues/408 -->
66
<name>ros_gz</name>
7-
<version>0.244.12</version>
7+
<version>2.0.0</version>
88
<description>Meta-package containing interfaces for using ROS 2 with <a href="https://gazebosim.org">Gazebo</a> simulation.</description>
9-
<maintainer email="[email protected]">Louise Poubel</maintainer>
9+
<maintainer email="[email protected]">Aditya Pande</maintainer>
10+
<maintainer email="[email protected]">Alejandro Hernandez</maintainer>
1011
<license>Apache 2.0</license>
1112

13+
<author>Louise Poubel</author>
14+
1215
<buildtool_depend>ament_cmake</buildtool_depend>
1316

1417
<exec_depend>ros_gz_bridge</exec_depend>

0 commit comments

Comments
 (0)