Sorry,what do you mean with “raw values” the basic Baro value or the calculated EKF value?
Sorry Chris I meant that the frsky telemetry library sends the “raw” values reported by the rangefinder without doing any checking wheter they exceed RNGFND_MAX_CM or not.
From my (rather quick) checks appears that only EKF2 and EKF3 libraries do check for max ranges and ignore the value when necessary.
So what do you suggest? You always make the right choice
I’ll enable rangefinder display and if necessary add a menu option to configure max range in the script.
This way I can also add a vocal alert when you reach that limit.
This unless there’s a “smart” way to detect out of range values, we’ll see
great, thanks anyway and for this, I gave you a like
great work! a couple of questions
- my cell voltage always flashes…I have both alerts at 3.5v (default)…I have FC source pre-selected instead of auto…
- any chance of an imperial units version?
battery level 2 should be lower than level 1, it’s in the docs (defaults are wrong, my fault).
The scripts works all right even with level 1 equal to level 2.
Battery flashing is “sticky” once the battery voltage falls below the configured level the flashing will persist even if the voltage raises above.
Vocal alerts are played periodically only if the voltage is below, as soon as it raises they stop.
What is the exact behaviour that you observe?
As for the imperial version could you provide me with the correct units to use for vspeed, altitude, etc?
An imperial version would be for sure a compile time option.
Please change it because I don’t like the color
I powered up FC, powered up Taranis, cell value (4.2V) was flashing…just tried agian on bench at home, doesnt flash…will play some more with it…
as to imperial units… vspeed: ft/min or ft/s hspeed: miles/hour altitude, distance: feet
Thank you Alex!
Looking forward to trying this script on a Horus X10S.
While flying today I noticed that the speed box on the artificial horizon display always remains at 0…
the horizontal speed box is reading airspeed (I think)
I have both airspeed and groundspeed displayed on my OSD…
any idea what the issue may be?
that’s weird, box on the left side of the hud is vertical speed, the vario was also still?
How about altitude, was is correct?
If you configured the airspeed sensor in mission planner then hor speed is airspeed.
Edit: I double checked and ran the script on github on my setup and vertical speed works, but I do not have and airspeed sensor. This to prove that the script displays what telemetry is sending.
Did the OSD display vspeed?
this is what I’ve come up with,
rangefinder enabled via menu
(range is reported right below DGPS fix status, prefix is “R”)
(same position but you get GPS altitude)
It blinks when out of range
yes, the OSD displays climb rate correctly…
Henry what radio do you have?
new users are welcome especially since the Horus version is still in beta testing!
report back your findings,
I have a Taranis 9D…the vario is not moving either…today I ran discover sensors and showed them on the second page…vspeed and gndspd were reporting 0…everything else was normal…
sounds like Arduplane is not sending the data?
also, the second digit on current consumption is not showing…thought that was already in the script now…
I have a problem
Taranis 9+, pixhawk, FUL1+SPC converter, x8r (mode D8)
SERIAL2_ PROTOCOL 4 - running
SERIAL2_ PROTOCOL 10 - no telemetry data
What can be wrong?
If I recall right should be bound in D16