Skip to content

Jazzy migration#628

Merged
texhnolyze merged 82 commits intomainfrom
feature/jazzy-ubuntu2404-devcontainer
May 29, 2025
Merged

Jazzy migration#628
texhnolyze merged 82 commits intomainfrom
feature/jazzy-ubuntu2404-devcontainer

Conversation

@Flova
Copy link
Copy Markdown
Member

@Flova Flova commented Nov 23, 2024

No description provided.

@JanNiklasFeld
Copy link
Copy Markdown
Member

TODO: Fix cppformat in Jazzy

@Flova Flova changed the title Jazzy devcontainer Jazzy migration Nov 24, 2024
@Flova
Copy link
Copy Markdown
Member Author

Flova commented Nov 24, 2024

The CI seems to fail due to floating point errors in the team_communication.

@texhnolyze
Copy link
Copy Markdown
Contributor

I've adjusted the team_communication snapshots

texhnolyze and others added 9 commits December 5, 2024 17:44
starting from `~` instead of using the whole path
to prevent issues when interacting with the repository both from within
the container and outside the container, due to permissions not being
correct
in `Dockerfile`, because the `updateRemoteUserUID` setting of the
devcontainer does not change the `GID` of the `containerUser`
dynamically to the one of the host user if the group exists in the
container already microsoft/vscode-remote-release#2402.

In our case the `containerUser` is set to `bitbots`, because it
automatically uses the last `USER` instruction from the `Dockerfile` and
the `remoteUser` inherits from `containerUser`.

For reference see: microsoft/vscode-remote-release#1155
as with upgrade to jazzy or packages floating point handling seems to
have changed slightly
@texhnolyze texhnolyze force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from 4b8b0e9 to 8ecfb93 Compare December 5, 2024 16:44
@Flova
Copy link
Copy Markdown
Member Author

Flova commented Dec 12, 2024

TODO after merge: Revert #634

Flova and others added 12 commits December 12, 2024 10:50
to ensure that the CI `colcon test` run works, because with a change to
python 3.12 the `unittest` standard library used by default with colcon
now exits with an error code of 5 for an empty test suite.

See: colcon/colcon-core#678
See: python/cpython#102051
When using the colcon `--symlink-install` flag (as we usually do),
one gets shown the following huge warning for every Python-package:

```
/usr/lib/python3/dist-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See pypa/setuptools#917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
---
```

Has been solved by: ros2/ros2#1577 (comment)
This resolves the following cmake warning, that seems to appear when pybind is in use:
```
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
```
```
--- stderr: bitbots_webots_sim
CMake Warning at /opt/ros/jazzy/share/gazebo_msgs/cmake/gazebo_msgs-extras.cmake:6 (message):
  This gazebo_msgs package hosts messages designed initially for Gazebo
  Classic which is not available on ROS 2 Jazzy which is unavailable on ROS 2
  Jazzy.  The new Gazebo uses the ros_gz bridge message vailable
  at:https://github.com/gazebosim/ros_gz/tree/ros2/ros_gz_bridge#bridge-communication-between-ros-and-gazebo

  To avoid this warning and use this Gazebo Classic messages anyway you can
  use flag -DIGNORE_GAZEBO_MSGS_WARNING
Call Stack (most recent call first):
  /opt/ros/jazzy/share/gazebo_msgs/cmake/gazebo_msgsConfig.cmake:41 (include)
  CMakeLists.txt:18 (find_package)
```
@jaagut jaagut marked this pull request as ready for review April 8, 2025 11:37
@jaagut jaagut moved this from 🏗 In progress to 👀 In review in Software Apr 8, 2025
@jaagut jaagut force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from 6ef7985 to 2594e44 Compare April 8, 2025 12:13
@texhnolyze texhnolyze force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from e9ebadf to 2594e44 Compare May 15, 2025 09:34
ayin21 and others added 2 commits May 21, 2025 13:05
by preventing duplicated rosbag recording as it moved to teamplayer and
using IMU data for the walking phase reset.
As we do not have foot pressure sensors in the configured devices for
hlvs, the robot will not walk otherwise.
@texhnolyze texhnolyze force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from c41e7f9 to 86b73ba Compare May 22, 2025 17:00
@texhnolyze texhnolyze force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from 4651c77 to 6f8b78c Compare May 28, 2025 23:03
- run ros apt key download with `sudo` to access `/usr/share`
- add python bins in `~/.local/bin` to `PATH`
- add `BRANCH` argument, of `bitbots_main` branch to checkout
@texhnolyze texhnolyze force-pushed the feature/jazzy-ubuntu2404-devcontainer branch from bbef9f9 to 7211a8c Compare May 29, 2025 09:41
@texhnolyze texhnolyze merged commit 8acf67c into main May 29, 2025
2 of 3 checks passed
@texhnolyze texhnolyze deleted the feature/jazzy-ubuntu2404-devcontainer branch May 29, 2025 11:29
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Software May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

6 participants