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.
* updates to mujoco config Co-authored-by: Sebastian Jahr <[email protected]> Co-authored-by: Mario Prats <[email protected]>
- Loading branch information
1 parent
ae6030f
commit 7d9d249
Showing
51 changed files
with
762 additions
and
371 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Close Gripper"> | ||
<BehaviorTree ID="Close Gripper" _description="Close the gripper"> | ||
<Control ID="Sequence" name="root"> | ||
<Action ID="MoveGripperAction" gripper_command_action_name="/robotiq_gripper_controller/gripper_cmd" position="0.7929"/> | ||
</Control> | ||
</BehaviorTree> | ||
<BehaviorTree ID="Close Gripper" _description="Close the gripper"> | ||
<Control ID="Sequence" name="root"> | ||
<Action ID="MoveGripperAction" gripper_command_action_name="/robotiq_gripper_controller/gripper_cmd" position="0.7929" timeout="15.000000"/> | ||
</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
33 changes: 15 additions & 18 deletions
33
src/picknik_ur_base_config/objectives/interpolate_to_joint_state.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 |
---|---|---|
@@ -1,20 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<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 using joint interpolation"> | ||
<Control ID="Fallback" name="root"> | ||
<Control ID="Sequence"> | ||
<Action ID="RetrieveJointStateParameter" timeout_sec="-1" joint_state="{target_joint_state}"/> | ||
<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}"/> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
</Control> | ||
<Control ID="Sequence"> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
<Action ID="AlwaysFailure"/> | ||
</Control> | ||
</Control> | ||
</BehaviorTree> | ||
<BehaviorTree ID="Interpolate to Joint State" _description="Move to a specified joint state using joint interpolation" _subtreeOnly="true"> | ||
<Control ID="Sequence"> | ||
<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}"/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Interpolate to Joint State"> | ||
<input_port name="target_joint_state" default="{target_joint_state}"/> | ||
</SubTree> | ||
</TreeNodesModel> | ||
</root> |
33 changes: 15 additions & 18 deletions
33
src/picknik_ur_base_config/objectives/move_to_joint_state.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 |
---|---|---|
@@ -1,20 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Move to Joint State"> | ||
<BehaviorTree ID="Move to Joint State" _description="Move to a specified joint state"> | ||
<Control ID="Fallback" name="root"> | ||
<Control ID="Sequence"> | ||
<Action ID="RetrieveJointStateParameter" timeout_sec="-1" joint_state="{target_joint_state}"/> | ||
<Action ID="InitializeMTCTask" task_id="move_to_joint_state" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" task="{move_to_waypoint_task}"/> | ||
<Action ID="SetupMTCCurrentState" task="{move_to_waypoint_task}"/> | ||
<Action ID="SetupMTCMoveToJointState" joint_state="{target_joint_state}" name="SetupMTCMoveToJointState_First" planning_group_name="manipulator" task="{move_to_waypoint_task}" planner_interface="moveit_default" /> | ||
<Action ID="PlanMTCTask" solution="{move_to_waypoint_solution}" task="{move_to_waypoint_task}"/> | ||
<Action ID="ExecuteMTCTask" solution="{move_to_waypoint_solution}"/> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
</Control> | ||
<Control ID="Sequence"> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
<Action ID="AlwaysFailure"/> | ||
</Control> | ||
</Control> | ||
</BehaviorTree> | ||
<BehaviorTree ID="Move to Joint State" _description="Move to a specified joint state" _subtreeOnly="true"> | ||
<Control ID="Sequence"> | ||
<Action ID="InitializeMTCTask" task_id="move_to_joint_state" controller_names="/joint_trajectory_controller /robotiq_gripper_controller" task="{move_to_waypoint_task}"/> | ||
<Action ID="SetupMTCCurrentState" task="{move_to_waypoint_task}"/> | ||
<Action ID="SetupMTCMoveToJointState" joint_state="{target_joint_state}" name="SetupMTCMoveToJointState_First" planning_group_name="manipulator" task="{move_to_waypoint_task}" planner_interface="moveit_default"/> | ||
<Action ID="PlanMTCTask" solution="{move_to_waypoint_solution}" task="{move_to_waypoint_task}"/> | ||
<Action ID="ExecuteMTCTask" solution="{move_to_waypoint_solution}"/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Move to Joint State"> | ||
<input_port name="target_joint_state" default="{target_joint_state}"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Move to Pose"> | ||
<BehaviorTree ID="Move to Pose" _description="Uses inverse kinematics to move the robot to a set gripper position"> | ||
<Control ID="Fallback" name="root"> | ||
<Control ID="Sequence"> | ||
<Action ID="RetrievePoseParameter" timeout_sec="-1" pose="{target_pose}"/> | ||
<Action ID="InitializeMTCTask" task_id="move_to_pose" controller_names="{controller_names}" 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}"/> | ||
<SubTree ID="Wait for Trajectory Approval if User Available" solution="{move_to_pose_solution}"/> | ||
<Action ID="ExecuteMTCTask" solution="{move_to_pose_solution}" /> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
</Control> | ||
<Control ID="Sequence"> | ||
<Action ID="PublishEmpty" topic="/studio_ui/motion_ended" queue_size="1" use_best_effort="false"/> | ||
<Action ID="AlwaysFailure"/> | ||
</Control> | ||
</Control> | ||
</BehaviorTree> | ||
<BehaviorTree ID="Move to Pose" _description="Uses inverse kinematics to move the robot to a set gripper position" _subtreeOnly="true"> | ||
<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}"/> | ||
<SubTree ID="Wait for Trajectory Approval if User Available" solution="{move_to_pose_solution}"/> | ||
<Action ID="ExecuteMTCTask" solution="{move_to_pose_solution}"/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Move to Pose"> | ||
<input_port name="target_pose" default="{target_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,9 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Open Gripper"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="Open Gripper" _description="Open the gripper"> | ||
<Control ID="Sequence" name="root"> | ||
<Action ID="MoveGripperAction" gripper_command_action_name="/robotiq_gripper_controller/gripper_cmd" position="0.0"/> | ||
</Control> | ||
</BehaviorTree> | ||
<!--//////////--> | ||
<BehaviorTree ID="Open Gripper" _description="Open the gripper"> | ||
<Control ID="Sequence" name="root"> | ||
<Action ID="MoveGripperAction" gripper_command_action_name="/robotiq_gripper_controller/gripper_cmd" position="0.05" timeout="15.000000"/> | ||
</Control> | ||
</BehaviorTree> | ||
</root> |
50 changes: 40 additions & 10 deletions
50
src/picknik_ur_base_config/objectives/request_teleoperation.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
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,7 +1,7 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<root BTCPP_format="4" main_tree_to_execute="Teleoperate"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="Teleoperate" _description="Handles the different variations of teleoperation from the web UI. Can be used standalone." _favorite="true" _hardcoded="false"> | ||
<BehaviorTree ID="Teleoperate" _description="Handles the different variations of teleoperation from the web UI. Can be used standalone." _favorite="false" _hardcoded="false"> | ||
<SubTree ID="Request Teleoperation" enable_user_interaction="false" user_interaction_prompt="" initial_teleop_mode="3"/> | ||
</BehaviorTree> | ||
</root> |
2 changes: 1 addition & 1 deletion
2
src/picknik_ur_base_config/objectives/wait_for_trajectory_approval_if_user_available.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
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.