-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tested getup on Bez2 hw - fw + fw interface modified to support 2 additional arm motors * fixed getupfront * work in progress getup back joanne * getup/walk WIP * update urdf/xacro with new torques * improved model weights and physics * Get up front updated - joanne * Attempt getup-back by vaulting forward * Getup backflip * IMU fixes + full getup back trajectory * eff * eff * latest stuff on nam's laptop --------- Co-authored-by: nam <[email protected]> Co-authored-by: JoanneT8 <[email protected]> Co-authored-by: manx52 <[email protected]>
- Loading branch information
1 parent
24aebbf
commit 8f0dade
Showing
43 changed files
with
464 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,124 @@ | ||
control_frequency: 0.02 | ||
|
||
# Path parameters | ||
# Path calibration Parameters | ||
robot_model: bez2 | ||
|
||
# KINEMATIC DATA | ||
#: Height of the robot's torso (center between two arms) while walking | ||
walking_torso_height: 0.37 | ||
walking_torso_height: 0.375 | ||
arm_0_center: -0.45 | ||
arm_1_center: 2.512 | ||
weird_x_offset: -0.06409 | ||
#: How much the torso is forward in the x axis | ||
torso_offset_x_ready: 0 # positive is forward | ||
|
||
#: How many torso steps per second, approximately equivalent to foot steps per second | ||
steps_per_second_default: 2.6 | ||
#: How much the torso is rotated in the x axis | ||
torso_offset_pitch_ready: 0.0 | ||
|
||
#: How much distance is a torso step (equivalent to a half step) | ||
torso_step_length: 0.02 | ||
torso_step_length_short_backwards: 0.01 | ||
torso_step_length_short_forwards: 0.025 | ||
#: Dimensions of the foot collision box | ||
foot_box: [0.09, 0.07, 0.01474] | ||
|
||
#: The seperation of the feet while walking | ||
# How much space between the feet along the path | ||
foot_separation: 0.047 | ||
#: Transformations from the right foots joint position to the center of the collision box of the foot | ||
right_foot_joint_center_to_collision_box_center: [0.00385, 0.00401, -0.00737] | ||
cleats_offset: -0.01634 | ||
|
||
# HEAD | ||
head_yaw_freq: 0.02 | ||
head_yaw_freq_relocalizing: 0.005 | ||
head_pitch_freq: 0.02 | ||
head_pitch_freq_relocalizing: 0.005 | ||
head_rotation_yaw_center: 0.175 | ||
head_rotation_yaw_range: 0.15 | ||
|
||
#: The height of the step from the ground | ||
step_height: 0.02 | ||
# STEP PLANNER | ||
#: How much the torso is rotated in the x axis | ||
torso_offset_pitch: 0.1 | ||
|
||
#: The distance to the outwards direction when the robot takes a step | ||
# How much does the foot step outside from the center of the path like a side step | ||
step_outwardness: 0.01 # positive means away from the Path | ||
#: How much the torso is forward in the x axis | ||
torso_offset_x: 0.0 # positive is forward | ||
|
||
# STABILIZE | ||
standing_pitch_kp: 0. | ||
standing_pitch_kd: 0.0 | ||
standing_pitch_ki: 0.00 | ||
standing_pitch_setpoint: -0.0 | ||
standing_pitch_offset: 0.0 | ||
|
||
standing_roll_kp: 0. | ||
standing_roll_kd: 0.0 | ||
standing_roll_ki: 0.00 | ||
standing_roll_setpoint: 0.0 | ||
standing_roll_offset: 0.0 | ||
|
||
walking_pitch_kp: 0 #1 | ||
walking_pitch_kd: 0 | ||
walking_pitch_ki: 0.000 | ||
walking_pitch_setpoint: -0.01 | ||
walking_pitch_offset: 0.0 | ||
|
||
walking_roll_kp: 0 #1.5 | ||
walking_roll_kd: 0.0 # 00.5 | ||
walking_roll_ki: 0.0 | ||
walking_roll_setpoint: 0.0 | ||
walking_roll_offset: 0.0 | ||
|
||
#: The amount of rotation of the footstep | ||
# Only when it takes a step ? | ||
step_rotation: 0.05 # positive means the feet turns outwards to the side | ||
# WALK ENGINE | ||
control_frequency: 0.01 | ||
|
||
#: How much the torso is forward in the x axis | ||
torso_offset_x_ready: -0.06 # positive is forward | ||
torso_offset_x: 0.02 | ||
# Time before Walk | ||
prepare_walk_time: 2 | ||
|
||
#: How much the torso is rotated in the x axis | ||
torso_offset_pitch_ready: -0.12 | ||
torso_offset_pitch: 0.10 | ||
# PATH | ||
step_precision: 0.02 | ||
|
||
# Rate for it to get into the ready state | ||
get_ready_rate: 0.03 | ||
# PATH FOOT | ||
# : A half step is taken on the first and the last step to get the robot moving, this parameter indicates the | ||
# time ratio between the half step and the full step | ||
half_to_full_step_time_ratio: 0.7 | ||
|
||
# : Time ratio of a single step in range [0, 1], the ratio of time keeping the feet on the ground before | ||
# lifting it | ||
#pre_footstep_ratio: 0.05 | ||
pre_footstep_ratio: 0.15 | ||
|
||
# : Time ratio of a single step in range [0, 1], the ratio of time after making the step with the foot on | ||
# the ground | ||
#post_footstep_ratio: 0.2 | ||
post_footstep_ratio: 0.25 | ||
|
||
# Time before Walk | ||
prepare_walk_time: 1 | ||
#: The seperation of the feet while walking | ||
# How much space between the feet along the path | ||
foot_separation: 0.064 | ||
|
||
# TODO Needs description | ||
merge_fixed_links: true | ||
#: The height of the step from the ground | ||
step_height: 0.065 | ||
|
||
#: Dimensions of the foot collision box #TODO get it from URDF | ||
foot_box: [0.09, 0.07, 0.05] # TODO: update this! | ||
#: The distance to the outwards direction when the robot takes a step | ||
# How much does the foot step outside from the center of the path like a side step | ||
step_outwardness: 0.015 # positive means away from the Path | ||
|
||
#: Transformations from the right foots joint position to the center of the collision box of the foot | ||
# (https://docs.google.com/presentation/d/10DKYteySkw8dYXDMqL2Klby-Kq4FlJRnc4XUZyJcKsw/edit#slide=id.g163c1c67b73_0_0) | ||
right_foot_joint_center_to_collision_box_center: [0.00385, 0.00401, -0.00737] # TODO: update this! | ||
#: The amount of rotation of the footstep | ||
# Only when it takes a step ? | ||
step_rotation: 0.05 # positive means the feet turns outwards to the side | ||
|
||
# PATH TORSO | ||
#: How much the torso bounces up and down while following the torso trajectory (m) | ||
torso_zdiff_sway: 0 | ||
|
||
#: How much the torso sways left and right while following the torso trajectory (m) | ||
torso_sidediff_sway: -0.01 | ||
|
||
# TODO Needs description | ||
walking_Kp: 0 | ||
walking_Ki: 0.0000 | ||
walking_Kd: 0 | ||
walking_setpoint: 0.02 | ||
|
||
# TODO Needs description | ||
standing_Kp: 0 | ||
standing_Ki: 0 | ||
standing_Kd: 0.0 | ||
standing_setpoint: 0.0 | ||
|
||
# TODO Needs description | ||
walking_roll_Kp: 0.0 | ||
walking_roll_Ki: 0.0 | ||
walking_roll_Kd: 0.0 | ||
walking_roll_setpoint: 0.0 | ||
torso_sidediff_sway: | ||
-0.01 | ||
|
||
# Head rotation parameters | ||
head_rotation_yaw_center: 0.205 | ||
head_rotation_yaw_range: 0.15 | ||
head_pitch_freq: 0.01 | ||
head_yaw_freq: 0.01 | ||
|
||
# TODO Needs description | ||
calibration_trans_a: -0.020357517843533346 | ||
calibration_trans_b: 0.6492919423070727 | ||
calibration_trans_a2: 0.8427201135750022 | ||
calibration_rot_a: 0.7052919512780853 | ||
#: How much the torso rotates while following the torso trajectory (yaw, pitch, roll) | ||
torso_thetadiff_sway: [0, 0, 0] | ||
|
||
# PATH SECTION | ||
#: How much distance is a torso step (equivalent to a half step) | ||
torso_step_length: 0.03 | ||
torso_step_length_short_backwards: 0.025 | ||
torso_step_length_short_forwards: 0.035 | ||
scale_yaw: 1.0 # Increase the rotation by angle | ||
#: How many torso steps per second, approximately equivalent to foot steps per second | ||
steps_per_second_default: 2.5 | ||
|
||
# PATH SECTION BEZIER | ||
turn_duration: 3 | ||
backwards_torso_step_length_ratio: 0.5 | ||
|
||
merge_fixed_links: true |
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
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
1 change: 1 addition & 0 deletions
1
soccer_control/soccer_trajectories/trajectories/bez2/.~lock.getupback_full.csv#
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
,nam,nam-xps15,19.07.2024 04:03,file:///home/nam/.config/libreoffice/4; |
1 change: 1 addition & 0 deletions
1
soccer_control/soccer_trajectories/trajectories/bez2/.~lock.getupback_left.csv#
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
,nam,nam-xps15,19.07.2024 17:46,file:///home/nam/.config/libreoffice/4; |
1 change: 1 addition & 0 deletions
1
soccer_control/soccer_trajectories/trajectories/bez2/.~lock.getupfront.csv#
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
,nam,nam-xps15,19.07.2024 12:47,file:///home/nam/.config/libreoffice/4; |
Oops, something went wrong.