Releases: iNavFlight/inav
INAV 6 Feature Preview 1
Hello and welcome to INAV 6 "Horizon Hawk"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Tested and suggested hardware can be found here
Important Notes
Upgrading from a previous release
Upgrading from INAV 5 and 5.1
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 6 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 5.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
New AHRS (Attitude & Heading Reference System)
INAV 6.0 includes a big Update to its AHRS for Attitude Estimation, to make sure INAV always knows it's correct attitude relative to the ground. This should once and for all fix the issue, known as "Horizon Drift" and makes any navigation mode as well as self-leveling modes like ANGLE fully reliable and allows much more precise GPS-Navigation. This affects Fixed Wing as well as Multirotor.
The best results are given if the craft is equipped with GPS and in the case of Multirotor also with a compass. But also for pure LOS Crafts that have no GPS on board, the AHI stability is noticeably improved in most situations. To work best with non-GPS Fixed Wings, the Reference Airspeed has to be set according the average cruise speed of the craft.
Beta only: When Updating from INAV 5.1 or older, apply the following settings after loading back your previous DIFF (Any Fixed Wing or Copter):
set imu_acc_ignore_rate = 15
set imu_acc_ignore_slope = 10
set imu_dcm_kp = 2000
set imu_dcm_ki = 50
set imu_dcm_kp_mag = 2000
set imu_dcm_ki_mag = 50
Fixed Wing only:
set imu_inertia_comp_method = ADAPTIVE
Copter only:
set imu_inertia_comp_method = VELNED
For Fixed Wing Craft with no GPS:
set fw_reference_airspeed =
(set this in cm/s. Set this to airspeed at which PIDs were tuned. Usually should be set to cruise airspeed. Also used for coordinated turn calculation if airspeed sensor is not present.)
If you notice any problems, please head to the Discussion Thread here and post your feedback, if possible with DVR and Blackbox log: #8469
HUD Offset change
The operation of osd_horizon_offset
has been reversed, to make it more intuitive. If you have a non-zero value for osd_horizon_offset
it will need to be inverted. For example osd_horizon_offset = 1
would become osd_horizon_offset = -1
. Positive values move the HUD up, and negative values move it down.
The full list of changes is available here
The full list of INAV Configurator changes is available here
What's Changed
- Clean old box comments by @JulioCesarMatias in #8076
- Update Omnibus F4.md by @gigabytebit in #8088
- Remove the rest of the PCA9685 driver by @JulioCesarMatias in #8085
- Fix mixing motor and servo on same timer. by @sasodoma in #8071
- [fc/fc_msp_box.c] Remove uncompiled line by @JulioCesarMatias in #8077
- Clear the #if 0 by @JulioCesarMatias in #8118
- Target release cleanup by @DzikuVx in #8108
- Make use of calc_length_pythagorean_2D on some lines by @JulioCesarMatias in #8101
- Edit GPS Provider list by @JulioCesarMatias in #8102
- [flash_m25p16.c] Add W25Q128 variant by @JulioCesarMatias in #8054
- Drop MTK GPS by @JulioCesarMatias in #8084
- RTH Trackback by @breadoven in #7988
- Remove nav_extra_arming_safety = OFF option by @MrD-RC in #8106
- Fix PC2/PC3 ADC not working on MAMBAH743 by @hogthrob in #8149
- [BMP280] Allow target-specific I2C address definition by @RomanLut in #8129
- Drop support for NAZA GPS by @DzikuVx in #8144
- Release 5.0.0 by @DzikuVx in #8061
- Fix wrong merge by @DzikuVx in #8151
- INAV 6 version bump by @DzikuVx in #8141
- Set Gyro Raw as an independent Blackbox field, not debug mode by @DzikuVx in #8139
- [cli.c] RC map code aesthetics by @JulioCesarMatias in #8153
- Remove F3 from the codebase by @DzikuVx in #8053
- Settings.md: Document osd_ahi_reverse_roll by @sensei-hacker in #8167
- Drop a function used only in STM32F3 by @JulioCesarMatias in #8164
- Drop the BNO055 I2C version by @DzikuVx in #8168
- Drop the JR XBUS support as not used by @DzikuVx in #8176
- Remove an unused definition by @JulioCesarMatias in #8181
- Reorder box_t to save few hundreds of bytes by @JulioCesarMatias in #8180
- Drop SPI RX as not used by any supported hardware by @DzikuVx in #8173
- Reset fixed wing heading status on disarm by @breadoven in #8160
- OmnibusF4 RX serial fix by @breadoven in #8175
- Increased FW launch abort pitch/roll stick dead band by @breadoven in #8161
- Remove additional validation for motor rate by @DzikuVx in #8174
- Fix surface mode msp box availability logic by @breadoven in #8171
- Update VTx.md by @MrD-RC in #8187
- Opimise navwaypoint_t stuct alignment by @stronnag in #8182
- Optimize memory for better alignment by @DzikuVx in #8183
- Fix RX Serial Enumeration by @JulioCesarMatias in #8191
- Remove unused rxRefreshRate by @JulioCesarMatias in #8189
- Configurator: Reset PIDs button to use applied defaults by @MrD-RC in #8185
- Log gyro noise peaks as separate fields by @DzikuVx in #8197
- Drop SUMH RX protocol by @DzikuVx in #8198
- Update jetiexbus.c by @RoadyFPV in #8202
- Support for Flash Memory W25N01G of 128MB by @JulioCesarMatias in #8166
- [STM32F3] Remove everything else by @JulioCesarMatias in #8204
- Debug cleanup by @DzikuVx in #8211
- [Building in Linux.md] Fix Typo by @JulioCesarMatias in #8222
- Remove unused header file by @JulioCesarMatias in #8221
- Drop the MPU-6050 Support by @JulioCesarMatias in #8213
- Remove barometer median filter by @digitalentity in #8201
- OSD PG reset template version bump by @breadoven in #8217
- Nav launch stick abort deadband setting by @breadoven in #8218
- RC interpolation updates by @DzikuVx in #8212
- [config_eeprom.c] Replace a function with another one that already exists in the library by @JulioCesarMatias in #8215
- Report motor RPM via MSP by @DzikuVx in #8225
- Make HUD offset more intuitive by @MrD-RC in #8226
- Nav launch manual throttle option by @breadoven in https://gi...
INAV 5.1 "Ballistic Buzzard"
Hello and welcome to INAV 5.1 "Ballistic Buzzard"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
Config wipe mitigation
INAV 5.1 lowers the probablity of a full config wipe on reboot. Bear in mind, technically it's not a bug. When FC is disconnected during EEPROM write, checksum will not updated and INAV will erase flash on next boot as a safety measure. To prevent this from happening, always wait until INAV fully reboots before disconnecting the flight controller.
Mamba H743 and ZEEZF7 V2 external flash
INAV 5.1 supports 128Mbit W25N01G flash memory that can be found on Mamba H743 and ZEEZF7 V2.
Horizon Drift mitigation
To improve AHI drift on fixed wings, apply following settings via CLI:
For airplanes without a tail (wings, delta, etc)
set imu_acc_ignore_rate = 9
set imu_acc_ignore_slope = 5
set nav_fw_pos_z_p = 35
set nav_fw_pos_z_i = 5
set nav_fw_pos_z_d = 10
set nav_fw_pos_xy_p = 70
set imu_dcm_kp = 1000
set imu_dcm_ki = 0
For airplanes with a tail (dedicated elevator)
set imu_acc_ignore_rate = 7
set imu_acc_ignore_slope = 4
set nav_fw_pos_z_p = 25
set nav_fw_pos_z_i = 5
set nav_fw_pos_z_d = 7
set nav_fw_pos_xy_p = 55
set imu_dcm_kp = 1000
set imu_dcm_ki = 0
Upgrading from a previous release
Upgrading from INAV 5
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 5.1 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- You should be ready, explore new 5.1 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
New targets
- SpeedyBee F7 V3
- AtomRC F405 NAVI
- iFlight JB F7 Pro
- iFlight Blitz F7 Pro
CLI
New Settings
nav_fw_launch_abort_deadband
Launch abort stick deadband in [r/c points], applied after r/c deadband and expo. The Roll/Pitch stick needs to be deflected beyond this deadband to abort the launch.
What's Changed
- Do not automatically persist the gyro calibration by @DzikuVx in #8216
- Add PINIO support to Matek F405 SE by @MrD-RC in #8256
- Make programming framework CLI safe by @MrD-RC in #8266
- Fix esc temperature sensor maxing out by @MrD-RC in #8299
- Speedybee F7 V3 by @DzikuVx in #8317
- AtomRC F405 NAVI target by @DzikuVx in #8321
- iFlight BLITZF7PRO target by @nmaggioni in #8335
- iFlight JBF7PRO target by @nmaggioni in #8334
Full Changelog: 5.0.0...5.1.0
The full list of changes is available here
The full list of INAV Configurator changes is available here
INAV 5 "Ballistic Buzzard"
Hello and welcome to INAV 5.0 "Ballistic Buzzard"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
Save performed on every power on; could result in wiped configuration
A new feature on this firmware causes a save command to be executed every time the flight controller is powered on. If this save command is interrupted, the configuration could become corrupted, and you full configuration will be wiped. We recommend that you instead install INAV 5.1, which removed this save command, while keeping the new feature.
PCA9685 PWM driver no longer supported
The I2C PCA9685 servo driver is no longer supported as obsolete and not widely adopted. All PCA9685 setups are advised to upgrade to SBUS output and SBUS to PWM
decoders
Gyro and Acc alignment settings removed
The align_acc
and align_gyro
settings are removed. Gyro/Acc orientation should always be set with align_board_yaw
GPS Glitch Detection
The NAV_GPS_GLITCH_DETECTION
was removed as not suitable for modern aircraft. There is no user action required
Removal of depreciated MSP frames
INAV 5 removed the support for the following MSP frames:
MSP_IDENT
MSP_PID
MSP_PID_CONTROLLER
MSP_BF_CONFIG
MSP_BF_BUILD_INFO
MSP_SET_PID_CONTROLLER
MSP_SET_PID
MSP_SET_BF_CONFIG
MSP_CF_SERIAL_CONFIG
MSP_SET_CF_SERIAL_CONFIG
No user action is required in the case of the INAV Configurator or mwptools (mwp etc.). In the case of 3rd party INAV configuration apps, this change might break the compatibility if the app was using any of those frames. SpeedyBee
developers have been notified, other apps have to adjust accordingly.
Strict MSP payload length checking
In order to help mitigate the "randomly changed settings" bug, strict MSP payload length checking has been implemented. Fixed size MSP frames that do not specify the correct payload size will be rejected. The INAV Configurator and mwptools (mwp etc.) are compliant. In the case of 3rd party INAV configuration / mission planning / monitoring apps, this change might break interoperability if the app was not correctly setting the payload size. SpeedyBee
developers have been notified, other apps may have to adjust accordingly.
Upgrading from a previous release
Upgrading from INAV 4 and 4.1
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 5.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 5.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Configurable outputs mode
INAV allows changing the function assignment of ALL PWM outputs. Bear in mind, that it's not resource mapping! This function allows assigning all outputs as motors or all outputs as servos. It's driven by CLI output_mode
setting
AUTO
assigns outputs according to the default mappingSERVOS
assigns all outputs to servosMOTORS
assigns all outputs to motors
Improved landing detection
Updates landing detection for multirotor and add detection for fixed-wing. Detects when flying and activates landing detection from that point. Multirotor detection was added for non-autonomous landing as well as RTH. Fixed-wing detection is based on velocity, axis rates, and finally absolute movement in roll and pitch (so it probably wouldn't work if stuck in a tree being blown around by the wind). For details see #7270
Add the ability to adjust LED Strip color with RC channel
LED hue can be updated with an RC channel. For example, CLI led 7 8,10::H:6
will adjust hue of LED number 7 based on RC channel 6. For details see #7618
An option to not calibrate the gyro during boot
This feature allows to arm of INAV aircraft on a boat or any other moving vehicle, as it allows to use of stored gyro calibration value instead of calibrating on every boot.
init_gyro_cal
If defined to OFF, it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope's last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup.gyro_zero_x
gyro X calibration storedgyro_zero_y
gyro Y calibration storedgyro_zero_z
gyro Z calibration stored
WP mission waypoint enforce altitude option
Provides an option to force mission waypoint altitude to be achieved before moving on to the next waypoint. If the set altitude hasn't been achieved when the craft arrives at the waypoint it will hold and adjust the altitude as required with a target margin of 100cm. Planes use a spiral loiter whilst changing altitude. The option is set for the whole mission and applicable to basic and timed hold waypoints. For details see #7644
Improved Altitude Hold controller
INAV will now use the SQRT
controller for Altitude Control on Multirotors. No extra pilot action required. For details see #7845
TBS Sixty9 SA2.1 UART Configuration
Adds the vtx_smartaudio_stopbits
setting that when set to 1
fixes the TBS Sixty9 SmartAudio 2.1 issues.
Rangefinder in Logic Conditions
Adds following value as Logic Conditions Operands:
AGL_STATUS
boolean1
when AGL can be trusted,0
when AGL estimate can not be trustedAGL
integer Above The Groud Altitude incm
RANGEFINDER_RAW
integer raw distance provided by the rangefinder incm
Matek 1G3SE control via IRC Tramp
To use the Matek 1G3SE with IRC Tramp. You will need to enter the CLI command set vtx_frequency_group = FREQUENCYGROUP_1G3
. You must also make sure that the initial VTx settings in the configuration tab are in a valid range. They are:
vtx_band
1 or 2vtx_channel
between 1 and 9
As part of this change.
The default VTx band has been changed from 4 to 1. If you are updating, please check that the band is still correct for your setup.
For details see #7949
Motor update frequency changes
motor_pwm_rate
setting is right now used only in case on BRUSHED
motor output. STANDARD
, ONESHOT125
, MULTISHOT
and all DSHOT
protocols use predefined update rate that can not be changed
PWM function mapping change for some targets
KAKUTEH7
, MAMBAF722_2022A
and MAMBAH743
have now 4 motor and 4 servo outputs by default. To enable X8
mode, CLI set output_mode=MOTORS
command has to be used.
SPEEDYBEEF4
has now the following pin assignment in the fixed wing mode:
- S1-S4 - Servo
- S5-S6 - Motor
- S7 - Servo
New targets
- Holybro Kakute H7 Mini KAKUTEH7MINI
- Diatone Mamba F405_2022A MAMBAF405_2022A
- Diatone Mamba F722_2022A MAMBAF722_2022A
- Mateksys F411TE MATEKF411TE
- Mateksys F405TE MATEKF405TE and MATEKF405TE_SD
- Foxeer F745 AIO FOXEERF745AIO
- AOCODARCF7DUAL
CLI
Changed settings
Name | Values |
---|---|
debug_modes | New: LANDING |
servo_protocol | Removed: SERVO_DRIVER |
New Settings
Name | Description |
---|---|
ground_test_mode | For developer ground test use. Disables motors, sets heading status = Trusted on FW. Default: FALSE |
gyro_zero_x | Calculated gyro zero calibration of axis X Values: -32768 - 32767 Default: 0 |
gyro_zero_y | Calculated gyro zero calibration of axis Y Values: -32768 - 32767 Default: 0 |
gyro_zero_z | Calculated gyro zero calibration of axis Z Values: -32768 - 32767 Default: 0 |
init_gyro_cal | If defined to 'OFF', it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup. Default: TRUE |
ins_gravity_cmss | Calculated 1G of Acc axis Z to use in INS... |
INAV 5 "Ballistic Buzzard" RC3
Hello and welcome to INAV 5.0 "Ballistic Buzzard"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
PCA9685 PWM driver no longer supported
The I2C PCA9685 servo driver is no longer supported as obsolete and not widely adopted. All PCA9685 setups are advised to upgrade to SBUS output and SBUS to PWM
decoders
Gyro and Acc alignment settings removed
The align_acc
and align_gyro
settings are removed. Gyro/Acc orientation should always be set with align_board_yaw
GPS Glitch Detection
The NAV_GPS_GLITCH_DETECTION
was removed as not suitable for modern aircraft. There is no user action required
Removal of depreciated MSP frames
INAV 5 removed the support for the following MSP frames:
MSP_IDENT
MSP_PID
MSP_PID_CONTROLLER
MSP_BF_CONFIG
MSP_BF_BUILD_INFO
MSP_SET_PID_CONTROLLER
MSP_SET_PID
MSP_SET_BF_CONFIG
MSP_CF_SERIAL_CONFIG
MSP_SET_CF_SERIAL_CONFIG
No user action is required in the case of the INAV Configurator or mwptools (mwp etc.). In the case of 3rd party INAV configuration apps, this change might break the compatibility if the app was using any of those frames. SpeedyBee
developers have been notified, other apps have to adjust accordingly.
Strict MSP payload length checking
In order to help mitigate the "randomly changed settings" bug, strict MSP payload length checking has been implemented. Fixed size MSP frames that do not specify the correct payload size will be rejected. The INAV Configurator and mwptools (mwp etc.) are compliant. In the case of 3rd party INAV configuration / mission planning / monitoring apps, this change might break interoperability if the app was not correctly setting the payload size. SpeedyBee
developers have been notified, other apps may have to adjust accordingly.
Upgrading from a previous release
Upgrading from INAV 4 and 4.1
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 5.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 5.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Configurable outputs mode
INAV allows changing the function assignment of ALL PWM outputs. Bear in mind, that it's not resource mapping! This function allows assigning all outputs as motors or all outputs as servos. It's driven by CLI output_mode
setting
AUTO
assigns outputs according to the default mappingSERVOS
assigns all outputs to servosMOTORS
assigns all outputs to motors
Improved landing detection
Updates landing detection for multirotor and add detection for fixed-wing. Detects when flying and activates landing detection from that point. Multirotor detection was added for non-autonomous landing as well as RTH. Fixed-wing detection is based on velocity, axis rates, and finally absolute movement in roll and pitch (so it probably wouldn't work if stuck in a tree being blown around by the wind). For details see #7270
Add the ability to adjust LED Strip color with RC channel
LED hue can be updated with an RC channel. For example, CLI led 7 8,10::H:6
will adjust hue of LED number 7 based on RC channel 6. For details see #7618
An option to not calibrate the gyro during boot
This feature allows to arm of INAV aircraft on a boat or any other moving vehicle, as it allows to use of stored gyro calibration value instead of calibrating on every boot.
init_gyro_cal
If defined to OFF, it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope's last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup.gyro_zero_x
gyro X calibration storedgyro_zero_y
gyro Y calibration storedgyro_zero_z
gyro Z calibration stored
WP mission waypoint enforce altitude option
Provides an option to force mission waypoint altitude to be achieved before moving on to the next waypoint. If the set altitude hasn't been achieved when the craft arrives at the waypoint it will hold and adjust the altitude as required with a target margin of 100cm. Planes use a spiral loiter whilst changing altitude. The option is set for the whole mission and applicable to basic and timed hold waypoints. For details see #7644
Improved Altitude Hold controller
INAV will now use the SQRT
controller for Altitude Control on Multirotors. No extra pilot action required. For details see #7845
TBS Sixty9 SA2.1 UART Configuration
Adds the vtx_smartaudio_stopbits
setting that when set to 1
fixes the TBS Sixty9 SmartAudio 2.1 issues.
Rangefinder in Logic Conditions
Adds following value as Logic Conditions Operands:
AGL_STATUS
boolean1
when AGL can be trusted,0
when AGL estimate can not be trustedAGL
integer Above The Groud Altitude incm
RANGEFINDER_RAW
integer raw distance provided by the rangefinder incm
Matek 1G3SE control via IRC Tramp
To use the Matek 1G3SE with IRC Tramp. You will need to enter the CLI command set vtx_frequency_group = FREQUENCYGROUP_1G3
. You must also make sure that the initial VTx settings in the configuration tab are in a valid range. They are:
vtx_band
1 or 2vtx_channel
between 1 and 9
As part of this change.
The default VTx band has been changed from 4 to 1. If you are updating, please check that the band is still correct for your setup.
For details see #7949
Motor update frequency changes
motor_pwm_rate
setting is right now used only in case on BRUSHED
motor output. STANDARD
, ONESHOT125
, MULTISHOT
and all DSHOT
protocols use predefined update rate that can not be changed
PWM function mapping change for some targets
KAKUTEH7
, MAMBAF722_2022A
and MAMBAH743
have now 4 motor and 4 servo outputs by default. To enable X8
mode, CLI set output_mode=MOTORS
command has to be used.
SPEEDYBEEF4
has now the following pin assignment in the fixed wing mode:
- S1-S4 - Servo
- S5-S6 - Motor
- S7 - Servo
New targets
- Holybro Kakute H7 Mini KAKUTEH7MINI
- Diatone Mamba F405_2022A MAMBAF405_2022A
- Diatone Mamba F722_2022A MAMBAF722_2022A
- Mateksys F411TE MATEKF411TE
- Mateksys F405TE MATEKF405TE and MATEKF405TE_SD
- Foxeer F745 AIO FOXEERF745AIO
- AOCODARCF7DUAL
CLI
Changed settings
Name | Values |
---|---|
debug_modes | New: LANDING |
servo_protocol | Removed: SERVO_DRIVER |
New Settings
Name | Description |
---|---|
ground_test_mode | For developer ground test use. Disables motors, sets heading status = Trusted on FW. Default: FALSE |
gyro_zero_x | Calculated gyro zero calibration of axis X Values: -32768 - 32767 Default: 0 |
gyro_zero_y | Calculated gyro zero calibration of axis Y Values: -32768 - 32767 Default: 0 |
gyro_zero_z | Calculated gyro zero calibration of axis Z Values: -32768 - 32767 Default: 0 |
init_gyro_cal | If defined to 'OFF', it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup. Default: TRUE |
ins_gravity_cmss | Calculated 1G of Acc axis Z to use in INS Values: 0 - 2000 Default: 0.0 |
nav_fw_auto_disarm_delay | Delay before plane disarms when nav_disarm_on_landing is set (ms) Values: 100 - 10000 Default: 2000 |
nav_wp_enforce_altitude | Forces craft to achieve the set WP altitude as well as position before moving to next WP. Position is held and altitude adjusted as required before moving on. Default: FALSE |
osd_mah_used_precision | Number of digits used to dis... |
INAV 5 "Ballistic Buzzard" RC2
Hello and welcome to INAV 5.0 "Ballistic Buzzard"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
PCA9685 PWM driver no longer supported
The I2C PCA9685 servo driver is no longer supported as obsolete and not widely adopted. All PCA9685 setups are advised to upgrade to SBUS output and SBUS to PWM
decoders
Gyro and Acc alignment settings removed
The align_acc
and align_gyro
settings are removed. Gyro/Acc orientation should always be set with align_board_yaw
GPS Glitch Detection
The NAV_GPS_GLITCH_DETECTION
was removed as not suitable for modern aircraft. There is no user action required
Removal of depreciated MSP frames
INAV 5 removed the support for the following MSP frames:
MSP_IDENT
MSP_PID
MSP_PID_CONTROLLER
MSP_BF_CONFIG
MSP_BF_BUILD_INFO
MSP_SET_PID_CONTROLLER
MSP_SET_PID
MSP_SET_BF_CONFIG
MSP_CF_SERIAL_CONFIG
MSP_SET_CF_SERIAL_CONFIG
No user action is required in the case of the INAV Configurator or mwptools (mwp etc.). In the case of 3rd party INAV configuration apps, this change might break the compatibility if the app was using any of those frames. SpeedyBee
developers have been notified, other apps have to adjust accordingly.
Strict MSP payload length checking
In order to help mitigate the "randomly changed settings" bug, strict MSP payload length checking has been implemented. Fixed size MSP frames that do not specify the correct payload size will be rejected. The INAV Configurator and mwptools (mwp etc.) are compliant. In the case of 3rd party INAV configuration / mission planning / monitoring apps, this change might break interoperability if the app was not correctly setting the payload size. SpeedyBee
developers have been notified, other apps may have to adjust accordingly.
Upgrading from a previous release
Upgrading from INAV 4 and 4.1
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 5.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 5.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Configurable outputs mode
INAV allows changing the function assignment of ALL PWM outputs. Bear in mind, that it's not resource mapping! This function allows assigning all outputs as motors or all outputs as servos. It's driven by CLI output_mode
setting
AUTO
assigns outputs according to the default mappingSERVOS
assigns all outputs to servosMOTORS
assigns all outputs to motors
Improved landing detection
Updates landing detection for multirotor and add detection for fixed-wing. Detects when flying and activates landing detection from that point. Multirotor detection was added for non-autonomous landing as well as RTH. Fixed-wing detection is based on velocity, axis rates, and finally absolute movement in roll and pitch (so it probably wouldn't work if stuck in a tree being blown around by the wind). For details see #7270
Add the ability to adjust LED Strip color with RC channel
LED hue can be updated with an RC channel. For example, CLI led 7 8,10::H:6
will adjust hue of LED number 7 based on RC channel 6. For details see #7618
An option to not calibrate the gyro during boot
This feature allows to arm of INAV aircraft on a boat or any other moving vehicle, as it allows to use of stored gyro calibration value instead of calibrating on every boot.
init_gyro_cal
If defined to OFF, it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope's last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup.gyro_zero_x
gyro X calibration storedgyro_zero_y
gyro Y calibration storedgyro_zero_z
gyro Z calibration stored
WP mission waypoint enforce altitude option
Provides an option to force mission waypoint altitude to be achieved before moving on to the next waypoint. If the set altitude hasn't been achieved when the craft arrives at the waypoint it will hold and adjust the altitude as required with a target margin of 100cm. Planes use a spiral loiter whilst changing altitude. The option is set for the whole mission and applicable to basic and timed hold waypoints. For details see #7644
Improved Altitude Hold controller
INAV will now use the SQRT
controller for Altitude Control on Multirotors. No extra pilot action required. For details see #7845
TBS Sixty9 SA2.1 UART Configuration
Adds the vtx_smartaudio_stopbits
setting that when set to 1
fixes the TBS Sixty9 SmartAudio 2.1 issues.
Rangefinder in Logic Conditions
Adds following value as Logic Conditions Operands:
AGL_STATUS
boolean1
when AGL can be trusted,0
when AGL estimate can not be trustedAGL
integer Above The Groud Altitude incm
RANGEFINDER_RAW
integer raw distance provided by the rangefinder incm
Matek 1G3SE control via IRC Tramp
To use the Matek 1G3SE with IRC Tramp. You will need to enter the CLI command set vtx_frequency_group = FREQUENCYGROUP_1G3
. You must also make sure that the initial VTx settings in the configuration tab are in a valid range. They are:
vtx_band
1 or 2vtx_channel
between 1 and 9
As part of this change.
The default VTx band has been changed from 4 to 1. If you are updating, please check that the band is still correct for your setup.
For details see #7949
PWM function mapping change for some targets
KAKUTEH7
, MAMBAF722_2022A
and MAMBAH743
have now 4 motor and 4 servo outputs by default. To enable X8
mode, CLI set output_mode=MOTORS
command has to be used.
New targets
- Holybro Kakute H7 Mini KAKUTEH7MINI
- Diatone Mamba F405_2022A MAMBAF405_2022A
- Diatone Mamba F722_2022A MAMBAF722_2022A
- Mateksys F411TE MATEKF411TE
- Mateksys F405TE MATEKF405TE and MATEKF405TE_SD
- Foxeer F745 AIO FOXEERF745AIO
- AOCODARCF7DUAL
CLI
Changed settings
Name | Values |
---|---|
debug_modes | New: LANDING |
servo_protocol | Removed: SERVO_DRIVER |
New Settings
Name | Description |
---|---|
ground_test_mode | For developer ground test use. Disables motors, sets heading status = Trusted on FW. Default: FALSE |
gyro_zero_x | Calculated gyro zero calibration of axis X Values: -32768 - 32767 Default: 0 |
gyro_zero_y | Calculated gyro zero calibration of axis Y Values: -32768 - 32767 Default: 0 |
gyro_zero_z | Calculated gyro zero calibration of axis Z Values: -32768 - 32767 Default: 0 |
init_gyro_cal | If defined to 'OFF', it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup. Default: TRUE |
ins_gravity_cmss | Calculated 1G of Acc axis Z to use in INS Values: 0 - 2000 Default: 0.0 |
nav_fw_auto_disarm_delay | Delay before plane disarms when nav_disarm_on_landing is set (ms) Values: 100 - 10000 Default: 2000 |
nav_wp_enforce_altitude | Forces craft to achieve the set WP altitude as well as position before moving to next WP. Position is held and altitude adjusted as required before moving on. Default: FALSE |
osd_mah_used_precision | Number of digits used to display mAh used. Values: 4 - 6 Default: 4 |
osd_switch_indicator_one_channnel | RC Channel to use for OSD switch indicator 1. Default: 5 |
osd_switch_indicator_one_name | Character to use for OSD switch incicator 1. Values: 0 - 5 Default: GEAR |
osd_switch_indicator_three_channnel | RC Channel to use for OSD switch indicator 3. Default: 5 |
osd_switch_... |
INAV 5 "Ballistic Buzzard" RC1
Hello and welcome to INAV 5.0 "Ballistic Buzzard"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
PCA9685 PWM driver no longer supported
The I2C PCA9685 servo driver is no longer supported as obsolete and not widely adopted. All PCA9685 setups are advised to upgrade to SBUS output and SBUS to PWM
decoders
Gyro and Acc alignment settings removed
The align_acc
and align_gyro
settings are removed. Gyro/Acc orientation should always be set with align_board_yaw
GPS Glitch Detection
The NAV_GPS_GLITCH_DETECTION
was removed as not suitable for modern aircraft. There is no user action required
Removal of depreciated MSP frames
INAV 5 removed the support for the following MSP frames:
MSP_IDENT
MSP_PID
MSP_PID_CONTROLLER
MSP_BF_CONFIG
MSP_BF_BUILD_INFO
MSP_SET_PID_CONTROLLER
MSP_SET_PID
MSP_SET_BF_CONFIG
MSP_CF_SERIAL_CONFIG
MSP_SET_CF_SERIAL_CONFIG
No user action is required in the case of the INAV Configurator or mwptools (mwp etc.). In the case of 3rd party INAV configuration apps, this change might break the compatibility if the app was using any of those frames. SpeedyBee
developers have been notified, other apps have to adjust accordingly.
Strict MSP payload length checking
In order to help mitigate the "randomly changed settings" bug, strict MSP payload length checking has been implemented. Fixed size MSP frames that do not specify the correct payload size will be rejected. The INAV Configurator and mwptools (mwp etc.) are compliant. In the case of 3rd party INAV configuration / mission planning / monitoring apps, this change might break interoperability if the app was not correctly setting the payload size. SpeedyBee
developers have been notified, other apps may have to adjust accordingly.
Upgrading from a previous release
Upgrading from INAV 4 and 4.1
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 5.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 5.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Configurable outputs mode
INAV allows changing the function assignment of ALL PWM outputs. Bear in mind, that it's not resource mapping! This function allows assigning all outputs as motors or all outputs as servos. It's driven by CLI output_mode
setting
AUTO
assigns outputs according to the default mappingSERVOS
assigns all outputs to servosMOTORS
assigns all outputs to motors
Improved landing detection
Updates landing detection for multirotor and add detection for fixed-wing. Detects when flying and activates landing detection from that point. Multirotor detection was added for non-autonomous landing as well as RTH. Fixed-wing detection is based on velocity, axis rates, and finally absolute movement in roll and pitch (so it probably wouldn't work if stuck in a tree being blown around by the wind). For details see #7270
Add the ability to adjust LED Strip color with RC channel
LED hue can be updated with an RC channel. For example, CLI led 7 8,10::H:6
will adjust hue of LED number 7 based on RC channel 6. For details see #7618
An option to not calibrate the gyro during boot
This feature allows to arm of INAV aircraft on a boat or any other moving vehicle, as it allows to use of stored gyro calibration value instead of calibrating on every boot.
init_gyro_cal
If defined to OFF, it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope's last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup.gyro_zero_x
gyro X calibration storedgyro_zero_y
gyro Y calibration storedgyro_zero_z
gyro Z calibration stored
WP mission waypoint enforce altitude option
Provides an option to force mission waypoint altitude to be achieved before moving on to the next waypoint. If the set altitude hasn't been achieved when the craft arrives at the waypoint it will hold and adjust the altitude as required with a target margin of 100cm. Planes use a spiral loiter whilst changing altitude. The option is set for the whole mission and applicable to basic and timed hold waypoints. For details see #7644
Improved Altitude Hold controller
INAV will now use the SQRT
controller for Altitude Control on Multirotors. No extra pilot action required. For details see #7845
TBS Sixty9 SA2.1 UART Configuration
Adds the vtx_smartaudio_stopbits
setting that when set to 1
fixes the TBS Sixty9 SmartAudio 2.1 issues.
Rangefinder in Logic Conditions
Adds following value as Logic Conditions Operands:
AGL_STATUS
boolean1
when AGL can be trusted,0
when AGL estimate can not be trustedAGL
integer Above The Groud Altitude incm
RANGEFINDER_RAW
integer raw distance provided by the rangefinder incm
Matek 1G3SE control via IRC Tramp
To use the Matek 1G3SE with IRC Tramp. You will need to enter the CLI command set vtx_frequency_group = FREQUENCYGROUP_1G3
. You must also make sure that the initial VTx settings in the configuration tab are in a valid range. They are:
vtx_band
1 or 2vtx_channel
between 1 and 9
As part of this change.
The default VTx band has been changed from 4 to 1. If you are updating, please check that the band is still correct for your setup.
For details see #7949
PWM function mapping change for some targets
KAKUTEH7
, MAMBAF722_2022A
and MAMBAH743
have now 4 motor and 4 servo outputs by default. To enable X8
mode, CLI set output_mode=MOTORS
command has to be used.
New targets
- Holybro Kakute H7 Mini KAKUTEH7MINI
- Diatone Mamba F405_2022A MAMBAF405_2022A
- Diatone Mamba F722_2022A MAMBAF722_2022A
- Mateksys F411TE MATEKF411TE
- Mateksys F405TE MATEKF405TE and MATEKF405TE_SD
- Foxeer F745 AIO FOXEERF745AIO
- AOCODARCF7DUAL
CLI
Changed settings
Name | Values |
---|---|
debug_modes | New: LANDING |
servo_protocol | Removed: SERVO_DRIVER |
New Settings
Name | Description |
---|---|
ground_test_mode | For developer ground test use. Disables motors, sets heading status = Trusted on FW. Default: FALSE |
gyro_zero_x | Calculated gyro zero calibration of axis X Values: -32768 - 32767 Default: 0 |
gyro_zero_y | Calculated gyro zero calibration of axis Y Values: -32768 - 32767 Default: 0 |
gyro_zero_z | Calculated gyro zero calibration of axis Z Values: -32768 - 32767 Default: 0 |
init_gyro_cal | If defined to 'OFF', it will ignore the gyroscope calibration done at each startup. Instead, the gyroscope last calibration from when you calibrated will be used. It also means you don't have to keep the UAV stationary during a startup. Default: TRUE |
ins_gravity_cmss | Calculated 1G of Acc axis Z to use in INS Values: 0 - 2000 Default: 0.0 |
nav_fw_auto_disarm_delay | Delay before plane disarms when nav_disarm_on_landing is set (ms) Values: 100 - 10000 Default: 2000 |
nav_wp_enforce_altitude | Forces craft to achieve the set WP altitude as well as position before moving to next WP. Position is held and altitude adjusted as required before moving on. Default: FALSE |
osd_mah_used_precision | Number of digits used to display mAh used. Values: 4 - 6 Default: 4 |
osd_switch_indicator_one_channnel | RC Channel to use for OSD switch indicator 1. Default: 5 |
osd_switch_indicator_one_name | Character to use for OSD switch incicator 1. Values: 0 - 5 Default: GEAR |
osd_switch_indicator_three_channnel | RC Channel to use for OSD switch indicator 3. Default: 5 |
osd_switch_... |
INAV 4.1 "Raging Sparrow"
Hello and welcome to INAV 4.1 "Raging Sparrow"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out from the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important notes
This release is fully supported only with INAV Configurator 4.1. When an older version of Configurator is used, the OSD tab will not work!
Upgrading from a previous release
Upgrading from INAV 4.0
- Use INAV Configurator 4.0 CLI to make a
diff
of the current configuration - Store the
diff
output - Download INAV Configurator 4.1 and flash INAV 4.1 firmware with
FULL CHIP ERASE
- Connect with INAV Configurator and restore the
diff
with the CLI tab
Upgrading from older versions
Please follow the instructions on this page.
Important changes
- HDzero OSD canvas mode support
- SD card support on Kakute H7 flight controllers
- Improved Matrix filter tracks now 3 gyro noise peaks instead of only 1
- Lowered Airmode threshold to improve Airmode handling on powerful multirotors
- Fixed RTH Sanity Checking
- New target MAMBAF772_X8
- Fix for Matek H743 ADC not working when LED strip is enabled
What's Changed
The full list of changes is available here
New Contributors
INAV 4.1.0 Release Candidate 1
Hello and welcome to INAV 4.1 "Red Kite"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out from the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important notes
This release is fully supported only with INAV Configurator 4.1. When an older version of Configurator is used, the OSD tab will not work!
Upgrading from a previous release
Upgrading from INAV 4.0
- Use INAV Configurator 4.0 CLI to make a
diff
of the current configuration - Store the
diff
output - Download INAV Configurator 4.1 and flash INAV 4.1 firmware with
FULL CHIP ERASE
- Connect with INAV Configurator and restore the
diff
with the CLI tab
Upgrading from older versions
Please follow the instructions on this page.
Important changes
- HDzero OSD canvas mode support
- SD card support on Kakute H7 flight controllers
- Improved Matrix filter tracks now 3 gyro noise peaks instead of only 1
- Lowered Airmode threshold to improve Airmode handling on powerful multirotors
- Fixed RTH Sanity Checking
What's Changed
The full list of changes is available here
New Contributors
INAV 4 "Red Kite"
Hello and welcome to INAV 4.0 "Red Kite"
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Telegram | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out from the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
PPM receivers are no longer supported
If you use a PPM receiver, these are no longer supported by iNav. We recommend that you use serial based receivers.
F411 and F722 feature reduction
Due to the storage space on these flight controllers. Features have started to be dropped. See PR #7297 for details
Font update required
A font file update is required to use the new symbols and avoid an invalid font warning. Upload the updated font of your choosing from the OSD tab.
INAV LUA Script
If you are using the INAV LUA script and Crossfire, you should update to the latest INAV LUA script.
Upgrading from a previous release
Upgrading from INAV 3
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 4.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 4.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Filtering changes
With INAV 4.0 there are a couple of important changes in how gyro and D-term are filtered. They mostly affect Multirotor pilots.
- Kalman filter aka Unicorn Filter is enabled by default
- Unicorn Filter setup is simplified: you only tune Q factor. Window size and sharpness settings are removed
- Dynamic Notch aka Matrix Filter is enabled by default
- Matrix filter has been reworked and simplified. Now you only set minimum frequency and Q factor
- Matrix filter resolution is now 4 times higher than with INAV 3
- Static gyro notch was removed
- First D-term LPF type changed to PT2 and second D-term LPF is disabled - this gives the same filtering as previously but with less settings to worry about
- The Alpha-Beta-Gamma filter removed
- The Smith Predictor is enabled by default by the new Configurator defaults
H743 support
INAV 4.0 comes with the full support of all H7 boards compatible with MATEKH743 target. This includes the SD Card and MSC mode support. Bear in mind, CAN and UAVCAN are still not supported by INAV and currently, there are no plans to implement them.
Blackbox improvements
Blackbox now always logs the Control Derivative and Feed Forward components, as well as rate target in degrees-per-seconds.
The latest INAV Blackbox Explorer is required to fully use those features.
New command blackbox
allows setting which Blackbox fields are recorded to conserve space and bandwidth. Possible fields are:
- NAV_ACC - Navigation accelerometer readouts
- NAV_PID - Navigation PID debug
- NAV_POS - Current and target position and altitude
- MAG - Magnetometer raw values
- ACC - Accelerometer raw values
- ATTI - Attitude as computed by INAV position estimator
- RC_DATA - RC channels 1-4 as returned by the radio receiver
- RC_COMMAND - RC_DATA converted to [-500:500] scale with expo and headband
- MOTORS - motor output
Usage
blackbox
currently enabled Blackbox fieldsblackbox list
all available fieldsblackbox -MOTORS
disable MOTORS loggingblackbox MOTOR
enable MOTORS logging
Rate Dynamics
INAV 4.0 adds a port of the EmuFlight Rate Dynamics system. It modifies stick input to change the flight feeling. To find out more refer to:
- https://www.youtube.com/watch?v=8WyJx2FcLzI
- https://github.com/emuflight/EmuFlight/wiki/Rate-Dynamics
Below are some presets you might want to try
Default
set rate_dynamics_center_sensitivity = 100
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 0
set rate_dynamics_end_sensitivity = 100
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 0
Cinematic
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 20
set rate_dynamics_center_weight = 85
set rate_dynamics_end_sensitivity = 90
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 50
Freestyle
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 35
set rate_dynamics_end_sensitivity = 130
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 35
Freestyle Less bounceback
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 35
set rate_dynamics_end_sensitivity = 130
set rate_dynamics_end_correction = 30
set rate_dynamics_end_weight = 35
Racing
set rate_dynamics_center_sensitivity = 130
set rate_dynamics_center_correction = 35
set rate_dynamics_center_weight = 30
set rate_dynamics_end_sensitivity = 115
set rate_dynamics_end_correction = 20
set rate_dynamics_end_weight = 10
WP Mission Enhancements
Multi-Mission
Multiple missions may be uploaded to the flight controller and a mission selected for execution by OSD, Stick Command or Mission Planner. Multi-Mission is supported by the inav Configurator and mwp mission planners.
Number of Waypoints
The maximum number of WPs is now 120.
On the fly missions
INAV 4.0 adds the capability to generate an "on the fly" mission while flying using aircraft positions.
Fly By Home Waypoints
INAV 4.0 adds Fly-by-home waypoints. This is a waypoint whose location is set to the home position at arm time.
Fixed-wing changes
Soaring mode
The soaring mode comes to iNav 4.0. The addition is great for people who fly gliders. The soaring mode adds a modifier that you can use to change how Course Hold, Cruise, or Position Hold (loiter) behave. When enabled, it disables altitude control and allows Angle mode to free float in pitch, allowing the plane to soar freely.
Two-stage climb first for RTH
This change allows the climb phase of a climb first RTH to have two separate parts. This is useful for pilots who want to climb first, to clear potential obstacles. But, don't want to be wasting energy flying away from home. This allows you to set a first climb stage altitude. Once it meets or exceeds that altitude, the plane will turn to home and continue climbing to the RTH altitude. See the iNav Wiki for more information.
Autotune no longer tunes P and I
There were often autotunes in iNav 3.0 which resulted in too high P and I. Also, D was not tuned at all. New default PIDs, that will work reasonably on all sizes of planes (#1390) have been added. This should give good results with an autotune, which can then be fine tuned to your plane.
OSD Units
If you previously used the UK units in your OSD. You will now find that your units are set to Metric + MPH. This is the new name for the old UK units. There is also a new UK units set, that better represents transportation units used in the UK. Full details can be found in the pull release.
There is also a new units set aimed at General Aviation pilots. This set uses Knots, Feet, Nautical Miles, 100 Feet per Minute, and Celsius for their respective values.
Changelist
- H7: usb msc support for sdio #...
INAV 4.0.0 Release Candidate 2
Hello and welcome to INAV 4.0.0 Release Candidate 2!
Please carefully read all of this document for the best possible experience and safety.
Get in touch with other pilots, share experiences, suggestions and ask for help on:
INAV Discord Server | |
INAV Official on Telegram | |
INAV Official on Facebook |
Please continue to support developers, for free, by checking out from the following stores after having clicked on the following links:
Support us on Banggood |
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
PPM receivers are no longer supported
If you use a PPM receiver, these are no longer supported by iNav. We recommend that you use serial based receivers.
F411 and F722 feature reduction
Due to the storage space on these flight controllers. Features have started to be dropped. See PR #7297 for details
Font update required
A font file update is required to use the new symbols and avoid an invalid font warning. Upload the updated font of your choosing from the OSD tab.
Upgrading from a previous release
Upgrading from INAV 3
- Download and install the new configurator
- Save to a file the current diff all from the CLI.
- Upgrade to INAV 3.0 using the Full Erase option in the configurator.
- Upload your OSD font of choice from the OSD tab.
- Go to the CLI again and paste the above-described contents from the file you previously created and write save , press ENTER.
- There are a large number of new, changed, and removed settings. Check carefully that the settings are correct and fix any unrecognized or out-of-range items from the saved configuration.
- You should be ready, explore new 4.0 features, and enjoy!
Upgrading from older versions
Please follow the instructions on this page.
Important changes
Filtering changes
With INAV 4.0 there are a couple of important changes in how gyro and D-term are filtered. They mostly affect Multirotor pilots.
- Kalman filter aka Unicorn Filter is enabled by default
- Unicorn Filter setup is simplified: you only tune Q factor. Window size and sharpness settings are removed
- Dynamic Notch aka Matrix Filter is enabled by default
- Matrix filter has been reworked and simplified. Now you only set minimum frequency and Q factor
- Matrix filter resolution is now 4 times higher than with INAV 3
- Static gyro notch was removed
- First D-term LPF type changed to PT2 and second D-term LPF is disabled - this gives the same filtering as previously but with less settings to worry about
- The Alpha-Beta-Gamma filter removed
- The Smith Predictor is enabled by default by the new Configurator defaults
H743 support
INAV 4.0 comes with the full support of all H7 boards compatible with MATEKH743 target. This includes the SD Card and MSC mode support. Bear in mind, CAN and UAVCAN are still not supported by INAV and currently, there are no plans to implement them.
Blackbox improvements
Blackbox now always logs the Control Derivative and Feed Forward components, as well as rate target in degrees-per-seconds.
The latest INAV Blackbox Explorer is required to fully use those features.
New command blackbox
allows setting which Blackbox fields are recorded to conserve space and bandwidth. Possible fields are:
- NAV_ACC - Navigation accelerometer readouts
- NAV_PID - Navigation PID debug
- NAV_POS - Current and target position and altitude
- MAG - Magnetometer raw values
- ACC - Accelerometer raw values
- ATTI - Attitude as computed by INAV position estimator
- RC_DATA - RC channels 1-4 as returned by the radio receiver
- RC_COMMAND - RC_DATA converted to [-500:500] scale with expo and headband
- MOTORS - motor output
Usage
blackbox
currently enabled Blackbox fieldsblackbox list
all available fieldsblackbox -MOTORS
disable MOTORS loggingblackbox MOTOR
enable MOTORS logging
Rate Dynamics
INAV 4.0 adds a port of the EmuFlight Rate Dynamics system. It modifies stick input to change the flight feeling. To find out more refer to:
- https://www.youtube.com/watch?v=8WyJx2FcLzI
- https://github.com/emuflight/EmuFlight/wiki/Rate-Dynamics
Below are some presets you might want to try
Default
set rate_dynamics_center_sensitivity = 100
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 0
set rate_dynamics_end_sensitivity = 100
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 0
Cinematic
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 20
set rate_dynamics_center_weight = 85
set rate_dynamics_end_sensitivity = 90
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 50
Freestyle
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 35
set rate_dynamics_end_sensitivity = 130
set rate_dynamics_end_correction = 10
set rate_dynamics_end_weight = 35
Freestyle Less bounceback
set rate_dynamics_center_sensitivity = 80
set rate_dynamics_center_correction = 10
set rate_dynamics_center_weight = 35
set rate_dynamics_end_sensitivity = 130
set rate_dynamics_end_correction = 30
set rate_dynamics_end_weight = 35
Racing
set rate_dynamics_center_sensitivity = 130
set rate_dynamics_center_correction = 35
set rate_dynamics_center_weight = 30
set rate_dynamics_end_sensitivity = 115
set rate_dynamics_end_correction = 20
set rate_dynamics_end_weight = 10
WP Mission Enhancements
Multi-Mission
Multiple missions may be uploaded to the flight controller and a mission selected for execution by OSD, Stick Command or Mission Planner. Multi-Mission is supported by the inav Configurator and mwp mission planners.
Number of Waypoints
The maximum number of WPs is now 120.
On the fly missions
Inav 4.0 adds the capability to generate an "on the fly" mission while flying using aircraft positions.
Fly By Home Waypoints
Inav 4.0 adds Fly-by-home waypoints. This is a way point whose location is set to the home position at arm time.
Fixed wing changes
Soaring mode
Soaring mode comes to iNav 4.0. The addition is great for people who fly gliders. Soaring mode adds a modifier that you can use to change how Course Hold, Cruise, or Position Hold (loiter) behave. When enabled, it disables altitude control and allows Angle mode to free float in pitch, allows the plane to soar freely.
Two-stage climb first for RTH
This change allows the climb phase of a climb first RTH to have two separate parts. This is useful for pilots who want to climb first, to clear potential obstacles. But, don't want to be wasting energy flying away from home. This allows you to set a first climb stage altitude. Once it meets or exceeds that altitude, the plane will turn to home and continue climbing to the RTH altitude. See the iNav Wiki for more information.
Autotune no longer tunes P and I
There were often autotunes in iNav 3.0 which resulted in too high P and I. Also, D was not tuned at all. New default PIDs, that will work reasonably on all sizes of planes (#1390) have been added. This should give good results with an autotune, which can then be fine tuned to your plane.
OSD Units
If you previously used the UK units in your OSD. You will now find that your units are set to Metric + MPH. This is the new name for the old UK units. There is also a new UK units set, that better represents transportation units used in the UK. Full details can be found in the pull release.
There is also a new units set aimed at General Aviation pilots. This set uses Knots, Feet, Nautical Miles, 100 Feet per Minute, and Celsius for their respective values.