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

Commit

Permalink
add rrt-connect test Objective (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioprats authored Jun 19, 2024
1 parent 8f56fb0 commit bd793a1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/picknik_ur_mock_hw_config/objectives/rrt_connect_test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version='1.0' encoding='UTF-8'?>
<root BTCPP_format="4" main_tree_to_execute="RRTConnect Test">
<!--//////////-->
<BehaviorTree ID="RRTConnect Test" _description="A test to move between waypoints using RRTConnect" _favorite="true" _hardcoded="false">
<Control ID="Sequence" name="TopLevelSequence">
<Action ID="ActivateControllers" controller_names="joint_trajectory_controller"/>
<Decorator ID="Repeat" num_cycles="10">
<Control ID="Sequence">
<Action ID="RetrieveWaypoint" waypoint_name="Grasp Left" waypoint_joint_state="{grasp_left}" joint_group_name="manipulator"/>
<Action ID="PlanToJointGoal" joint_goal="{grasp_left}"/>
<Action ID="ExecuteFollowJointTrajectory"/>
<Action ID="RetrieveWaypoint" waypoint_joint_state="{grasp_right}" joint_group_name="manipulator" waypoint_name="Grasp Right"/>
<Action ID="PlanToJointGoal" joint_goal="{grasp_right}"/>
<Action ID="ExecuteFollowJointTrajectory"/>
</Control>
</Decorator>
</Control>
</BehaviorTree>
</root>

0 comments on commit bd793a1

Please sign in to comment.