Hey Guys,
yesterday I upgraded to T3 r30 as well. For me this was an upgrade from "TestCode4Apr 2 2014 / 22:33:35" to "TestCode3Aug 5 2014 / 18:02:51".
I have flown four LiPos, slowly testing out the changes Mr-Fiero introduced. Big thanks for sharing, Mr-Fiero.
Step 1:
- Upgrade to r30
- Changed over from gps_type 1 (unknown GPS Config), to gps_type 4 and Fiero's GPS Konfig
Results:
- Flyback is almost gone (normally max 1m, seldomly up to 3m)
- My Crius v2 did not like the GPS Config. It was having 1-2 Sats less than it has normally. It was having a hard time getting over 6 Sats. I had it sitting for around 10 minutes, then started flying probably 15min, still the same afterwards. It was also a cloudy day. I then changed back to gps_type 1, this resulted in 1-2 Sats more. I definitely need to give that more testing, for now I am back to gps_type = 1.
- Rob, one question here: The gps_type 1 configblock, is that a permanent GPS config, or can I change to gps_type 4 here an it's completely running on the Fiero manual config I uploaded before?
Step 2:
- Changed gps_lag from 2000 to 500
- Changed gps_ph_settlespeed from 10 to 200
Results:
- This definitely kicks in the PH a lot earlier
- But the PH does not seem to cope too well with high speeds: The copter starts doing directional corrections a lot earlier, but they are very random, as if the copter is initially not really sure where his PH position is and how to get to it. It always ends up in a stable PH. But often with a long overshot (5-15m) after "fingeroffsticks" and random searches for the parking position.
- So this did not really work out for me.
Step 3:
- Changed gps_ph_settlespeed back to 10
- gps_lag still at 500
Results:
- Smooth prebrake with a long overshot after "fingeroffsticks", but without changing the direction the copter was travelling. Nice.
- Overshot is still there, maybe 5m? But it's looking good, since the copter continues in the same direction.
- Then PH corrections start (later than 0.5ms after "fingeroffsticks"). This is a lot more "one the spot", probably due to the copter already travelling quite slowly at this point. Then it locks into place. Nice.
- Flyback after prebrake/when PH engages is mostly 1m, sometime none at all, sometimes (seldomly) 3m.
- All in all, this looks very nice.
Step 4:
- Tried to increase the strength of the prebrake to further reduce the overshot.
- Changed gps_ph_brakemaxangle = 25
- Changed gps_ph_brkacc = 100
Results:
- Prebrake is stronger, overshot a little less. Looks good.
- Nevertheless this did not really apply a big change. From the looks prebrake does 1sec leveled flying, 1sec brake with 5 degrees tilt, 1sec brake with a little more degrees. I had hoped to get it to brake more aggressively, but this is not yet there. PH Angle is more visible than Prebrake Angle. Is that maybe due to the "Wurzelbremse", do I need to play around with gps_ph_minbrakepercent?
Step 5:
- Moved alt_d up to 100, now the minor Althold Alt drops are completely eliminated.
- Increased alt_p to 12, now faster climb and descent
ToDos:
- Althold descent is still a little relaxing. Is that all alt_p, or is there more?
- Is there already some way to get RSSI into Naze32 for the OSD (RX is FrSky D8R-XP with RSSI PIN)?
So I am getting the hang of GPS paramilitary tuning, err, parameter tuning. Thanks to you guys. And I feel at home again in the three, well, two and a half Harakiri threads out there

