Migrate to ROS2 Lyrical for all non-lidar packages

- Switch base image / repos file / rosdep distro from jazzy to lyrical
  (ros:lyrical is built on Ubuntu resolute/26.04).
- Vendor transport_drivers (serial_driver/io_context/udp_driver) since
  lyrical apt packages for them are not yet published; patch removes
  the now-gone ament_target_dependencies() macro.
- Fix ament_target_dependencies() removal across agv_pro_base,
  agv_pro_hardware, agv_pro_rviz_plugins, and slam_gmapping by switching
  to target_link_libraries() with namespaced imported targets (or raw
  *_LIBRARIES/*_INCLUDE_DIRS variables for packages with no modern
  target: serial_driver, ASIO).
- Migrate agv_pro_rviz_plugins from Qt5 to Qt6.
- Fix Boost 1.90 dropping libboost-system-dev: use header-only
  Boost::boost instead of a system component.
- Rename boost::asio::io_service -> io_context and
  mutable_buffers_1 -> mutable_buffer (Asio API removal) in
  agv_pro_hardware and agv_pro_base.
- Update tf2/message_filters includes from removed .h shims to .hpp,
  and fix message_filters::Subscriber's QoS constructor signature.
- Regenerate rosdep-packages.txt for lyrical; skip cartographer_ros/
  orbbec_camera in rosdep install (exec_depend-only, not yet published
  as ros-lyrical-* apt packages -- tracked in TODO.md).
- Lidar packages (fast_lio, livox_*, lslidar_*, point_lio,
  unitree_lidar_*) are deferred; their patches are present but not
  verified yet under lyrical.

Verified: full docker build succeeds with colcon build reporting all
23 non-lidar/transport packages finished, 0 failed.
This commit is contained in:
Matt Spencer committed 2026-10-19 17:48:21 +01:00
1 parent bbcb753c94
commit 46f7cbb8b5
27 files changed
+362 -137

No files matched your search

+3 -3
View File
@@ -8,8 +8,8 @@ ROS2 packages for AGV_Pro
> Software environment for Jetson Orin Nano
```
ubuntu 22.04
ros2 humble
ubuntu 24.04
ros2 lyrical
```
# Installation
@@ -70,7 +70,7 @@ colcon build
```
- `agv_pro_can` — wheels are controlled directly over CAN using the RobStride private
protocol instead of serial, via the community [`robstride_ros2`](https://github.com/s2015-turtle/robstride_ros2)
`ros2_control` driver (built from source, see `upstream.jazzy.repos`). IMU/voltage/digital-IO/LED
`ros2_control` driver (built from source, see `upstream.lyrical.repos`). IMU/voltage/digital-IO/LED
remain on the serial base controller (`/dev/agvpro_controller`), unchanged. This replaces an
earlier CANopen-based attempt (`agv_pro_canopen_config`/`ros2_canopen`) that was never
confirmed against real hardware and has been removed — real, direction-confirmed CAN