Skip to content

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

Merged
ivanperez-keera merged 1 commit into
mainfrom
develop-fix-humble-jazzy
Jul 7, 2026
Merged

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

Conversation

@ivanperez-keera

@ivanperez-keera ivanperez-keera commented Jul 4, 2026

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

@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.

CI building correctly in demos repo:

image

Demo running correctly:

image

@ivanperez-keera

Copy link
Copy Markdown
Contributor Author

@space-ros/maintainers, can I get an approval of this PR, please?

@JWhitleyWork JWhitleyWork left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment.

Comment thread package.xml
@ivanperez-keera
ivanperez-keera force-pushed the develop-fix-humble-jazzy branch from 3d213f9 to e65eb7c Compare July 6, 2026 17:42
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 force-pushed the develop-fix-humble-jazzy branch from e65eb7c to edf1447 Compare July 6, 2026 17:43

@JWhitleyWork JWhitleyWork left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ivanperez-keera
ivanperez-keera merged commit 6d2409f into main Jul 7, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in Space ROS Project Development Jul 7, 2026
@ivanperez-keera ivanperez-keera self-assigned this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants