-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document bt_navigator error_code_name_prefixes and error_msg #587
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Mike Wake <[email protected]>
47c9846
to
61cc31a
Compare
Signed-off-by: Mike Wake <[email protected]>
795dcae
to
23e4b92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Largely LGTM
</Fallback> | ||
<ClearEntireCostmap name="ClearGlobalCostmap-Context" service_name="global_costmap/clear_entirely_global_costmap"/> | ||
</RecoveryNode> | ||
</RateController> | ||
<RecoveryNode number_of_retries="1" name="RecoveryFollowPath"> | ||
<FollowPath path="{path}" controller_id="{selected_controller}" error_code_id="{follow_path_error_code}"/> | ||
<FollowPath path="{path}" controller_id="{selected_controller}" error_code_id="{follow_path_error_code}" error_msg="{follow_path_error_msg}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This BT missing the spin/backup error_msg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, although, spin and backup are not in the default list of error_code_name_prefixes
. Do you want them added along with all builtin actions?
std::vector<std::string> error_code_name_prefixes = {
"follow_path",
"compute_path",
};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its fine for them to not be in the defaults, as long as they're in the nav2_params.yaml
that we ship by default. I think the absolute-defaults are the follow / compute paths
Signed-off-by: Mike Wake <[email protected]>
8d20961
to
ed98c63
Compare
Signed-off-by: Steve Macenski <[email protected]>
Documents featured added to support returning Error codes and messages from failed NavigateToPose/NavigateThroughPoses actions ros-navigation/navigation2#4341