mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
commit
0a01e5f391
2 changed files with 78 additions and 4 deletions
|
@ -20830,7 +20830,7 @@ presets.presets = [
|
||||||
{
|
{
|
||||||
name: '5" Racer',
|
name: '5" Racer',
|
||||||
description: "210-250 class racer with F3/F4 CPU on 4S battery<br>" +
|
description: "210-250 class racer with F3/F4 CPU on 4S battery<br>" +
|
||||||
"<span>400g-650g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, no GPS capabilities</span>",
|
"<span>400g-650g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, acro flight optimized</span>",
|
||||||
features: [
|
features: [
|
||||||
"Asynchronous processing",
|
"Asynchronous processing",
|
||||||
"OneShot125 at 2kHz",
|
"OneShot125 at 2kHz",
|
||||||
|
@ -20867,6 +20867,44 @@ presets.presets = [
|
||||||
],
|
],
|
||||||
type: 'multirotor'
|
type: 'multirotor'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '5" GPS',
|
||||||
|
description: "210-250 class quadcopter with F1/F3/F4 CPU on 3S or 4S battery<br>" +
|
||||||
|
"<span>500g-700g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, GPS optimized</span>",
|
||||||
|
features: [
|
||||||
|
"OneShot125 at 1kHz",
|
||||||
|
"500dps rates",
|
||||||
|
"Dterm and gyro notch filter",
|
||||||
|
"Increased LPF cutoff frequencies",
|
||||||
|
"Improved PID defaults"
|
||||||
|
],
|
||||||
|
applyDefaults: ["PIDs", "INAV_PID_CONFIG", "ADVANCED_CONFIG", "RC_tuning", "PID_ADVANCED", "FILTER_CONFIG", "FC_CONFIG"],
|
||||||
|
settings: [
|
||||||
|
presets.elementHelper("BF_CONFIG", "mixerConfiguration", 3),
|
||||||
|
presets.elementHelper("INAV_PID_CONFIG", "asynchronousMode", 0),
|
||||||
|
presets.elementHelper("FC_CONFIG", "loopTime", 2000),
|
||||||
|
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "gyroSyncDenominator", 2),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "gyroSync", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "motorPwmProtocol", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "motorPwmRate", 1000),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroSoftLpfHz", 90),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermLpfHz", 80),
|
||||||
|
presets.elementHelper("RC_tuning", "roll_rate", 500),
|
||||||
|
presets.elementHelper("RC_tuning", "pitch_rate", 500),
|
||||||
|
presets.elementHelper("RC_tuning", "yaw_rate", 450),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermNotchHz", 260),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermNotchCutoff", 160),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchHz1", 400),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchCutoff1", 300),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchHz2", 200),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchCutoff2", 100),
|
||||||
|
presets.elementHelper("PIDs", 0, [43, 40, 20]), //ROLL PIDs
|
||||||
|
presets.elementHelper("PIDs", 1, [58, 50, 22]), //PITCH PIDs
|
||||||
|
presets.elementHelper("PIDs", 2, [70, 45, 0]) //YAW PIDs
|
||||||
|
],
|
||||||
|
type: 'multirotor'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: '10" General Purpose',
|
name: '10" General Purpose',
|
||||||
description: "450-600 class general purpose multirotor <br><span>1.0kg - 1.4kg weight, 10 inch propellers, <br>F1, F3 or F4 CPU, MPU6000 or MPU6050 gyro, GPS optional.</span>",
|
description: "450-600 class general purpose multirotor <br><span>1.0kg - 1.4kg weight, 10 inch propellers, <br>F1, F3 or F4 CPU, MPU6000 or MPU6050 gyro, GPS optional.</span>",
|
||||||
|
@ -21217,7 +21255,6 @@ TABS.profiles.initialize = function (callback, scrollPosition) {
|
||||||
window[setting.group][setting.field] = setting.value;
|
window[setting.group][setting.field] = setting.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
saveChainer.execute();
|
saveChainer.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ presets.presets = [
|
||||||
{
|
{
|
||||||
name: '5" Racer',
|
name: '5" Racer',
|
||||||
description: "210-250 class racer with F3/F4 CPU on 4S battery<br>" +
|
description: "210-250 class racer with F3/F4 CPU on 4S battery<br>" +
|
||||||
"<span>400g-650g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, no GPS capabilities</span>",
|
"<span>400g-650g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, acro flight optimized</span>",
|
||||||
features: [
|
features: [
|
||||||
"Asynchronous processing",
|
"Asynchronous processing",
|
||||||
"OneShot125 at 2kHz",
|
"OneShot125 at 2kHz",
|
||||||
|
@ -110,6 +110,44 @@ presets.presets = [
|
||||||
],
|
],
|
||||||
type: 'multirotor'
|
type: 'multirotor'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '5" GPS',
|
||||||
|
description: "210-250 class quadcopter with F1/F3/F4 CPU on 3S or 4S battery<br>" +
|
||||||
|
"<span>500g-700g weight, 2000KV - 2600KV motors, 5 inch propellers, MPU6000 or MPU6050 gyro, GPS optimized</span>",
|
||||||
|
features: [
|
||||||
|
"OneShot125 at 1kHz",
|
||||||
|
"500dps rates",
|
||||||
|
"Dterm and gyro notch filter",
|
||||||
|
"Increased LPF cutoff frequencies",
|
||||||
|
"Improved PID defaults"
|
||||||
|
],
|
||||||
|
applyDefaults: ["PIDs", "INAV_PID_CONFIG", "ADVANCED_CONFIG", "RC_tuning", "PID_ADVANCED", "FILTER_CONFIG", "FC_CONFIG"],
|
||||||
|
settings: [
|
||||||
|
presets.elementHelper("BF_CONFIG", "mixerConfiguration", 3),
|
||||||
|
presets.elementHelper("INAV_PID_CONFIG", "asynchronousMode", 0),
|
||||||
|
presets.elementHelper("FC_CONFIG", "loopTime", 2000),
|
||||||
|
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "gyroSyncDenominator", 2),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "gyroSync", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "motorPwmProtocol", 1),
|
||||||
|
presets.elementHelper("ADVANCED_CONFIG", "motorPwmRate", 1000),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroSoftLpfHz", 90),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermLpfHz", 80),
|
||||||
|
presets.elementHelper("RC_tuning", "roll_rate", 500),
|
||||||
|
presets.elementHelper("RC_tuning", "pitch_rate", 500),
|
||||||
|
presets.elementHelper("RC_tuning", "yaw_rate", 450),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermNotchHz", 260),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "dtermNotchCutoff", 160),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchHz1", 400),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchCutoff1", 300),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchHz2", 200),
|
||||||
|
presets.elementHelper("FILTER_CONFIG", "gyroNotchCutoff2", 100),
|
||||||
|
presets.elementHelper("PIDs", 0, [43, 40, 20]), //ROLL PIDs
|
||||||
|
presets.elementHelper("PIDs", 1, [58, 50, 22]), //PITCH PIDs
|
||||||
|
presets.elementHelper("PIDs", 2, [70, 45, 0]) //YAW PIDs
|
||||||
|
],
|
||||||
|
type: 'multirotor'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: '10" General Purpose',
|
name: '10" General Purpose',
|
||||||
description: "450-600 class general purpose multirotor <br><span>1.0kg - 1.4kg weight, 10 inch propellers, <br>F1, F3 or F4 CPU, MPU6000 or MPU6050 gyro, GPS optional.</span>",
|
description: "450-600 class general purpose multirotor <br><span>1.0kg - 1.4kg weight, 10 inch propellers, <br>F1, F3 or F4 CPU, MPU6000 or MPU6050 gyro, GPS optional.</span>",
|
||||||
|
@ -460,7 +498,6 @@ TABS.profiles.initialize = function (callback, scrollPosition) {
|
||||||
window[setting.group][setting.field] = setting.value;
|
window[setting.group][setting.field] = setting.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
saveChainer.execute();
|
saveChainer.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue