Skip to content

Commit 2249105

Browse files
authored
Remove message transforms and update build for Lyrical (#90)
* Remove mobile_to_maritime dependency and update rosdeps * Fix demos and run pre-commit * Try to fix pipelines * Fix trajectory CI errors * Fix thruster controller CI errors * Fix impedance controller ci errors
1 parent 93da675 commit 2249105

72 files changed

Lines changed: 229 additions & 386 deletions

File tree

Some content is hidden

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

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Checks: >
99
performance-*,
1010
portability-*,
1111
readability-*,
12+
-portability-avoid-pragma-once,
1213
-google-readability-braces-around-statements,
1314
-google-readability-namespace-comments,
1415
-google-runtime-references,

.devcontainer/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN sudo apt-get -q update \
6363
&& sudo rm -rf /var/lib/apt/lists/*
6464

6565
RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
66-
&& colcon build \
66+
&& colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
6767
&& echo "source ${USER_WORKSPACE}/install/setup.bash" >> /home/$USERNAME/.bashrc \
6868
&& echo "if [ -f /opt/ros/${ROS_DISTRO}/setup.bash ]; then source /opt/ros/${ROS_DISTRO}/setup.bash; fi" >> /home/$USERNAME/.bashrc
6969

@@ -74,12 +74,16 @@ RUN pip install \
7474
pre-commit
7575

7676
# Install debugging/linting C++ packages
77+
# libstdc++-16-dev completes the gcc-16 toolchain that gets pulled in transitively
78+
# without it, which otherwise leaves clang-tidy's GCC auto-detection unable to find
79+
# standard library headers.
7780
RUN sudo apt-get -q update \
7881
&& sudo apt-get -q -y upgrade \
7982
&& sudo apt-get install -y \
80-
clang-format-18 \
83+
clang-format-22 \
8184
clang-tidy \
8285
clang-tools \
86+
libstdc++-16-dev \
8387
&& sudo apt-get autoremove -y \
8488
&& sudo apt-get clean -y \
8589
&& sudo rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
11
{
2-
"name": "ROS 2 Dev Container",
3-
"dockerFile": "Dockerfile",
4-
"context": "../",
5-
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ubuntu/ws_ros/src/auv_controllers,type=bind",
6-
"workspaceFolder": "/home/ubuntu/ws_ros/src/auv_controllers",
7-
"remoteUser": "ubuntu",
8-
"customizations": {
9-
"vscode": {
10-
"extensions": [
11-
"ms-azuretools.vscode-docker",
12-
"ms-python.python",
13-
"njpwerner.autodocstring",
14-
"ms-vscode.cpptools",
15-
"redhat.vscode-xml",
16-
"redhat.vscode-yaml",
17-
"smilerobotics.urdf",
18-
"DavidAnson.vscode-markdownlint",
19-
"esbenp.prettier-vscode",
20-
"xaver.clang-format",
21-
"charliermarsh.ruff",
22-
"ms-vscode.cmake-tools"
23-
]
2+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ubuntu/ws_ros/src/auv_controllers,type=bind",
3+
"workspaceFolder": "/home/ubuntu/ws_ros/src/auv_controllers",
4+
"remoteUser": "ubuntu",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"context": "../"
248
}
25-
}
269
}

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313
!topic_sensors
1414
!twist_controllers
1515
!whole_body_controllers
16+
!trajectory_controllers
17+
!controller_coordinator
18+
!impedance_controller
1619
!ros2.repos

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
ROS_DISTRO: ${{ matrix.env.ROS_DISTRO }}
3131
CXXFLAGS: -Wall -Wextra -Wpedantic -std=c++20
3232
CLANG_TIDY: true
33+
# Ubuntu's gcc-16 metapackage is pulled in transitively without a matching
34+
# libstdc++-16-dev, which leaves clang-tidy's GCC auto-detection pointing at
35+
# an incomplete toolchain and unable to find standard library headers.
36+
ADDITIONAL_DEBS: libstdc++-16-dev
3337
UPSTREAM_WORKSPACE: ros2.repos
3438
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
3539
AFTER_SETUP_DOWNSTREAM_WORKSPACE: vcs pull $BASEDIR/downstream_ws/src

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@ build/
33
install/
44
log/
55

6+
# Python Cache
67
.mypy_cache/
78
.ruff_cache/
9+
10+
# CMake Cache
11+
.cache
12+
13+
# Zed settings
14+
.zed

.vscode/c_cpp_properties.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 86 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

auv_control_demos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for package auv_control_demos
22

3+
## 0.5.1 (2026-08-14)
4+
5+
- Declares the missing `rclpy` dependency
6+
37
## 0.5.0 (2026-05-29)
48

59
## 0.4.3 (2026-04-25)

0 commit comments

Comments
 (0)