Skip to content

Commit

Permalink
Imported upstream version '0.244.16' of 'upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcorde committed Nov 29, 2024
1 parent b65cb00 commit 1954499
Show file tree
Hide file tree
Showing 157 changed files with 2,577 additions and 3,052 deletions.
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# More info:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* @adityapande-1995
* @ahcorde
* @chapulina
24 changes: 20 additions & 4 deletions .github/workflows/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,31 @@ export ROS_PYTHON_VERSION=3
apt update -qq
apt install -qq -y lsb-release wget curl build-essential

echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
if [ "$GZ_VERSION" == "garden" ]; then
echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -

GZ_DEPS="libgz-sim7-dev"

ROSDEP_ARGS="--skip-keys='sdformat-urdf'"
elif [ "$GZ_VERSION" == "harmonic" ]; then
echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list
wget https://packages.osrfoundation.org/gazebo.key -O - | apt-key add -

GZ_DEPS="libgz-sim8-dev"

ROSDEP_ARGS="--skip-keys='sdformat-urdf'"
fi

# Fortress comes through rosdep for Focal and Jammy

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

rosdep init
rosdep update
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/ros2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ jobs:
fail-fast: false
matrix:
include:
- docker-image: "ubuntu:24.04"
- docker-image: "ubuntu:22.04"
gz-version: "fortress"
ros-distro: "humble"
- docker-image: "ubuntu:22.04"
gz-version: "garden"
ros-distro: "humble"
- docker-image: "ubuntu:22.04"
gz-version: "harmonic"
ros-distro: "jazzy"
ros-distro: "humble"
container:
image: ${{ matrix.docker-image }}
steps:
Expand All @@ -24,3 +30,9 @@ jobs:
DOCKER_IMAGE: ${{ matrix.docker-image }}
GZ_VERSION: ${{ matrix.gz-version }}
ROS_DISTRO: ${{ matrix.ros-distro }}
- name: Build sdformat_urdf from source
uses: actions/checkout@v4
if: ${{ matrix.gz-version }} == "garden"
with:
repository: ros/sdformat_urdf
ref: humble
8 changes: 5 additions & 3 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Add ticket to inbox
uses: actions/add-to-project@v0.5.0
uses: technote-space/create-project-card-action@v1
with:
project-url: https://github.com/orgs/gazebosim/projects/7
github-token: ${{ secrets.TRIAGE_TOKEN }}
PROJECT: Core development
COLUMN: Inbox
GITHUB_TOKEN: ${{ secrets.TRIAGE_TOKEN }}
CHECK_ORG_PROJECT: true

