mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Create 3" defaults profile
This commit is contained in:
parent
ce4906f0e4
commit
bcadfbb0ff
2 changed files with 195 additions and 3 deletions
|
@ -11,8 +11,200 @@ helper.defaultsDialog = (function () {
|
|||
|
||||
let $container;
|
||||
|
||||
let data = [{
|
||||
"title": 'Mini Quad with 3"-5" propellers',
|
||||
let data = [
|
||||
{
|
||||
"title": 'Mini Quad with 3" propellers',
|
||||
"id": 6,
|
||||
"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: 85
|
||||
},
|
||||
{
|
||||
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: 70
|
||||
},
|
||||
{
|
||||
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: "RP"
|
||||
},
|
||||
{
|
||||
key: "d_boost_min",
|
||||
value: 1.0
|
||||
},
|
||||
{
|
||||
key: "d_boost_max",
|
||||
value: 1.0
|
||||
},
|
||||
{
|
||||
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: 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
|
||||
*/
|
||||
{
|
||||
key: "tpa_rate",
|
||||
value: 20
|
||||
},
|
||||
{
|
||||
key: "tpa_breakpoint",
|
||||
value: 1200
|
||||
},
|
||||
{
|
||||
key: "platform_type",
|
||||
value: "MULTIROTOR"
|
||||
},
|
||||
{
|
||||
key: "applied_defaults",
|
||||
value: 6
|
||||
},
|
||||
{
|
||||
key: "failsafe_procedure",
|
||||
value: "DROP"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": 'Mini Quad with 5" propellers',
|
||||
"id": 2,
|
||||
"notRecommended": false,
|
||||
"reboot": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue