Skip to content

Migrate deprecated tf2/message_filters headers to .hpp#574

Open
wolfv wants to merge 1 commit into
ros-drivers:ros2from
wolfv:migrate-tf2-hpp-headers
Open

Migrate deprecated tf2/message_filters headers to .hpp#574
wolfv wants to merge 1 commit into
ros-drivers:ros2from
wolfv:migrate-tf2-hpp-headers

Conversation

@wolfv

@wolfv wolfv commented Jun 9, 2026

Copy link
Copy Markdown

The .h headers for tf2, tf2_ros and message_filters were deprecated in favour of .hpp versions and have since been removed on Rolling, so velodyne_pointcloud / velodyne_driver currently fail to build there (this is what surfaced while packaging velodyne for RoboStack).

The .hpp headers are available on all currently supported distros — I verified buffer_core, exceptions, LinearMath/Quaternion, LinearMath/Vector3, tf2_ros/{buffer,transform_listener,message_filter} and message_filters/subscriber all exist as .hpp on Humble, Jazzy and Kilted — so the switch is unconditional and needs no version guards.

Changes are limited to swapping the include extensions; no code/logic changes. Covers velodyne_pointcloud and the one remaining include in velodyne_driver.

The .h headers for tf2, tf2_ros and message_filters were deprecated in
favour of .hpp and have since been removed on Rolling, so the package
fails to build there. The .hpp headers are available on all currently
supported distros (Humble, Jazzy, Kilted), so switch to them
unconditionally.

This covers velodyne_pointcloud and the one remaining include in
velodyne_driver.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@doisyg

doisyg commented Jun 12, 2026

Copy link
Copy Markdown

I guess that's what is blocking Lyrical....

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants