Skip to content

Update wsg hardware interface #37

@timtmit

Description

@timtmit

--- stderr: wsg_50_interface
/home/ros/share/ws/src/wsg50-ros-pkg/wsg_50_interface/src/wsg_ros_interface.cpp: In member function ‘virtual hardware_interface::CallbackReturn wsg_50_interface::WSG50HardwareInterface::on_init(const hardware_interface::HardwareInfo&)’:
/home/ros/share/ws/src/wsg50-ros-pkg/wsg_50_interface/src/wsg_ros_interface.cpp:12:53: warning: ‘virtual rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn hardware_interface::SystemInterface::on_init(const hardware_interface::HardwareInfo&)’ is deprecated: Use on_init(const HardwareComponentInterfaceParams & params) instead. [-Wdeprecated-declarations]
12 | if (hardware_interface::SystemInterface::on_init(info) != hardware_interface::CallbackReturn::SUCCESS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /home/ros/share/ws/src/wsg50-ros-pkg/wsg_50_interface/include/wsg_50_interface/wsg_ros_interface.hpp:6,
from /home/ros/share/ws/src/wsg50-ros-pkg/wsg_50_interface/src/wsg_ros_interface.cpp:1:
/opt/ros/jazzy/include/hardware_interface/hardware_interface/system_interface.hpp:243:26: note: declared here
243 | virtual CallbackReturn on_init(const HardwareInfo & hardware_info)
| ^~~~~~~

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