ros2_controllers icon indicating copy to clipboard operation
ros2_controllers copied to clipboard

Diff drive controller build issue: get_prefix_name

Open AndyZe opened this issue 3 years ago • 1 comments

I'm on ROS2 Rolling and just did a rebase on the master branch.

Build error:

  /home/runner/work/ros2_controllers/ros2_controllers/.work/target_ws/src/ros2_controllers/diff_drive_controller/src/diff_drive_controller.cpp:641:26:error: ‘const class hardware_interface::LoanedCommandInterface’ has no member named ‘get_prefix_name’
    641 |         return interface.get_prefix_name() == wheel_name &&

You can see it in the CI log here:

https://github.com/ros-controls/ros2_controllers/runs/7179872463?check_suite_focus=true

AndyZe avatar Jul 04 '22 18:07 AndyZe

Get the latest ros2_control (you may need to uninstall the last release if the cmake gods are not happy with you) and that should fix it.

On Mon, 4 Jul 2022 at 19:45, AndyZe @.***> wrote:

I'm on ROS2 Rolling and just did a rebase on the master branch.

Build error:

/home/runner/work/ros2_controllers/ros2_controllers/.work/target_ws/src/ros2_controllers/diff_drive_controller/src/diff_drive_controller.cpp:641:26:error: ‘const class hardware_interface::LoanedCommandInterface’ has no member named ‘get_prefix_name’

641 |         return interface.get_prefix_name() == wheel_name &&

— Reply to this email directly, view it on GitHub https://github.com/ros-controls/ros2_controllers/issues/378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA24PYK6Z2RQQCCAW4GGR73VSMWMNANCNFSM52T6QKDA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bmagyar avatar Jul 05 '22 06:07 bmagyar