This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from PickNikRobotics/merge-v5.0-into-main
Merge v5.0 into main
- Loading branch information
Showing
21 changed files
with
228 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
src/picknik_ur_gazebo_config/objectives/tree_nodes_model.xml
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/picknik_ur_gazebo_config/open_door_fixed_handle_MTC_config.yaml
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
src/picknik_ur_gazebo_config/open_door_lever_handle_MTC_config.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 0 additions & 55 deletions
55
src/picknik_ur_site_config/objectives/detect_lever_handle_graspable_object.xml
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
src/picknik_ur_site_config/objectives/detect_lever_handle_line_segment.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Detect Lever Handle Line Segment"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="Detect Lever Handle Line Segment" _description="Detects a lever-handle Line Segment from a depth image and returns 2 PoseStampeds to represent the handle."> | ||
<Control ID="Sequence" name="TopLevelSequence"> | ||
<!-- Get the point cloud from the wrist camera --> | ||
<Control ID="Sequence" name="GetDepthImage"> | ||
<Action ID="GetCameraInfo" topic_name="/wrist_mounted_camera/color/camera_info" message_out="{camera_info}"/> | ||
<Action ID="GetImage" topic_name="/wrist_mounted_camera/color/image_raw" message_out="{image}"/> | ||
<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> | ||
<!-- Segment out 2D masks and then convert to 3D masks and visualize in UI --> | ||
<Action ID="GetMasks2DAction" image="{image}" action_name="get_masks_2d_maskrcnn" min_confidence="0.8" max_nms_iou="0.8" min_relative_area="0" max_relative_area="1" timeout_sec="10.0" masks2d="{handle_masks2d}" valid_classes="handle"/> | ||
<Action ID="GetMasks3DFromMasks2D" point_cloud="{point_cloud}" masks2d="{handle_masks2d}" camera_info="{camera_info}" masks3d="{masks3d}"/> | ||
<Decorator ID="ForEachMask3D" vector_in="{masks3d}" out="{mask3d}"> | ||
<Control ID="Sequence"> | ||
<Action ID="GetPointCloudFromMask3D" point_cloud="{point_cloud}" mask3d="{mask3d}" point_cloud_fragment="{point_cloud_fragment}"/> | ||
<Action ID="SendPointCloudToUI" point_cloud="{point_cloud_fragment}" sensor_name="scene_scan_camera" point_cloud_uuid="" pcd_topic="/pcd_pointcloud_captures"/> | ||
</Control> | ||
</Decorator> | ||
<!-- Fit a line segment to the 3D mask --> | ||
<Action ID="FitLineSegmentToMask3D" point_cloud="{point_cloud}" mask3d="{mask3d}" base_frame="world" max_distance_from_line_for_inlier="0.01" line_segment_poses="{handle_poses}"/> | ||
<Action ID="LogMessage" message="Successfully extracted necessary subframes for the detected lever handle." log_level="info"/> | ||
</Control> | ||
</BehaviorTree> | ||
</root> |
Oops, something went wrong.