Skip to content

Commit 825e4a2

Browse files
author
lowerbodyqdd
committed
Refactor balancing torque control configuration and model
- Updated the balancing torque control options to simplify CoM knot deltas and extended motion duration and timeout. - Changed the remote logger path in data logging configuration. - Adjusted joint velocity filter cutoff frequency for improved performance. - Modified TSID configuration parameters including gains and weights for various tasks. - Introduced a new URDF model for the robot with detailed inertial and visual properties. - Fixed method calls in the main application script for consistency and clarity. - Enhanced profiling setup for better performance monitoring during execution.
1 parent b7d0f24 commit 825e4a2

6 files changed

Lines changed: 555 additions & 26 deletions

File tree

utilities/balancing-torque-control/config/robots/lowerbodyqdd/blf-balancing-torque-control-options.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ dt 0.001 # (0.01 seconds)
22
contact_force_threshold 0.1 # in Newton
33

44

5-
com_knots_delta_x (0.0, 0.0, 0.03, 0.03, -0.03, -0.03, 0.0, 0.0) # in meter
6-
com_knots_delta_y (0.0, 0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.0) # in meter
7-
com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter
5+
com_knots_delta_x (0.0, 0.0) # in meter
6+
com_knots_delta_y (0.0, 0.0) # in meter
7+
com_knots_delta_z (0.0, 0.0) # in meter
88

9-
motion_duration 10.0 # (10 seconds)
10-
motion_timeout 10.0 # (10 seconds)
9+
motion_duration 10000.0 # (10 seconds)
10+
motion_timeout 10000.0 # (10 seconds)
1111

1212
base_frame l_sole
1313
left_contact_frame l_sole
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
remote "/balancing_torque_controller/logger"
1+
remote "/balancing/logger"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sampling_time 0.001
2-
cutoff_frequency 20.0
2+
cutoff_frequency 3.0
33
order 2

utilities/balancing-torque-control/config/robots/lowerbodyqdd/blf_balancing_torque_control/tsid.ini

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ contact_wrench_variables_name ("lf_wrench", "rf_wrench")
1515
[COM_TASK]
1616
name com_task
1717
type CoMTask
18-
robot_acceleration_variable_name "robot_acceleration"
19-
kp_linear 10.0
20-
kd_linear 2.0
18+
robot_acceleration_variable_name "robot_acceleration"y
19+
kp_linear 50.0
20+
kd_linear 5.0
2121
mask (true, true, true)
22-
priority 1
23-
weight (10.0, 10.0, 10.0)
22+
priority 0
23+
; weight (10000.0, 10000.0, 10000.0)
2424

2525
[RIGHT_FOOT_TASK]
2626
name right_foot_task
@@ -32,6 +32,7 @@ kp_angular 0.0
3232
kd_linear 0.0
3333
kd_angular 0.0
3434
priority 0
35+
weight (100.0, 100.0, 100.0, 100.0, 100.0, 100.0)
3536

3637
[LEFT_FOOT_TASK]
3738
name left_foot_task
@@ -43,16 +44,17 @@ kp_angular 0.0
4344
kd_linear 0.0
4445
kd_angular 0.0
4546
priority 0
47+
weight (100.0, 100.0, 100.0, 100.0, 100.0, 100.0)
4648

4749
[JOINT_REGULARIZATION_TASK]
4850
name joint_regularization_task
4951
type JointTrackingTask
5052
robot_acceleration_variable_name "robot_acceleration"
51-
kp (5.0, 5.0, 5.0, 5.0, 5.0, 5.0,
52-
5.0, 5.0, 5.0, 5.0, 5.0, 5.0)
53+
kp (50.0, 50.0, 50.0, 50.0, 50.0, 50.0,
54+
50.0, 50.0, 50.0, 50.0, 50.0, 50.0)
5355

54-
kd (1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
55-
1.0, 1.0, 1.0, 1.0, 1.0, 1.0)
56+
kd (2.0, 2.0, 2.0, 2.0, 2.0, 2.0,
57+
2.0, 2.0, 2.0, 2.0, 2.0, 2.0)
5658

5759
priority 1
5860
weight (1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
@@ -86,12 +88,16 @@ max_admissible_normal_force 1000.0
8688

8789
[LF_WRENCH_REG_TASK]
8890
name "lf_wrench_regularization_task"
91+
variable_name "lf_wrench"
92+
variable_size 6
8993
type "VariableRegularizationTask"
9094
priority 1
9195
weight (1.0, 1.0, 1.0, 1.0, 1.0, 1.0)
9296

9397
[RF_WRENCH_REG_TASK]
9498
name "rf_wrench_regularization_task"
99+
variable_name "rf_wrench"
100+
variable_size 6
95101
type "VariableRegularizationTask"
96102
priority 1
97103
weight (1.0, 1.0, 1.0, 1.0, 1.0, 1.0)

0 commit comments

Comments
 (0)