Skip to content

Commit

Permalink
Merge pull request iNavFlight#1641 from b14ckyy/master
Browse files Browse the repository at this point in the history
Update presets for 6.0
  • Loading branch information
DzikuVx authored Oct 19, 2022
2 parents ef565e2 + eb3abdb commit af393fd
Showing 1 changed file with 27 additions and 35 deletions.
62 changes: 27 additions & 35 deletions js/defaults_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,18 @@ helper.defaultsDialog = (function () {
key: "motor_pwm_protocol",
value: "STANDARD"
},
{
key: "imu_acc_ignore_rate",
value: 15
},
{
key: "imu_acc_ignore_slope",
value: 10
},
{
key: "imu_inertia_comp_method",
value: ADAPTIVE
},
{
key: "throttle_idle",
value: 5.0
Expand Down Expand Up @@ -542,35 +554,19 @@ helper.defaultsDialog = (function () {
},
{
key: "fw_p_yaw",
value: 20
value: 50
},
{
key: "fw_i_yaw",
value: 0
},
{
key: "fw_d_yaw",
value: 0
value: 20
},
{
key: "fw_ff_yaw",
value: 100
},
{
key: "imu_acc_ignore_rate",
value: 7
},
{
key: "imu_acc_ignore_slope",
value: 4
},
{
key: "imu_dcm_kp",
value: 1000
},
{
key: "imu_dcm_ki",
value: 0
value: 255
},
{
key: "airmode_type",
Expand Down Expand Up @@ -683,6 +679,18 @@ helper.defaultsDialog = (function () {
key: "motor_pwm_protocol",
value: "STANDARD"
},
{
key: "imu_acc_ignore_rate",
value: 15
},
{
key: "imu_acc_ignore_slope",
value: 10
},
{
key: "imu_inertia_comp_method",
value: ADAPTIVE
},
{
key: "throttle_idle",
value: 5.0
Expand Down Expand Up @@ -783,22 +791,6 @@ helper.defaultsDialog = (function () {
key: "fw_ff_yaw",
value: 100
},
{
key: "imu_acc_ignore_rate",
value: 9
},
{
key: "imu_acc_ignore_slope",
value: 5
},
{
key: "imu_dcm_kp",
value: 1000
},
{
key: "imu_dcm_ki",
value: 0
},
{
key: "airmode_type",
value: "STICK_CENTER_ONCE"
Expand Down

0 comments on commit af393fd

Please sign in to comment.