Skip to content
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

Excpetion when the goal is rejected. #103

Open
teyssieuman opened this issue Dec 9, 2024 · 0 comments
Open

Excpetion when the goal is rejected. #103

teyssieuman opened this issue Dec 9, 2024 · 0 comments

Comments

@teyssieuman
Copy link

https://github.com/BehaviorTree/BehaviorTree.ROS2/blob/cc31ea7b97947f1aac6e8c37df6cec379c84a7d9/behaviortree_ros2/include/behaviortree_ros2/bt_action_node.hpp#L549C3-L550C71

When the goal is rejected by the server, this goal_handle_ is nullptr. The function assync_get_result() then goes to an exception.

It seems that checking for goal_handle_==nullptr then returning correct this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant