Skip to content

Commit

Permalink
Add error_msg to (un)dock_robot bt (#4341)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Wake <[email protected]>
  • Loading branch information
aosmw committed Jul 10, 2024
1 parent bc188ea commit 19c5b10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ class DockRobotAction
"success", "If the action was successful"),
BT::OutputPort<ActionResult::_error_code_type>(
"error_code_id", "Error code"),
BT::OutputPort<std::string>(
"error_msg", "Error message"),
BT::OutputPort<ActionResult::_num_retries_type>(
"num_retries", "The number of retries executed"),
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ class UndockRobotAction
"success", "If the action was successful"),
BT::OutputPort<ActionResult::_error_code_type>(
"error_code_id", "Error code"),
BT::OutputPort<error_msg>(
"error_msg", "Error message"),
});
}
};
Expand Down

0 comments on commit 19c5b10

Please sign in to comment.