Skip to content

Fix build failures in update methods#233

Merged
mintar merged 1 commit into
CCNYRoboticsLab:rollingfrom
wentasah:fix-update
Jun 14, 2026
Merged

Fix build failures in update methods#233
mintar merged 1 commit into
CCNYRoboticsLab:rollingfrom
wentasah:fix-update

Conversation

@wentasah

Copy link
Copy Markdown
Contributor

This fixes build errors like the following:

In file included from /build/imu_tools-release-release-rolling-rviz_imu_plugin-2.2.3-1/src/imu_display.cpp:31:
/build/imu_tools-release-release-rolling-rviz_imu_plugin-2.2.3-1/src/imu_display.h:72:10: error: 'void rviz_imu_plugin::ImuDisplay::update(float, float)' marked 'override', but does not override
   72 |     void update(float dt, float ros_dt) override;
      |          ^~~~~~

The update(float, float) method was replaced with update(std::chrono::duration, std::chrono::duration) in ros2/rviz#1533.

This fixes build errors like the following:

    In file included from /build/imu_tools-release-release-rolling-rviz_imu_plugin-2.2.3-1/src/imu_display.cpp:31:
    /build/imu_tools-release-release-rolling-rviz_imu_plugin-2.2.3-1/src/imu_display.h:72:10: error: 'void rviz_imu_plugin::ImuDisplay::update(float, float)' marked 'override', but does not override
       72 |     void update(float dt, float ros_dt) override;
          |          ^~~~~~

The update(float, float) method was replaced with
update(std::chrono::duration, std::chrono::duration) in
ros2/rviz#1533.
@mintar mintar merged commit 1f3234c into CCNYRoboticsLab:rolling Jun 14, 2026
1 check failed
@mintar

mintar commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Perfect, thank you!

@wentasah wentasah deleted the fix-update branch June 14, 2026 12:09
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