Skip to content

Commit

Permalink
[Beetle] modified pid parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara-16 committed Dec 10, 2023
1 parent db08f34 commit a72f1ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
12 changes: 6 additions & 6 deletions robots/beetle/config/BeetleControl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ controller:
momentum_observer_force_weight: 3
momentum_observer_torque_weight: 2.5
wrench_estimate_flag: true
comp_term_update_freq: 20
comp_term_update_freq: 40
wrench_comp_gain: 0.2

pd_wrench_comp_mode: true
Expand All @@ -27,7 +27,7 @@ controller:
d_gain: 5.0
limit_sum: 4.0
limit_p: 12.0
limit_i: 12.0
limit_i: 5.0
limit_d: 12.0

z:
Expand All @@ -37,7 +37,7 @@ controller:
limit_err_p: 1.0
limit_sum: 25.0 # N for clamping thrust force
limit_p: 25.0
limit_i: 25.0
limit_i: 20.0
limit_d: 25.0
force_landing_descending_rate: -0.5

Expand All @@ -47,7 +47,7 @@ controller:
d_gain: 15.0 #4~11
limit_sum: 0.0
limit_p: 20.0
limit_i: 20.0
limit_i: 10.0
limit_d: 20.0

start_rp_integration_height: 0.01
Expand All @@ -58,7 +58,7 @@ controller:
d_gain: 12.0 #4~11
limit_sum: 20.0
limit_p: 20.0
limit_i: 20.0
limit_i: 10.0
limit_d: 20.0

start_rp_integration_height: 0.01
Expand All @@ -70,7 +70,7 @@ controller:
limit_err_p: 0.4
limit_sum: 20.0
limit_p: 20.0
limit_i: 20.0
limit_i: 5.0
limit_d: 20.0

need_d_control: true
15 changes: 8 additions & 7 deletions robots/beetle/config/BeetleControl_sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ aerial_robot_control_name: aerial_robot_control/beetle_controller
controller:
torque_allocation_matrix_inv_pub_interval: 0.05
wrench_allocation_matrix_pub_interval: 0.1
gimbal_calc_in_fc : false
gimbal_calc_in_fc : true
i_term_rp_calc_in_pc: true
wrench_estimate_update_rate: 100
momentum_observer_force_weight: 3
momentum_observer_torque_weight: 2.5
wrench_estimate_flag: true
comp_term_update_freq: 20
comp_term_update_freq: 40
wrench_comp_gain: 0.2

pd_wrench_comp_mode: true
Expand All @@ -26,7 +27,7 @@ controller:
d_gain: 1.0
limit_sum: 4.0
limit_p: 12.0
limit_i: 12.0
limit_i: 5.0
limit_d: 12.0

z:
Expand All @@ -36,7 +37,7 @@ controller:
limit_err_p: 1.0
limit_sum: 25.0 # N for clamping thrust force
limit_p: 25.0
limit_i: 25.0
limit_i: 20.0
limit_d: 25.0
force_landing_descending_rate: -0.5

Expand All @@ -46,7 +47,7 @@ controller:
d_gain: 5.0 #4~11
limit_sum: 20.0
limit_p: 20.0
limit_i: 20.0
limit_i: 10.0
limit_d: 20.0

start_rp_integration_height: 0.01
Expand All @@ -57,7 +58,7 @@ controller:
d_gain: 6.0 #4~11
limit_sum: 20.0
limit_p: 20.0
limit_i: 20.0
limit_i: 10.0
limit_d: 20.0

start_rp_integration_height: 0.01
Expand All @@ -69,7 +70,7 @@ controller:
limit_err_p: 0.4
limit_sum: 20.0
limit_p: 20.0
limit_i: 20.0
limit_i: 5.0
limit_d: 20.0

need_d_control: true

0 comments on commit a72f1ce

Please sign in to comment.