Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_ana_nav_module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
robots
ana
iri_ana_nav_module
Commits
33252e84
Commit
33252e84
authored
5 years ago
by
José Enrique Domínguez Vidal
Browse files
Options
Downloads
Patches
Plain Diff
Rotation movement subtree added
parent
1df0666d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xml/nav_rotation_main_tree.xml
+40
-0
40 additions, 0 deletions
src/xml/nav_rotation_main_tree.xml
with
40 additions
and
0 deletions
src/xml/nav_rotation_main_tree.xml
0 → 100644
+
40
−
0
View file @
33252e84
<root
main_tree_to_execute=
"NAV_3D_ROTATION_MAIN"
>
<BehaviorTree
ID=
"NAV_3D_ROTATION_MAIN"
>
<Fallback>
<SubTree
ID=
"go_to_orientation_nav_3d"
yaw_goal=
"yaw_in"
heading_tol_goal=
"heading_tol_in"
update_goal=
"update_goal_in"
status=
"NAV_3D_BT_status_out"
frame_id=
"frame_id_in"
/>
<ForceFailure>
<Sequence>
<Action
ID=
"get_current_status_nav_3d"
status_code=
"{NAV_3D_BT_status_out}"
/>
<!-- If navigation fails we stop the movement of the robot -->
<Action
ID=
"sync_stop_nav_3d"
/>
<!-- We are not waiting until the navigation really stops -->
</Sequence>
</ForceFailure>
</Fallback>
</BehaviorTree>
<BehaviorTree
ID=
"go_to_orientation_nav_3d"
>
<Sequence>
<Action
ID=
"set_goal_frame_nav_3d"
frame_id=
"{frame_id}"
/>
<RetryUntilSuccesful
num_attempts=
"3"
>
<ReactiveFallback>
<Sequence>
<Timeout
msec=
"60000"
>
<Action
ID=
"async_go_to_orientation_nav_3d"
yaw=
"{yaw_goal}"
heading_tol=
"{heading_tol_goal}"
update_goal=
"{update_goal}"
/>
</Timeout>
<Condition
ID=
"is_succeded_nav_3d"
/>
</Sequence>
<Sequence>
<Condition
ID=
"is_preempted_nav_3d"
/>
<Timeout
msec=
"5000"
>
<Action
ID=
"NOP"
/>
</Timeout>
</Sequence>
</ReactiveFallback>
</RetryUntilSuccesful>
<Action
ID=
"get_current_status_nav_3d"
status_code=
"{status}"
/>
</Sequence>
</BehaviorTree>
</root>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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