Repository navigation
Replies: 4 comments 5 replies
In multirotor mode the GPS altitude is not used. |
I recommend you update to the new version 3.0.1 >> https://github.com/iNavFlight/inav/releases/tag/3.0.1 |
|
Hi jackwca, The issue with current Failsafe is that it doesn’t Failsafe, it needs everything working perfect to perform a set task. Otherwise I’ve slowed down the althold climb rate. Which works but i think this also affects the decent rate once the quad is back home as it seems to now just sit over head. (More testing required) Still lost, may have to work out how to program these things! |
|
Black box attached showing run away climb after RTH initialised with "AT_LEAST" RTH altitude mode selected. blackbox_log_2021-07-17_135014.txt Quad is stable during "poshold" and with RTH with "Current" RTH altitude mode selected. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
This is my first UAV build of any kind since playing with RC zagi's 15-20 years ago. So I'm sure that I am doing something wrong.
I built around a month ago a mini quad with a Matek F722-miniSE and BN-880.
Running INAV 2.6.1.
First flight everything ran perfectly. Poshold was blob on and RTH was faultless.
I immediately tried RTH again without changing anything, I can't remember if there was a battery swap between these. But on flicking the RTH switch this time the little quad shot straight up faster than I could blink.
After a more abrupt landing... A new frame was required. I rebuilt but unfortunately every time since trying RTH just causes this speedy climb. Now with less of a shock though and turning RTH off and back into Poshold controls it very nicely.
If I change nav_rth_alt_mode from AT_LEAST to CURRENT, RTH performs as expected. Just have to be more observant of surrounding obstacles.
Upon more troubleshooting I notice that the barometer on the sensors page of the configurator climbs a lot after applying power.
The baro reading will generally climb to around 10 meters over ~5 mins before stabilising. Once stabilised if power is instantly reset to the board the reading is fairly stable around 0. Suggesting there is some thermal stabilisation issues.
This seems quite well discussed with barometers that are attached to the flight controller PCB on different forums.
However I don't see why this would cause the quad to shoot up in the air when RTH is activated. Quite the opposite if it thinks it is higher than it actually is.
Other trouble shooting:
Am I right in thinking that Poshold uses GPS for altitude control as well as for 2D position. Full 3D fix?
Does RTH use GPS or Baro for the initial climb? If climb is required.
This board uses the DPS310 barometer, which doesn't appear to be as popular on other FCs, although it's spec suggests it should be more accurate than others such as the more used BMP280.
However as Matek F722-miniSE is listed under INAV recommended hardware I am assuming others aren't having this issue.
Anyone have any suggestions why nav_rth_alt_mode set to AT_LEAST is not working for me?
Diff All below.
Thanks
Jack
diff all
version
INAV/MATEKF722MINI 3.0.0 Jun 12 2021 / 12:44:48 (3c7b1b7)
GCC-9.3.1 20200408 (release)
start the command batch
batch start
reset configuration to default settings
defaults noreboot
resources
mixer
mmix reset
mmix 0 1.000 -1.000 1.000 -1.000
mmix 1 1.000 -1.000 -1.000 1.000
mmix 2 1.000 1.000 1.000 1.000
mmix 3 1.000 1.000 -1.000 -1.000
servo mix
servo
safehome
logic
gvar
pid
feature
feature GPS
feature PWM_OUTPUT_ENABLE
beeper
map
serial
serial 0 32 115200 115200 0 115200
serial 2 2 115200 115200 0 115200
led
color
mode_color
aux
aux 0 0 2 1900 2100
aux 1 1 0 900 1100
aux 2 10 0 1900 2100
aux 3 11 0 1400 1600
aux 4 3 0 1400 1600
aux 5 5 0 1400 1600
aux 6 30 1 1900 2100
adjrange
rxrange
temp_sensor
wp
#wp 0 invalid
osd_layout
master
set looptime = 500
set gyro_main_lpf_hz = 110
set gyro_main_lpf_type = PT1
set dynamic_gyro_notch_enabled = ON
set dynamic_gyro_notch_q = 250
set dynamic_gyro_notch_min_hz = 120
set acc_hardware = MPU6000
set acczero_x = 78
set acczero_y = 6
set acczero_z = -363
set accgain_x = 4090
set accgain_y = 4077
set accgain_z = 3997
set align_mag = CW270FLIP
set mag_hardware = HMC5883
set magzero_x = -32
set magzero_y = 59
set magzero_z = -54
set maggain_x = 553
set maggain_y = 570
set maggain_z = 453
set baro_hardware = DPS310
set blackbox_rate_denom = 2
set motor_pwm_rate = 16000
set motor_pwm_protocol = DSHOT600
set motor_poles = 12
set failsafe_procedure = RTH
set model_preview_type = 3
set applied_defaults = 2
set gps_ublox_use_galileo = ON
set airmode_type = THROTTLE_THRESHOLD
set nav_rth_altitude = 5000
set nav_mc_hover_thr = 1225
profile
profile 1
set mc_p_pitch = 44
set mc_i_pitch = 75
set mc_d_pitch = 25
set mc_i_roll = 60
set mc_p_yaw = 35
set mc_i_yaw = 80
set dterm_lpf_hz = 110
set dterm_lpf_type = PT1
set dterm_lpf2_hz = 170
set dterm_lpf2_type = PT1
set d_boost_factor = 1.500
set antigravity_gain = 2.000
set antigravity_accelerator = 5.000
set setpoint_kalman_enabled = ON
set setpoint_kalman_q = 200
set tpa_rate = 20
set tpa_breakpoint = 1200
set rc_yaw_expo = 70
set roll_rate = 70
set pitch_rate = 70
set yaw_rate = 60
profile
profile 2
profile
profile 3
battery_profile
battery_profile 1
battery_profile
battery_profile 2
battery_profile
battery_profile 3
restore original profile selection
profile 1
battery_profile 1
save configuration
save
All reactions