Skip to content

Commit 7d2fad3

Browse files
authored
Merge pull request #443 from PickNikRobotics/fix-octomap-ci
clear octomap at the end of octomap example
2 parents bdd1c8e + 8daf2e2 commit 7d2fad3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/lab_sim/objectives/octomap_example.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
pcd_topic="/pcd_pointcloud_captures"
2626
point_cloud="{point_cloud}"
2727
/>
28+
<Action
29+
ID="LogMessage"
30+
log_level="info"
31+
message="Click Resume to reset the octomap and finish the Behavior"
32+
/>
33+
<!--Clear the Octomap at the end to avoid interfering with other Behaviors-->
34+
<Action
35+
ID="BreakpointSubscriber"
36+
breakpoint_topic="/moveit_pro_breakpoint"
37+
/>
38+
<SubTree ID="Clear Snapshot" _collapsed="true" />
2839
</Control>
2940
</BehaviorTree>
3041
<TreeNodesModel>

src/lab_sim/test/objectives_integration_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"Pick 1 Pill Bottle",
7878
"AddBottlesToPlanningScene",
7979
"Interactive Marker Visualization", # Server not available for GetTextFromUser
80+
"Octomap Example", # Requires user input to clear the octomap.
8081
}
8182

8283

0 commit comments

Comments
 (0)