Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
cc0h authored Apr 17, 2024
2 parents 9101385 + c81a6ef commit 0bc6162
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
1 change: 1 addition & 0 deletions engineer_arm_config/config/engineer.srdf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<disable_collisions link1="base_link" link2="left_front_wheel" reason="Adjacent"/>
<disable_collisions link1="base_link" link2="link1" reason="Adjacent"/>
<disable_collisions link1="base_link" link2="link2" reason="Default"/>
<disable_collisions link1="base_link" link2="link3" reason="Never"/>
<disable_collisions link1="base_link" link2="link5" reason="Default"/>
<disable_collisions link1="base_link" link2="link6" reason="Default"/>
<disable_collisions link1="gimbal_base" link2="link1" reason="Never"/>
Expand Down
3 changes: 1 addition & 2 deletions engineer_arm_config/config/kinematics.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
engineer_arm:
kinematics_solver: kdl_kinematics_plugin/KDLKinematicsPlugin
kinematics_solver_search_resolution: 0.005
kinematics_solver: trac_ik_kinematics_plugin/TRAC_IKKinematicsPlugin
kinematics_solver_timeout: 0.005
39 changes: 30 additions & 9 deletions engineer_middleware/config/steps_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ common:
down_position: &JOINT1_DOWN_POSITION
0.02
small_ready: &JOINT1_SMALL_READY
0.15
0.16
up_pos: &JOINT1_UP_POS
0.312
small_ready_store: &JOINT1_SMALL_READY_STORE
0.162
0.17
bin_get_stone: &JOINT1_BIN_GET_STONE
0.142
big_ready: &JOINT1_BIG_READY
0.006
big_adjust_mid: &JOINT1_BIG_ADJUST_MID
0.071
0.08
big_up_pos: &JOINT1_BIG_UP_POS
0.320
big_ready_store: &JOINT1_BIG_READY_STORE
Expand Down Expand Up @@ -95,11 +95,13 @@ common:
small_ready_second: &JOINT3_SMALL_READY_SECOND
0.03
small_get_stone: &JOINT3_SMALL_GET_STONE
0.034
0.047
small_get_stone2: &JOINT3_SMALL_GET_STONE2
0.056
small_get_second: &JOINT3_SMALL_GET_SECOND
-0.018
small_store_stone: &JOINT3_SMALL_STORE_STONE
0.30
0.291
bin_get_stone: &JOINT3_BIN_GET_STONE
0.258
big_ready: &JOINT3_BIG_READY
Expand Down Expand Up @@ -164,7 +166,7 @@ common:
left_90_position: &JOINT7_L90_POSITION
-1.59
right_90_position: &JOINT7_R90_POSITION
1.57
1.62
big_pos: &JOINT7_BIG_POS
-0.013

Expand Down Expand Up @@ -394,16 +396,16 @@ steps_list:
<<: *NORMALLY
tolerance:
<<: *NORMAL_TOLERANCE
- step: "JOINT1_UP"
- step: "JOINT1_UP AND BACK"
arm:
joints: [ *JOINT1_UP_POS, "KEEP", "KEEP", "KEEP", "KEEP", "KEEP", "KEEP"]
joints: [ *JOINT1_UP_POS, "KEEP", *JOINT3_SMALL_GET_STONE2, "KEEP", "KEEP", "KEEP", "KEEP"]
common:
<<: *NORMALLY
tolerance:
<<: *NORMAL_TOLERANCE
- step: "SMALL_ARM_UP_STONE"
arm:
joints: [ *JOINT1_UP_POS, *JOINT2_SMALL_ARM_UP, *JOINT3_SMALL_GET_STONE, *JOINT4_R_POSITION, *JOINT5_MID_POSITION, *JOINT6_UP_POSITION, *JOINT7_MID_POSITION ]
joints: [ *JOINT1_UP_POS, *JOINT2_SMALL_ARM_UP, *JOINT3_SMALL_GET_STONE2, *JOINT4_R_POSITION, *JOINT5_MID_POSITION, *JOINT6_UP_POSITION, *JOINT7_MID_POSITION ]
common:
<<: *SLOWLY
tolerance:
Expand Down Expand Up @@ -930,11 +932,13 @@ steps_list:
gimbal:
<<: *FRONT_POS


HAS1_MID_BIG_ISLAND:
- step: "gimbal ready"
gimbal:
<<: *SMALL_ISLAND_POS
- step: "open ex arm"

extend_arm:
front: *EX_OPEN
back: *EX_OPEN
Expand Down Expand Up @@ -1041,6 +1045,7 @@ steps_list:
- step: "open ex arm"
extend_arm:
front: *EX_OPEN

- step: "MID_ARM_READY"
arm:
joints: [ *JOINT1_BIG_READY, *JOINT2_BIG_READY, *JOINT3_BIG_READY, *JOINT4_R_POSITION, *JOINT5_BIG_READY, *JOINT6_BIG_READY, *JOINT7_BIG_POS ]
Expand All @@ -1060,6 +1065,7 @@ steps_list:
- step: "OPEN_GRIPPER"
gripper:
<<: *OPEN_GRIPPER

HAS0_SIDE_BIG_ISLAND0:
- step: "GET_MID_STONE"
arm:
Expand Down Expand Up @@ -1329,3 +1335,18 @@ steps_list:
<<: *NORMALLY


GIMBAL_DOWN:
- step: "gimbal lowest"
gimbal_lifter:
target: *BUTTON_POS

GIMBAL_MID:
- step: "gimbal mid"
gimbal_lifter:
target: *LIFTER_BIG_ISLAND

GIMBAL_TALL:
- step: "gimbal tall"
gimbal_lifter:
target: *TALLEST_POS

0 comments on commit 0bc6162

Please sign in to comment.