Skip to content

Commit

Permalink
Remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Aug 22, 2023
1 parent 33e77b8 commit 0e373cb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1865,13 +1865,6 @@ void ControllerManager::list_hardware_components_srv_cb(
auto component = controller_manager_msgs::msg::HardwareComponentState();
component.name = component_name;
component.type = component_info.type;
component.class_type =
component_info.plugin_name; // TODO(bence): deprecated currently. Remove soon
RCLCPP_WARN(
get_logger(),
"The 'class_type' field in 'controller_manager_msgs/msg/HardwareComponentState.msg' is "
"deprecated and will be removed soon. Please switch over client code to use 'plugin_name' "
"instead.");
component.plugin_name = component_info.plugin_name;
component.state.id = component_info.state.id();
component.state.label = component_info.state.label();
Expand Down

0 comments on commit 0e373cb

Please sign in to comment.