42 changes: 27 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ Galactic | Fortress | [galactic](https://github.com/gazebosim/ros_gz/tree/galact
Humble | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
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]
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]
Iron | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | https://packages.ros.org
Iron | Garden | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Iron | Harmonic | [humble](https://github.com/gazebosim/ros_gz/tree/iron) | only from source
Jazzy | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
Jazzy | Harmonic | [jazzy](https://github.com/gazebosim/ros_gz/tree/jazzy) | https://packages.ros.org
Rolling | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) | https://packages.ros.org
Rolling | Edifice | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
Rolling | Fortress | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | https://packages.ros.org
Rolling | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
Rolling | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source

[^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.

For information on ROS(1) and Gazebo compatibility, refer to the [noetic branch README](https://github.com/gazebosim/ros_gz/tree/noetic)
For information on ROS 2 and Gazebo compatibility, refer to the [melodic branch README](https://github.com/gazebosim/ros_gz/tree/melodic)

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

## Install

This branch supports ROS Jazzy. See above for other ROS versions.
This branch supports ROS Humble. See above for other ROS versions.

### Binaries

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

1. Add https://packages.ros.org
Expand All @@ -74,24 +70,24 @@ They are hosted at https://packages.ros.org.

1. Install `ros_gz`

sudo apt install ros-jazzy-ros-gz
sudo apt install ros-humble-ros-gz

### From source

#### ROS

Be sure you've installed
[ROS Jazzy](https://docs.ros.org/en/jazzy/Installation.html)
[ROS Humble](https://docs.ros.org/en/humble/Installation.html)
(at least ROS-Base). More ROS dependencies will be installed below.

#### Gazebo

Install either [Garden or Harmonic](https://gazebosim.org/docs).
Install either [Edifice, Fortress, or Garden](https://gazebosim.org/docs).

Set the `GZ_VERSION` environment variable to the Gazebo version you'd
like to compile against. For example:

export GZ_VERSION=harmonic # IMPORTANT: Replace with correct version
export GZ_VERSION=edifice # IMPORTANT: Replace with correct version

> You only need to set this variable when compiling, not when running.
Expand All @@ -107,14 +103,14 @@ The following steps are for Linux and OSX.
cd ~/ws/src
# Download needed software
git clone https://github.com/gazebosim/ros_gz.git -b jazzy
git clone https://github.com/gazebosim/ros_gz.git -b humble
```
1. Install dependencies (this may also install Gazebo):
```
cd ~/ws
rosdep install -r --from-paths src -i -y --rosdistro jazzy
rosdep install -r --from-paths src -i -y --rosdistro humble
```
> If `rosdep` fails to install Gazebo libraries and you have not installed them before, please follow [Gazebo installation instructions](https://gazebosim.org/docs/latest/install).
Expand All @@ -134,6 +130,22 @@ The following steps are for Linux and OSX.
> 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.
If `colcon build` fails with [this issue](https://github.com/gazebosim/ros_gz/issues/401)
```
CMake Error at CMakeLists.txt:81 (find_package):
By not providing "Findactuator_msgs.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"actuator_msgs", but CMake did not find one.
```
```bash
cd src
git clone [email protected]:rudislabs/actuator_msgs.git
cd ../
colcon build
```
## ROSCon 2022
[![](img/video_img.png)](https://vimeo.com/showcase/9954564/video/767127300)
Expand Down
2 changes: 1 addition & 1 deletion README_RENAME.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This allows users to do either of these and get equivalent behavior:

```bash
ros2 run ros_gz parameter_bridge [...]
ros2 run ros_gz parameter_bridge [...] # Will emit deprecation warning
ros2 run ros_ign parameter_bridge [...] # Will emit deprecation warning
```

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.)
Binary file removed img/video_img.png
Binary file not shown.
62 changes: 12 additions & 50 deletions ros_gz/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,23 @@
Changelog for package ros_gz
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.7 (2024-11-08)
------------------

1.0.6 (2024-10-31)
------------------

1.0.5 (2024-10-14)
------------------
0.244.16 (2024-07-22)
---------------------

1.0.4 (2024-08-29)
------------------
0.244.15 (2024-07-03)
---------------------

1.0.3 (2024-07-22)
------------------
0.244.14 (2024-04-08)
---------------------

1.0.2 (2024-07-03)
------------------
* Prepare for 1.0.0 Release (`#495 <https://github.com/gazebosim/ros_gz//issues/495>`_)
* 0.244.14
* Changelog
* 0.244.13
* Changelog
* 0.244.12
* Changelog
* 0.246.0
* Update changelogs
* Port: humble to ros2 (`#386 <https://github.com/gazebosim/ros_gz//issues/386>`_)
* Merge branch 'humble' into mjcarroll/humble_to_ros2
* Update maintainers (`#376 <https://github.com/gazebosim/ros_gz//issues/376>`_)
* Humble ➡️ ROS2 (`#323 <https://github.com/gazebosim/ros_gz//issues/323>`_)
Humble ➡️ ROS2
* Merge branch 'humble' into ports/humble_to_ros2
* 0.245.0
* Changelog
* humble to ros2 (`#311 <https://github.com/gazebosim/ros_gz//issues/311>`_)
Co-authored-by: Michael Carroll <[email protected]>
* Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
* Contributors: Addisu Z. Taddese, Aditya Pande, Alejandro Hernández Cordero, Jose Luis Rivero, Michael Carroll, ahcorde

1.0.0 (2024-04-24)
------------------
0.244.13 (2024-01-23)
---------------------

0.246.0 (2023-08-31)
--------------------
* Port: humble to ros2 (`#386 <https://github.com/gazebosim/ros_gz/issues/386>`_)
* Update maintainers (`#376 <https://github.com/gazebosim/ros_gz/issues/376>`_)
* Humble ➡️ ROS2 (`#323 <https://github.com/gazebosim/ros_gz/issues/323>`_)
* Contributors: Aditya Pande, Alejandro Hernández Cordero, Michael Carroll, ahcorde
0.244.12 (2023-12-13)
---------------------

0.245.0 (2022-10-12)
--------------------
* humble to ros2 (`#311 <https://github.com/gazebosim/ros_gz/issues/311>`_)
Co-authored-by: Michael Carroll <[email protected]>
* Merge remote-tracking branch 'origin/humble' into ahcorde/humble_to_ros2
* Contributors: Alejandro Hernández Cordero, ahcorde
0.244.11 (2023-05-23)
---------------------

0.244.10 (2023-05-03)
---------------------
Expand Down
7 changes: 2 additions & 5 deletions ros_gz/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
<!-- TODO: Make this a metapackage, see
https://github.com/ros2/ros2/issues/408 -->
<name>ros_gz</name>
<version>1.0.7</version>
<version>0.244.16</version>
<description>Meta-package containing interfaces for using ROS 2 with <a href="https://gazebosim.org">Gazebo</a> simulation.</description>
<maintainer email="[email protected]">Aditya Pande</maintainer>
<maintainer email="[email protected]">Alejandro Hernandez</maintainer>
<maintainer email="[email protected]">Louise Poubel</maintainer>
<license>Apache 2.0</license>

<author>Louise Poubel</author>

<buildtool_depend>ament_cmake</buildtool_depend>

<exec_depend>ros_gz_bridge</exec_depend>
Expand Down
Loading

0 comments on commit 1954499

Please sign in to comment.