Skip to content

Add TypeAdaptation support #2

@3473f

Description

@3473f

I am trying to use this package with an adapted data type (using the provided Subscriber class), but it fails when trying to access the header of the adapted message.

/opt/ros/humble/include/flex_sync/exact_sync.hpp:154:35: error: invalid use of member function ‘std_msgs::msg::Header& MyAdaptedDataType::header()’ (did you forget the ‘()’ ?)
  154 |     const rclcpp::Time & t = msg->header.stamp;

Are there any plans to support this? message_filter added this feature in ros2/message_filters#96

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions