Skip to content

Restrict humble packages to humble builds (#41).#42

Open
ivanperez-keera wants to merge 1 commit into
mainfrom
develop-fix-humble-jazzy
Open

Restrict humble packages to humble builds (#41).#42
ivanperez-keera wants to merge 1 commit into
mainfrom
develop-fix-humble-jazzy

Conversation

@ivanperez-keera

Copy link
Copy Markdown
Contributor

A recent update caused some packages to break due to them not being able to build the simulation repo when being installed on jazzy. This is affecting the demos repo, where now some demos no longer build. To keep this working until we can update all demos for jazzy, we want to protect the parts of the CMakeLists.txt that are specific to a ROS distro, so that they are ignored in other cases.

This PR encloses makes the parts of the CMakeLists.txt and package.xml that are only for humble conditional, so that they are only built on that ROS distribution.

A recent update caused some packages to break due to them not being able
to build the simulation repo when being installed on jazzy. This is
affecting the demos repo, where now some demos no longer build.  To keep
this working until we can update all demos for jazzy, we want to protect
the parts of the CMakeLists.txt that are specific to a ROS distro, so
that they are ignored in other cases.

This commit encloses the portions of the `CMakeLists.txt` that were
affected by that update into conditions based on the ROS distribution
for which the package is being compiled.

It also adds conditions to the dependencies and exports included in the
`package.xml` file so that they are only introduced when building on for
the right ROS distribution.
@ivanperez-keera

ivanperez-keera commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

I've checked that this works by creating a branch in demos, making any clones of the simulation repo point to this specific branch, checking that CI now passes, re-building the lunar rover demo, launching it and checking that it runs and the rover reacts to commands.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant