Skip to content

Commit

Permalink
Migrate to UR robots
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Nov 19, 2024
1 parent be0865d commit 822ea75
Show file tree
Hide file tree
Showing 26 changed files with 253 additions and 523 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nexus_integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
with:
path: ~/.cache/ccache
key: ccache
- name: vcs
run: |
vcs import . < abb.repos
# TODO(luca) Remove build from source of UR robots
# This is only temporary until a new Jazzy sync that includes https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/pull/1153/ is made
- name: TEMPORARY build UR from source
run:
git clone -b 2.4.13 https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver
- name: rosdep
run: |
apt update
Expand Down
21 changes: 0 additions & 21 deletions abb.repos

This file was deleted.

78 changes: 0 additions & 78 deletions nexus_integration_tests/config/abb_irb1300_controllers.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions nexus_integration_tests/config/abb_irb1300_planner_params.yaml

This file was deleted.

79 changes: 0 additions & 79 deletions nexus_integration_tests/config/abb_irb910sc_controllers.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions nexus_integration_tests/config/abb_irb910sc_planner_params.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
<dispense_item.DispenseItem name="dispense_item" item="productA" />

<ApplyTransform base_pose="pickup_pose" x="0" y="0" z="-0.02" qx="0" qy="0" qz="0" qw="1" local="true" result="{pickup_top_goal}" />
<plan_motion.PlanMotion name="plan_to_pickup_top" robot_name="abb_irb910sc" goal="{pickup_top_goal}" scale_speed="0.5" cartesian="true" result="{pickup_top_traj}" />
<plan_motion.PlanMotion name="plan_to_pickup_top" robot_name="ur5e" goal="{pickup_top_goal}" scale_speed="0.5" cartesian="true" result="{pickup_top_traj}" />
<GetJointConstraints trajectory="{pickup_top_traj}" joint_constraints="{joint_constraints}" />
<execute_trajectory.ExecuteTrajectory name="execute_pickup_top" trajectory="{pickup_top_traj}" />

<plan_motion.PlanMotion name="plan_to_pickup" robot_name="abb_irb910sc" goal="pickup_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{pickup_traj}" />
<plan_motion.PlanMotion name="plan_to_pickup" robot_name="ur5e" goal="pickup_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{pickup_traj}" />
<GetJointConstraints trajectory="{pickup_traj}" joint_constraints="{joint_constraints}" />
<execute_trajectory.ExecuteTrajectory name="execute_pickup" trajectory="{pickup_traj}" />
<gripper.GripperControl name="pickup_product" gripper="workcell_1_mock_gripper" position="0.0" max_effort="1.0" />

<plan_motion.PlanMotion name="plan_to_dropoff" robot_name="abb_irb910sc" goal="dropoff_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{dropoff_traj}" />
<plan_motion.PlanMotion name="plan_to_dropoff" robot_name="ur5e" goal="dropoff_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{dropoff_traj}" />
<GetJointConstraints trajectory="{dropoff_traj}" joint_constraints="{joint_constraints}" />

<WaitForSignal name="wait_for_pallet" signal="transporter_done" clear="true"/>
<execute_trajectory.ExecuteTrajectory name="execute_dropoff" trajectory="{dropoff_traj}" />
<gripper.GripperControl name="dropoff_product" gripper="workcell_1_mock_gripper" position="1.0" max_effort="0.0" />

<plan_motion.PlanMotion name="plan_to_home" robot_name="abb_irb910sc" goal="home" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{home_traj}" />
<plan_motion.PlanMotion name="plan_to_home" robot_name="ur5e" goal="home" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{home_traj}" />
<execute_trajectory.ExecuteTrajectory name="execute_home" trajectory="{home_traj}" />


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@
<detection.GetDetectionPose detection="{current_product_detection}" result="{current_product_pose}" />

<ApplyTransform base_pose="{current_product_pose}" x="0" y="0" z="-0.02" qx="0" qy="0" qz="0" qw="1" local="true" result="{pickup_top_goal}" />
<plan_motion.PlanMotion name="plan_to_pickup_top" robot_name="abb_irb1300" goal="{pickup_top_goal}" scale_speed="0.5" result="{pickup_top_traj}" />
<plan_motion.PlanMotion name="plan_to_pickup_top" robot_name="ur5e" goal="{pickup_top_goal}" scale_speed="0.5" result="{pickup_top_traj}" />
<GetJointConstraints trajectory="{pickup_top_traj}" joint_constraints="{joint_constraints}" />
<execute_trajectory.ExecuteTrajectory name="execute_pickup" trajectory="{pickup_top_traj}" />

<plan_motion.PlanMotion name="plan_to_product" robot_name="abb_irb1300" goal="{current_product_pose}" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{pickup_traj}" />
<plan_motion.PlanMotion name="plan_to_product" robot_name="ur5e" goal="{current_product_pose}" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{pickup_traj}" />
<GetJointConstraints trajectory="{pickup_traj}" joint_constraints="{joint_constraints}" />
<execute_trajectory.ExecuteTrajectory name="execute_pickup" trajectory="{pickup_traj}" />
<gripper.GripperControl name="pickup_product" gripper="workcell_2_mock_gripper" position="0.0" max_effort="1.0" />

<ApplyTransform base_pose="dropoff_pose" x="0" y="0" z="-0.02" qx="0" qy="0" qz="0" qw="1" result="{dropoff_top_goal}" />
<plan_motion.PlanMotion name="plan_to_dropoff_top" robot_name="abb_irb1300" goal="{dropoff_top_goal}" scale_speed="0.5" result="{dropoff_top_traj}" />
<plan_motion.PlanMotion name="plan_to_dropoff_top" robot_name="ur5e" goal="{dropoff_top_goal}" scale_speed="0.5" result="{dropoff_top_traj}" />
<GetJointConstraints trajectory="{dropoff_top_traj}" joint_constraints="{joint_constraints}" />
<execute_trajectory.ExecuteTrajectory name="execute_dropoff_top" trajectory="{dropoff_top_traj}" />

<plan_motion.PlanMotion name="plan_to_dropoff" robot_name="abb_irb1300" goal="dropoff_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{dropoff_traj}" />
<plan_motion.PlanMotion name="plan_to_dropoff" robot_name="ur5e" goal="dropoff_pose" scale_speed="0.5" cartesian="true" start_constraints="{joint_constraints}" result="{dropoff_traj}" />
<GetJointConstraints trajectory="{dropoff_traj}" joint_constraints="{joint_constraints}" />
<gripper.GripperControl name="pickup_product" gripper="workcell_2_mock_gripper" position="1.0" max_effort="0.0" />

<plan_motion.PlanMotion name="plan_to_home" robot_name="abb_irb1300" goal="home" scale_speed="0.5" start_constraints="{joint_constraints}" result="{home_traj}" />
<plan_motion.PlanMotion name="plan_to_home" robot_name="ur5e" goal="home" scale_speed="0.5" start_constraints="{joint_constraints}" result="{home_traj}" />
<execute_trajectory.ExecuteTrajectory name="execute_home" trajectory="{home_traj}" />
</Sequence>
</BehaviorTree>
Expand Down
Loading

0 comments on commit 822ea75

Please sign in to comment.