Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable Ez Tune for 3" preset by default #1932

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 19 additions & 86 deletions js/defaults_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,48 +39,44 @@ helper.defaultsDialog = (function () {
value: "DSHOT300"
},
/*
Filtering
Ez Tune setup
*/
{
key: "gyro_main_lpf_hz",
value: 90
key: "ez_enabled",
value: "ON"
},
{
key: "gyro_main_lpf_type",
value: "PT1"
key: "ez_filter_hz",
value: 90
},
{
key: "dterm_lpf_hz",
value: 85
key: "ez_axis_ratio",
value: 116
},
{
key: "dterm_lpf_type",
value: "PT3"
key: "ez_response",
value: 71
},
{
key: "dynamic_gyro_notch_enabled",
value: "ON"
key: "ez_damping",
value: 103
},
{
key: "dynamic_gyro_notch_q",
value: 250
key: "ez_stability",
value: 105
},
{
key: "dynamic_gyro_notch_min_hz",
value: 70
key: "ez_aggressiveness",
value: 100
},
{
key: "setpoint_kalman_enabled",
value: "ON"
key: "ez_rate",
value: 134
},
{
key: "setpoint_kalman_q",
value: 200
key: "ez_expo",
value: 118
},
{
key: "smith_predictor_delay", // Enable Smith Predictor
value: 1.5
},
/*
Mechanics
*/
Expand Down Expand Up @@ -112,64 +108,6 @@ helper.defaultsDialog = (function () {
key: "antigravity_accelerator",
value: 5
},
/*
Rates
*/
{
key: "rc_yaw_expo",
value: 75
},
{
key: "rc_expo",
value: 75
},
{
key: "roll_rate",
value: 70
},
{
key: "pitch_rate",
value: 70
},
{
key: "yaw_rate",
value: 60
},
/*
PIDs
*/
{
key: "mc_p_pitch",
value: 32
},
{
key: "mc_i_pitch",
value: 90
},
{
key: "mc_d_pitch",
value: 25
},
{
key: "mc_p_roll",
value: 28
},
{
key: "mc_i_roll",
value: 80
},
{
key: "mc_d_roll",
value: 23
},
{
key: "mc_p_yaw",
value: 30
},
{
key: "mc_i_yaw",
value: 80
},
/*
* TPA
*/
Expand All @@ -192,11 +130,6 @@ helper.defaultsDialog = (function () {
{
key: "failsafe_procedure",
value: "DROP"
},
// Ez Tune
{
key: "ez_filter_hz",
value: 90
}
]
},
Expand Down