diff --git a/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/dock_robot.hpp b/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/dock_robot.hpp index 9fb328a5a7..a397c10f14 100644 --- a/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/dock_robot.hpp +++ b/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/dock_robot.hpp @@ -96,7 +96,7 @@ class DockRobotAction BT::OutputPort( "success", "If the action was successful"), BT::OutputPort( - "error_code", "Error code"), + "error_code_id", "Error code"), BT::OutputPort( "num_retries", "The number of retries executed"), }); diff --git a/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/undock_robot.hpp b/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/undock_robot.hpp index 58a634a240..d884253d54 100644 --- a/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/undock_robot.hpp +++ b/nav2_docking/opennav_docking_bt/include/opennav_docking_bt/undock_robot.hpp @@ -89,7 +89,7 @@ class UndockRobotAction BT::OutputPort( "success", "If the action was successful"), BT::OutputPort( - "error_code", "Error code"), + "error_code_id", "Error code"), }); } };