Repository navigation
INAV 3.0.0
#6968
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello and welcome to INAV 3.0.0 Release!
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:
Please continue to support developers, for free, by checking out from the following stores after having clicked on the following links:
Your contribution from the past month has been very welcome! Thanks!
Tested and suggested hardware can be found here
Important Notes
F3 Removal
STM32 F3 flight controllers like Omnibus F3 or SP Racing F3 are no longer supported in INAV. If you are still using F3 boards, please migrate to F4 or F7.
The supporting code will be retained for a few more releases, but will not be maintained and is not guaranteed to build or work properly in the future.
Adjustments
There are now separate adjustments for D and CD/FF gains. This breaks compatibility with
diffs from previous releases. Check the adjustments tab in the configurator after restoring adiffto makes sure they are set up correctly.Font update required
The OSD fonts have been improved (@Jettrel) and there are several new symbols. 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 previous releases
We suggest NOT to do a full
diffordumpupgrade. To get the best performance set up your aircraft from scratch. You can copyosd,aux,serial, and mixer settings, as well as accelerometer and magnetometer calibration values from INAV 2.6, but other settings should be tuned again.Upgrading from 2.6, 2.6.1
Upgrading from 2.5 or older version
Please follow the instructions on this page.
New targets:
CLI:
New commands
Changed Settings
ON_FW_SPIRALNew Settings
PT1,BIQUAD.PT1offers faster filter response whileBIQUADbetter attenuation. Default: BIQUADNONE,BNO055,BNO055_SERIAL18for this setting. Change sign to inverse direction. Values: -36 - 36 Default: 0BATTERYor the average perCELLin the OSD stats. Default: BATTERY. OptionsBATTERY,CELLOFF,ONandTESTDefault: OFFOFF,RTHandRTH_FS. See Safehome documentation for more information. Default: RTHfeature FW_AUTOTRIM. Values: 1 - 60 Default: 15Removed settings
nav_land_minalt_vspdandnav_land_maxalt_vspdRenamed settings
gyro_main_lpf_hzgyro_main_lpf_typegyro_anti_aliasing_lpf_hzgyro_anti_aliasing_lpf_typeNew drivers and protocols
New features
Turtle mode aka Flip Over after crash (@kernel-machine)
INAV now has a "Turtle Mode".
WP mission sealevel altitude datum (@breadoven)
Prior to inav 3.0, mission waypoint altitudes are relative the arming location. It is now possible to define waypoints with absolute (AMSL) altitude, making the mission independent of the arming location. See the inav wiki for details (WP
paramater 3)WP Mission Landing Elevation Setting (@breadoven)
The relative / absolute ground altitude of a
LANDwaypoint may be set as WPparamater 2(m). See the inav wiki for details.DShot Beeper (@harry1453)
Nothing to add. If DSHOT is enabled, DSHOT beeper will be used.
RC via MAVLink & MAVLink V2 Support (@harry1453)
MAVLink is still only a downlink from UAV to the ground station, but now allows to use RC-Over-MAVLink
Prearm Mode (@harry1453)
Prearm offers a two-stage arming process as an optional additional safety feature.
Initial cut on H7 MCU support (@digitalentity, @bkleiner, @DzikuVx)
H7 is available in the source repository; target Hex files will be released as targets mature, probably in the future point releases.
Add D-term to control loop on fixed wing aircraft (@avsaase)
You can now use the D-gain to improve the stabilization, especially on small and agile airplanes. Until we have a better understanding of how to tune this on a range of airplanes, the D-gain is set to zero by default and not tuned using autotune. Please report good performing tunes in #6709.
Improved AUTOTUNE for fixed wing (@avsaase)
AUTOTUNE can now automatically set the correct rates for your airplane. The goal is to set rates that the airplane is capable of achieving with 80% control surface deflection so there is some room for the stabilization to work. This feature is controlled by CLI setting
fw_autotune_rate_adjustment. When set toAUTO(the default), autotune automatically determines the rates and gains. When set toMAX, rates will be automatically adjusted, but never above the starting values. This can be used to calm down a very agile plane, while still avoiding setting too high rates. When set toFIXED, rates will not be adjusted. Note that setting too high rates can cause very bad flight behavior and potential crashes. Rate discovery is not possible in ANGLE mode so it is highly advised to do autotune in ACRO mode.Continuously trim servos on fixed wing (@avsaase)
There is now the option to continuously trim the servos for straight and level flight. When enabled and flying straight and level, INAV records what servo output is required to maintain a constant attitude, and adjusts the servo midpoints accordingly. The servo midpoints are limited to the 1300-1700 range. After the first maiden flight, and after the first flight when significant changes have been made to the airplane, check the servo midpoints. If they are at or close to the end of this range mechanically adjust the control surfaces.
Improvements and updates
Gyro processing improvements (@DzikuVx)
As part of gyro processing updates, the following changes were made:
gyro_syncis gone, INAV no longer does a wait cycle trying to get the next set of data from the gyro.gyro_anti_aliasing_lpf_hz). In normal circumstances, there is no need to change this settinggyro_lpf_hzwas renamed togyro_main_lpf_hzNew experimental features for Multirotors
set smith_predictor_delay = 3. More details about this feature will follow laterset gyro_abg_alpha = 0.25or higher value. It requires a very clean gyro signal or might introduce oscillations on the high throttle. If the multirotor started to vibrate after enabling the Alpha-Beta-Gamma filter, you either have to improve the gyro filter strategy or disable the ABG filter. It works great on some builds and not so great or other. It's up to you to test.set gyro_use_dyn_lpf=ONand setgyro_dyn_lpf_min_hzandgyro_dyn_lpf_max_hz. Dynamic LPF replacesgyro_main_lpf_hzUpdate EGNOS PRN mask to latest EGSA definition, fix SBAS for non-Galileo usage (@stronnag)
The EGNOS (GPS ground assistance) definitions have been updated to the latest values for all GNSS options. An invalid association with the availability of Galileo has been corrected.
Make CW270FLIP default MAG alignment (@DzikuVx)
New FCs rarely feature onboard compass, and most GPS+MAG default to CW270FLIP, so this is now the INAV default. If you use another value, check your setup after upgrading.
Rename NAV CRUISE mode to NAV COURSE HOLD and add CRUISE mode which is equivalent to CRSH+AH (@shellixyz)
To more clearly state what they do and how they work. It's a subtle, but worth it to change for sure!
Bump OSD font min version to 2 (@shellixyz)
Users must upgrade OSD Fonts to Version 2 (or later).
Delayed safehome (@tonyyng)
Safehome does not now replace the arming location until it is needed. If you cancel RTH or recover from RX failsafe, the original arming location is restored as the home location. Under normal circumstances, "distance to home" will revert to range from the arming location.
Switched RTH Preset Altitude Override (@breadoven)
Provides stick options to override configured RTH climb and/or turn behaviour. See the
nav_rth_alt_control_overridesetting description for details.Renamed OSD SW and LEDLOW to OSD/LEDS OFF (@MrD-RC)
Modes names were changed to be more user friendly. When
OSD OFFis enabled, OSD will be turned off. WhenLED OFFis enabled, LEDs will be turned off.Fixed wing RTH Spiral Climb Option (@breadoven)
Yeap, now when
nav_rth_climb_firstis set toON_FW_SPIRAL, Fixed Wing will keep litering and gaining altitude until it reaches desired altitude. Previously, it was climbing while flying straight in random directionDo not slow down in WP mission when approaching a waypoint (@DzikuVx)
When
nav_mc_wp_slowdownis set toOFF, Waypoint missions on Multirotors will be smoother as the NAV engine will not try to slow down before entering the waypoint and then accelerate towards the next waypoint. INAV will rather enter WP with normal speed, switch to the next waypoint and then adjust heading while flying.Configure speed source for DJI OSD (@DzikuVx)
The default behavior of the DJI OSD speed element was to display a ground speed.
osd_speed_sourcecan be set to GROUND, AIR or 3D speed depending on the preferenceAbility to trim pitch angle for level flight (@DzikuVx)
fw_level_pitch_trimsetting. +5fw_level_pitch_trimmeans airplane nose should be raised 5 deg from levelAUTO LEVELwill automatically trim the pitch angle when ANGLE or HORIZON flight modes are usedvtx_smartaudio_early_akk_workaround option (@RomanLut)
If your old AKK VTX is not working, use
vtx_smartaudio_early_akk_workaroundto fix it!Added option to output servos on PWM and SBUS (@IVData)
Option for local plus codes on osd (@avsaase)
This adds the option to remove the first 2, 4, or 6 digits from the OSD plus code. Doing so requires a reference location (for example your current location when using Google Maps on your phone) within ~800, ~40, and ~2km, respectively.
Changed default settings for fixed wing throttle smoothing in navigation modes (@Airwide)
Throttle smoothing in the navigation modes on fixed wing aircraft is now enabled by default. This results in smoother throttle management and more efficient cruising.
Improved flight performance on planes with rudder (@avsaase)
In ACRO mode, you can mitigate the problem of the rudder fighting bank-and-yank turns by disabling the I-term when the bank angle is above a given threshold. Set the desired bank angle threshold on the Mechanics tab under PID tuning. 10 degrees is a good starting point. In the navigation modes, rudder handling is improved. As a consequence of this improvement, TURN ASSIST can no longer be used in ACRO mode.
Secondary IMU
INAV 3.0 supports, as an experimental feature, external BNO055 connected as either I2C or Serial device. Data from BNO055 can be used to display Artificial Horizon in OSD, Heading in OSD or drive the self-leveling ANGLE and HORIZON modes. Secondary IMU will not be used for navigation yet!
Altitude limit
Via #4442 it is now possible to limit maximum altitude for both Fixed Wings and Multirotors.
nav_max_altitudesets the max altitude in centimeters. Bear in mind, limit is active only with Altitude Hold mode and does not affect manual and acro flight modesGeneral Purpose PID controllers
INAV 3.0 comes with 4 general-purpose, user-programmable PID controllers that can be integrated with Logic Conditions and Global Variables. Why? Because why not! With the ability to override RC channels with Logic Conditions you can program your own heading, speed, altitude, whatever control.
All Changes since 2.6.1
Cmake usage.mdforsrc/main/CMakeLists.txt. #6419 updateCmake usage.mdforsrc/main/CMakeLists.txt.Recommended hardware
Flight controllers
Airplane models
Radios
Long range radio systems
GPS & Sensors
FPV
Other
You can get more suggestions following this link too.
This discussion was created from the release INAV 3.0.0.
All reactions