Skip to content

Build Error for webots_ros2_control on Rolling #1041

@soham2560

Description

@soham2560

I'm building both webots_ros2(master) and ros2_control(master) from source on ROS 2 Rolling. While compiling webots_ros2_control, I encountered the following error:

/ros2_ws/src/dep_repos/ros-controls/webots_ros2/webots_ros2_control/src/Ros2Control.cpp:154:24: error: ‘class hardware_interface::ResourceManager’ has no member named ‘load_urdf’
  154 |       resourceManager->load_urdf(urdfString, false, false);

Looking at the code this might have something to do with HARDWARE_INTERFACE_VERSION_MAJOR and HARDWARE_INTERFACE_VERSION_MINOR but am not able to quite figure it out.

I see previous issues at #944 and #1015 but they suggest to downgrade ros2_control or change source code which does not fit my task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions