diff options
author | Paweł Spychalski <pspychalski@gmail.com> | 2022-10-01 20:56:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 20:56:50 +0300 |
commit | fbf56ac3b0c5f391b20f7e9a495a1362c78c6799 (patch) | |
tree | 446eca1e00299f414ccbd2385f8cfda8b41a9a82 | |
parent | 1f8b2bcbb2d9584e517fe93dc8a70a1454f0603e (diff) | |
parent | 189a17d69f5498868b1bc87fbdcc98be230904ca (diff) |
Merge pull request #1631 from iNavFlight/dzikuvx-7-inch-profile
7-inch MR profile
-rw-r--r-- | js/defaults_dialog.js | 193 |
1 files changed, 192 insertions, 1 deletions
diff --git a/js/defaults_dialog.js b/js/defaults_dialog.js index 42b44324..bba8ba44 100644 --- a/js/defaults_dialog.js +++ b/js/defaults_dialog.js @@ -12,7 +12,7 @@ helper.defaultsDialog = (function () { let $container; let data = [{ - "title": 'Mini Quad with 3"-7" propellers', + "title": 'Mini Quad with 3"-5" propellers', "id": 2, "notRecommended": false, "reboot": true, @@ -203,6 +203,197 @@ helper.defaultsDialog = (function () { ] }, { + "title": 'Mini Quad with 7" propellers', + "id": 5, + "notRecommended": false, + "reboot": true, + "mixerToApply": 3, + "settings": [ + { + key: "model_preview_type", + value: 3 + }, + /* + System + */ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "looptime", + value: 500 + }, + { + key: "motor_pwm_protocol", + value: "DSHOT300" + }, + /* + Filtering + */ + { + key: "gyro_main_lpf_hz", + value: 90 + }, + { + key: "gyro_main_lpf_type", + value: "PT1" + }, + { + key: "dterm_lpf_hz", + value: 80 + }, + { + key: "dterm_lpf_type", + value: "PT3" + }, + { + key: "dterm_lpf2_hz", + value: 0 + }, + { + key: "dterm_lpf2_type", + value: "PT1" + }, + { + key: "dynamic_gyro_notch_enabled", + value: "ON" + }, + { + key: "dynamic_gyro_notch_q", + value: 250 + }, + { + key: "dynamic_gyro_notch_min_hz", + value: 60 + }, + { + key: "setpoint_kalman_enabled", + value: "ON" + }, + { + key: "setpoint_kalman_q", + value: 200 + }, + { + key: "smith_predictor_delay", // Enable Smith Predictor + value: 1.5 + }, + /* + Mechanics + */ + { + key: "airmode_type", + value: "THROTTLE_THRESHOLD" + }, + { + key: "airmode_throttle_threshold", + value: 1150 + }, + { + key: "mc_iterm_relax", + value: "RPY" + }, + { + key: "d_boost_min", + value: 0.8 + }, + { + key: "d_boost_max", + value: 1.2 + }, + { + key: "antigravity_gain", + value: 2 + }, + { + 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: 44 + }, + { + key: "mc_i_pitch", + value: 85 + }, + { + key: "mc_d_pitch", + value: 28 + }, + { + key: "mc_p_roll", + value: 40 + }, + { + key: "mc_i_roll", + value: 75 + }, + { + key: "mc_d_roll", + value: 26 + }, + { + key: "mc_p_yaw", + value: 40 + }, + { + key: "mc_i_yaw", + value: 80 + }, + /* + * TPA + */ + { + key: "tpa_rate", + value: 20 + }, + { + key: "tpa_breakpoint", + value: 1200 + }, + { + key: "platform_type", + value: "MULTIROTOR" + }, + { + key: "applied_defaults", + value: 5 + }, + { + key: "failsafe_procedure", + value: "DROP" + } + ] + }, + { "title": 'Airplane with a Tail', "notRecommended": false, "id": 3, |