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

Commit

Permalink
Add comments and explanation to joint_diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
davetcoleman authored Jul 10, 2024
1 parent 41e0c32 commit 689d063
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?>
<root BTCPP_format="4" main_tree_to_execute="Joint Diagnostic">
<!-- ////////// -->
<BehaviorTree ID="Joint Diagnostic" _description="Move to a known pose and cycle through the min and max limits of a joint repeatedly" _favorite="true">
<BehaviorTree ID="Joint Diagnostic" _description="Example of cycliing through the min and max limits of a single joint, for hardware testing" _favorite="true">
<Control ID="Sequence" name="TopLevelSequence">
<!--Setup by moving home-->
<SubTree ID="Move to Waypoint" waypoint_name="Home" joint_group_name="manipulator" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" planner_interface="moveit_default"/>
<Decorator ID="KeepRunningUntilFailure">
<Control ID="Sequence">
<!-- If you use two waypoints that have idential joint values, except for one joint, you can use this Objective as a way to test a single joint repeatidly. This is useful for things like hardware diagnostics and hardware bringup.-->
<SubTree ID="Move to Waypoint" waypoint_name="Wrist 2 Max" joint_group_name="manipulator" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" planner_interface="moveit_default"/>
<SubTree ID="Move to Waypoint" waypoint_name="Wrist 2 Min" joint_group_name="manipulator" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" planner_interface="moveit_default"/>
</Control>
Expand Down

0 comments on commit 689d063

Please sign in to comment.