Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210910794
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210910794
Commits
7544f1ad
Unverified
Commit
7544f1ad
authored
5 years ago
by
Mohammad Haghighipanah
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Halt method in the recovery node is not being called after successfull navigation (#1189)
* fixed issue 1179
parent
58476591
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nav2_behavior_tree/src/recovery_node.cpp
+3
-0
3 additions, 0 deletions
nav2_behavior_tree/src/recovery_node.cpp
with
3 additions
and
0 deletions
nav2_behavior_tree/src/recovery_node.cpp
+
3
−
0
View file @
7544f1ad
...
...
@@ -49,6 +49,7 @@ BT::NodeStatus RecoveryNode::tick()
case
BT
::
NodeStatus
::
SUCCESS
:
{
retry_count_
=
0
;
halt
();
return
BT
::
NodeStatus
::
SUCCESS
;
}
break
;
...
...
@@ -91,6 +92,7 @@ BT::NodeStatus RecoveryNode::tick()
{
current_child_idx_
--
;
retry_count_
=
0
;
halt
();
return
BT
::
NodeStatus
::
FAILURE
;
}
break
;
...
...
@@ -108,6 +110,7 @@ BT::NodeStatus RecoveryNode::tick()
}
}
// end while loop
retry_count_
=
0
;
halt
();
return
BT
::
NodeStatus
::
FAILURE
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment