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

Commit

Permalink
Add Interpolate to Joint State objective XML (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Abishalini <abishalini.sivaraman@picknik.ai>
  • Loading branch information
Abishalini and Abishalini authored May 12, 2023
1 parent 87f3e6c commit ebdfba4
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<root BTCPP_format="4" main_tree_to_execute="Interpolate to Joint State">
<BehaviorTree ID="Interpolate to Joint State" _description="Move to a specified joint state">
<Sequence name="root">
<SubTree ID="InterpolateToJointStateWaypoint" target_joint_state="{interpolate_to_joint_state.target_joint_state}"/>
</Sequence>
</BehaviorTree>
<BehaviorTree ID="InterpolateToJointStateWaypoint">
<Sequence name="interpolate_to_waypoint_main">
<Action ID="InitializeMTCTask" task_id="interpolate_to_joint_state" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" task="{interpolate_to_waypoint_task}"/>
<Action ID="SetupMTCCurrentState" task="{interpolate_to_waypoint_task}"/>
<Action ID="SetupMTCInterpolateToJointState" joint_state="{target_joint_state}" name="SetupMTCInterpolateToJointState_First" planning_group_name="manipulator" task="{interpolate_to_waypoint_task}"/>
<Action ID="PlanMTCTask" solution="{interpolate_to_waypoint_solution}" task="{interpolate_to_waypoint_task}"/>
<Action ID="ExecuteMTCTask" solution="{interpolate_to_waypoint_solution}"/>
</Sequence>
</BehaviorTree>
</root>

0 comments on commit ebdfba4

Please sign in to comment.