Hang128
(Hang128)
December 2, 2022, 8:39am
1
Hello, everyone
I want to use TF02-Pro for better land. My version is 4.3.0.
I’ve learned wiki and code, in my opinion, I should set param as follow:
keep all EK3_SCx_PosZ = 3-GPS
set RNGFND1_MAX_CM = 400
set EK3_RNG_USE_HGT = 50
Then, when rangefinder alt<2m, it uses rangefinder. and when rangefinder>2m , it uses GPS.
Hang128
(Hang128)
December 2, 2022, 8:43am
2
But actually, my copter will use rangefinder to raise to 4 meter, which is same as RNGFND1_MAX_CM.
This is very strange,looks like EK3_RNG_USE_HGT doesn’t work, use 100%.
Hang128
(Hang128)
December 2, 2022, 9:08am
4
This is my basis,
below 4m, it use desire rangefinder alt, it’s a horizontal line.
and above 4m, use desire alt.
Now I can only distinguish althold source through who is horizontal. Or there could be a better way?
Jai.GAY
(Jai GAY)
December 2, 2022, 11:14am
5