forked from PickNikRobotics/moveit_pro_empty_ws
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #10 from PickNikRobotics/pr-update-to-make-ports-e…
…xplicit Update ports explicitly
- Loading branch information
Showing
14 changed files
with
182 additions
and
43 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<root BTCPP_format="4" main_tree_to_execute="Get AprilTag Pose from Image"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="Get AprilTag Pose from Image"> | ||
<Control ID="Sequence"> | ||
<!--Get tag pose estimate in world frame--> | ||
<Action | ||
ID="DetectAprilTags" | ||
image="{image}" | ||
camera_info="{camera_info}" | ||
parameters="{parameters}" | ||
detections="{detections}" | ||
/> | ||
<Action | ||
ID="GetImage" | ||
topic_name="/wrist_camera/color" | ||
message_out="{image}" | ||
/> | ||
<Action | ||
ID="DetectAprilTags" | ||
image="{image}" | ||
camera_info="{camera_info}" | ||
parameters="{parameters}" | ||
detections="{detections}" | ||
/> | ||
<Action ID="GetDetectionPose" /> | ||
<Action | ||
ID="TransformPoseFrame" | ||
input_pose="{detection_pose}" | ||
output_pose="{detection_pose}" | ||
/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Get AprilTag Pose from Image"> | ||
<input_port name="image" default="{image}" /> | ||
<input_port name="camera_info" default="{camera_info}" /> | ||
<input_port name="parameters" default="{parameters}" /> | ||
<output_port name="detection_pose" default="{detection_pose}" /> | ||
</SubTree> | ||
</TreeNodesModel> | ||
</root> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<root BTCPP_format="4" main_tree_to_execute="Pick up Cube"> | ||
<!--//////////--> | ||
<BehaviorTree ID="Pick up Cube" _description="" _favorite="false"> | ||
<Control ID="Sequence" name="TopLevelSequence"> | ||
<SubTree ID="Clear Snapshot" _collapsed="true"/> | ||
<SubTree ID="Look at table" _collapsed="true"/> | ||
<SubTree ID="Clear Snapshot" _collapsed="true" /> | ||
<SubTree ID="Look at table" _collapsed="true" /> | ||
<!--Take a snapshot so we have a visualization of the cubes to use in grasp pose correction--> | ||
<SubTree ID="Wrist camera snapshot" _collapsed="true"/> | ||
<SubTree ID="Pick object" _collapsed="false"/> | ||
<SubTree ID="Wrist camera snapshot" _collapsed="true" /> | ||
<SubTree ID="Pick object" _collapsed="false" /> | ||
</Control> | ||
</BehaviorTree> | ||
</root> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<root BTCPP_format="4" main_tree_to_execute="Plan Move To Pose"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="Plan Move To Pose"> | ||
<Control ID="Sequence"> | ||
<Action | ||
ID="InitializeMTCTask" | ||
task_id="move_to_pose" | ||
controller_names="/joint_trajectory_controller /robotiq_gripper_controller" | ||
task="{move_to_pose_task}" | ||
/> | ||
<Action ID="SetupMTCCurrentState" task="{move_to_pose_task}" /> | ||
<Action | ||
ID="SetupMTCMoveToPose" | ||
ik_frame="grasp_link" | ||
planning_group_name="manipulator" | ||
target_pose="{target_pose}" | ||
task="{move_to_pose_task}" | ||
planner_interface="moveit_default" | ||
/> | ||
<Action | ||
ID="PlanMTCTask" | ||
solution="{move_to_pose_solution}" | ||
task="{move_to_pose_task}" | ||
/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Plan Move To Pose"> | ||
<input_port name="target_pose" default="{target_pose}" /> | ||
<output_port | ||
name="move_to_pose_solution" | ||
default="{move_to_pose_solution}" | ||
/> | ||
</SubTree> | ||
</TreeNodesModel> | ||
</root> |
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
Oops, something went wrong.