.
All in all, T3 r30 was again a huge step forward, comparing to T4 April 2nd. Flyback is gone. Yaw seems to be more stable. Althold engage is nice. Two RTFhawks are now stowed away, may they dust in peace. Thanks for this great Firmware, Rob!
Here is my dump. The copter is a AUW 1.85kg QuadX with 15'' Props, 460kv Motors, 4S.
Code: Select all
FW: HarakiriSG pre2.6 TestCode3Aug 5 2014 / 18:02:51
ID|AUXCHAN : 01 02 03 04 05 06
00|ANGLE : -M- --- --- --- --- ---
01|HORIZON : --- --- --- --- --- ---
02|BARO : --- -MH --- --- --- ---
03|MAG : --- --- --- --- --- ---
04|CAMSTAB : --- --- --- --- --- ---
05|ARM : -MH --- --- --- --- ---
06|GPS HOME: --- --- --H --- --- ---
07|GPS HOLD: --- --- -M- --- --- ---
08|GPS AUTO: --- --- --- --- --- ---
09|PASSTHRU: --- --- --- --- --- ---
10|HEADFREE: --- --- --- --- --- ---
11|BEEPER : --- --- --- --- --- ---
12|HEADADJ : --- --- --- --- --- ---
13|OSD SW : --- --- --- --- --- ---
Current mixer: QUADX
Custom mixer:
Motor Thr Roll Pitch Yaw
Sanity check: OK OK OK
Enabled features: PPM VBAT SERVO_TILT GPS FAILSAFE
Current assignment: TAER1234
Current settings:
rc_db = 20
rc_dbyw = 20
rc_dbah = 50
rc_dbgps = 5
rc_trm_ptch = -2.000
rc_trm_rll = 14.000
rc_minchk = 1100
rc_mid = 1500
rc_maxchk = 1900
rc_lowlat = 1
rc_rllrm = 0
rc_killt = 0
rc_flpsp = 0
rc_motor = 0
rc_auxch = 6
rc_rate = 85
rc_expo = 20
thr_mid = 50
thr_expo = 0
roll_pitch_rate = 0
yawrate = 25
devorssi = 0
rssicut = 0
esc_min = 1130
esc_max = 1950
esc_nfly = 1300
esc_nwmx = 1
esc_moff = 1000
esc_pwm = 400
srv_pwm = 50
pass_mot = 0
fs_delay = 10
fs_ofdel = 200
fs_rcthr = 1200
fs_ddplt = 0
fs_jstph = 0
fs_nosnr = 1
serial_baudrate = 115200
tele_prot = 2
spektrum_hires = 0
vbatscale = 110
vbatmaxcellvoltage = 43
vbatmincellvoltage = 37
power_adc_channel = 0
tri_ydir = 1
tri_ymid = 1500
tri_ymin = 1020
tri_ymax = 2000
tri_ydel = 0
wing_left_min = 1020
wing_left_mid = 1500
wing_left_max = 2000
wing_right_min = 1020
wing_right_mid = 1500
wing_right_max = 2000
pitch_direction_l = 1
pitch_direction_r = -1
roll_direction_l = 1
roll_direction_r = 1
gbl_flg = 1
gbl_pgn = 10
gbl_rgn = 10
gbl_pmn = 1020
gbl_pmx = 2000
gbl_pmd = 1500
gbl_rmn = 1020
gbl_rmx = 2000
gbl_rmd = 1500
al_barolr = 50
al_snrlr = 50
al_debounce = 5
al_tobaro = 2000
al_tosnr = 1000
as_lnchr = 200
as_clmbr = 100
as_trgt = 0
as_stdev = 10
align_gyro_x = 0
align_gyro_y = 0
align_gyro_z = 0
align_acc_x = 0
align_acc_y = 0
align_acc_z = 0
align_mag_x = 0
align_mag_y = 0
align_mag_z = 0
acc_hdw = 2
acc_lpfhz = 10.000
acc_altlpfhz = 10
acc_gpslpfhz = 15
gy_lpf = 42
gy_gcmpf = 700
gy_mcmpf = 200
gy_smrll = 0
gy_smptc = 0
gy_smyw = 0
gy_stdev = 5
accz_vcf = 0.985
accz_acf = 0.960
bar_lag = 0.300
bar_dscl = 0.700
bar_dbg = 0
mag_dec = 241
mag_time = 1
mag_gain = 0
gps_baudrate = 115200
gps_type = 1
gps_ins_vel = 0.600
gps_lag = 500
gps_ph_minsat = 6
gps_expo = 20
gps_ph_settlespeed = 10
gps_maxangle = 35
gps_ph_brakemaxangle = 25
gps_ph_minbrakepercent = 50
gps_ph_brkacc = 100
gps_wp_radius = 200
rtl_mnh = 0
rtl_cr = 80
rtl_mnd = 0
gps_rtl_flyaway = 0
gps_yaw = 30
nav_rtl_lastturn = 1
nav_speed_min = 100
nav_speed_max = 350
nav_approachdiv = 3
nav_tiltcomp = 30
nav_ctrkgain = 0.500
nav_controls_heading = 0
nav_tail_first = 0
stat_clear = 1
gps_pos_p = 10
gps_pos_i = 40
gps_pos_d = 0
gps_posr_p = 70
gps_posr_i = 0
gps_posr_d = 100
gps_nav_p = 15
gps_nav_i = 0
gps_nav_d = 0
looptime = 3000
mainpidctrl = 0
maincuthz = 12
gpscuthz = 45
p_pitch = 45
i_pitch = 50
d_pitch = 50
p_roll = 45
i_roll = 50
d_roll = 50
p_yaw = 60
i_yaw = 45
d_yaw = 0
p_alt = 120
i_alt = 30
d_alt = 100
p_level = 70
i_level = 20
d_level = 80
snr_type = 3
snr_min = 30
snr_max = 200
snr_dbg = 0
snr_tilt = 18
snr_cf = 0.500
snr_diff = 0
snr_land = 1
LED_invert = 0
LED_Type = 1
LED_pinout = 1
LED_ControlChannel = 8
LED_ARMED = 0
LED_Toggle_Delay1 = 8
LED_Toggle_Delay2 = 8
LED_Toggle_Delay3 = 8
LED_Pattern1 = 1300
LED_Pattern2 = 1800
LED_Pattern3 = 1900