Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Remove GetStringFromUser from Take Snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks committed Apr 10, 2024
1 parent 6241cbf commit c4e2c11
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/picknik_ur_site_config/objectives/take_snapshot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
<Action ID="SwitchUIPrimaryView" primary_view_name="Visualization"/>
<Action ID="GetPointCloud" topic_name="/wrist_mounted_camera/depth/color/points" message_out="{point_cloud}"/>
<Action ID="UpdatePlanningSceneService" point_cloud="{point_cloud}" point_cloud_service="/point_cloud_service"/>
<Control ID="Fallback" name="TryGetStringFromUser">
<Action ID="GetStringFromUser" parameter_name="take_snapshot.uuid" parameter_value="{uuid}"/>
<!-- if we fail to get the string from the user fallback to an empty value for the uuid -->
<Action ID="Script" code="uuid := ''"/>
</Control>
<Action ID="SendPointCloudToUI" point_cloud="{point_cloud}" sensor_name="scene_scan_camera" pcd_topic="/pcd_pointcloud_captures" point_cloud_uuid="{uuid}"/>
<Action ID="SendPointCloudToUI" point_cloud="{point_cloud}" sensor_name="scene_scan_camera" pcd_topic="/pcd_pointcloud_captures" />
</Control>
</BehaviorTree>
</root>

0 comments on commit c4e2c11

Please sign in to comment.