Servers by jDrones

An Open Source Frsky Telemetry Script for the Horus X10,X12 and Taranis X9D,X9E and QX7 radios


(Markus Greinwald) #258

Hi Alex,

I fly planes and copters. Even I try to build a Quadplane.
But I have had to learn that the weight witch is maybe ok for a copter could be a no go for a plane.
Leason learnd - next time (in the winter) I will take more care about the weight.:grinning:

At the moment I fly planes and I like the virtual cockpit very much.

Yep the problem was the ARSPD_TYPE. I should erase the Pixhawk completly before place in a other plane.:thinking:
Before it was in the damaged Quadplane and there was a airspeed sensor inside.

I would prefere only one value at the screen. Airspeed or groundspeed. Ohterwise maybe to much information.

At the moment your display on the Horus is very well balanced.

Personaly I like the groundspeed because less problem with the calibration an the ugly tube.
Of course the indecated airspeed would be the best if the wind is stronger. But mostly my landing speed is to much and I need the full runway.

In a older article from 2010 I read about wind estimation without an airspeed sensor.
They use the GPS, accelerometers and extended Kalman filtering.
I think its already integrated in the actual ArduPlane V3.8.5 but I didn’t found some information about it.

On the mission planner I see too values.
Airspeed and groundspeed - even the airspeed sensor is type 0.
The values are different, so I think the airspeed value is the “calculated airspeed”.
In this case it would be very nice to select airspeed or groundspeed on the telemetry menue.


(Roman) #259


The airspeed is very important for a manual landing.

At an airplane, the ground speed may be negative if the wind speed is higher than the speed of flight

it is good to have both values

How can I get the airspeed to get an audio alert?

(Alex Apostoli) #260

Hi Roman, could you please explain better what you would like to achieve?

(Roman) #261

for manual landing the aircraft, use the switch SD:
special functions menu
Switch: SD ↑; Action: Play Value; Parameter: ASPD; repeat 1 sec

I need to have an available ASPD parameter, how this can be implemented?

(Alex Apostoli) #262

as I explained a couple posts back, there is just one speed sent from arduplane and I expose to OpenTX that speed with the GSPD sensor variable.
If you have an airspeed sensor fitted GSPD will hold the airspeed otherwise will hold groundspeed.
So just do the same with the GSPD variable, it should work!

hope I understood your need


(Roman) #263

Thank Alex
this will help me

about the speed I read in the source code for the githab:

// horizontal velocity in dm / s (use airspeed if available and enabled - even if not used - otherwise use groundspeed)
const AP_Airspeed * aspeed = _ahrs.get_airspeed ();
if (aspeed && aspeed-> enabled ()) {
velandyaw | = prep_number (roundf (aspeed-> get_airspeed () * 10), 2, 1) << VELANDYAW_XYVEL_OFFSET;
} else {// otherwise send sentpeed estimate from ahrs
velandyaw | = prep_number (roundf (_ahrs.groundspeed () * 10), 2, 1) << VELANDYAW_XYVEL_OFFSET;

(Alex Apostoli) #264

about the speed I read in the source code

yes, that’s the relevant code, as you can see either airspeed or groundspeed, never both!

(Markus Greinwald) #265

Hi Alex,
I have done a translation for the sound files in german language.
Maybe you like to add it to your script.
So far I didn’t have a cloud for upload.
Could you give me some adress for upload?


(Alex Apostoli) #266

Thanks Markus,
next release will also have german as language option!


(Markus Greinwald) #267

Hi Alex,

Is it possible to add values from the FrSky Telemetrie to your script?
I am particularly interested in the values of the rpm and temperature sensor.
The adresses could be fix and have to be adjusted on the sensors or they are adjustable on the menu of the telemetrie script.


(Alex Apostoli) #268

Hi Markus,
could you please explain in detail what you would like to achieve?

(Markus Greinwald) #269

Hi Alex,
I would try to be a little bit more accurate :grinning:
At the OpenTX I have two group of sensors.
Group one are the sensors direct connected to the X8R receiver over the Smart Port.
Group two are the sensor values send over the FrSky passtrough protokol also conneted to the Smart Port.

I have a RPM and temperatur sensor direct connecetd to the X8R reciver over the FrSky Smart Port
This values I like to display inside your script.
So maybe between “AltAsl” and “Spd” could be room for “RPM” and “TMP”.

Hope this explanation make it a litte bit more clear.


(Alex Apostoli) #270

Hi Markus,
now I understand what you would like.

  • first problem is that I already expose Fuel, Tmp1 and Tmp2 to OpenTX, it’s easy to comment them out of the code
  • then I would have to get real frsky sensor values and show them on screen, I can sure find a good place

I can probably make a custom version for you and give you the sources but after that you’ll have to mantain it, it means that when I release a new version you’ll have to inject the changes by yourself (best solution is to fork my github repo and keep your customized version there), this because you’re request is very specific even though I recognize that by running full screen in one time mode the script prevents users from defining custom telemetry pages

(Markus Greinwald) #271

Hi Alex,

I have taken a deep look on your code.
So I decide to ask you about the possibilitys :grinning:

I think I would be able to build a compiled script (first time I ever did that) and fork your github repo.
So if there would be an update I could inject the changes.
So far the plan :roll_eyes:

I like to replace the “AltAsl” for the “RPM” and the “Power” for the “Temperature”.
If You show me the code lines and what I have to change I will try to customice my script.
A example would be very helpful.


(Alex Apostoli) #272

Markus how about having your sensors on a different page of the script accessible with the page up/down button? Something similar to the message history

(Alex Apostoli) #273

Markus what are the sensor names you would like to display, I need a screenshot from OpenTX with the exact values for name, id, instance, precision, I think I found an elegant way to do what you ask that can be incorporated into the script :slight_smile:

(Luís Vale Gonçalves) #274


Why not use these:

won’t miss any from the standard OpenTx/FrSky telemetry Sport ?

and if detected create additional pages ?

(Alex Apostoli) #275

Hi Luis,
I don’t have access to sensors by ID but only by name, but my idea was close to yours, I thought about having the user declare them in a config file for an extra senosr panel in the left side that will be activated by a short press of [PAGE UP/DOWN] only on the horus though

This config would be read only at startup and therefore consume very little resources

P.S. welcome back :slight_smile:

(Markus Greinwald) #276

Hi Alex,
below a hard copy from the external sensors.

Most intresting the RPM sensor.
Tmp1 + 2 are fixed on the motor and ESC.

Very nice idea with the extra sensor panel.


(Alex Apostoli) #277

Hi markus,
this is the idea: you define custom sensors in a file like this (all in one line)
S1:label,name,precision[0|1|2],unit label,type[I|E],S2:label,name,precision[0|1|2],unit label,type[I|E]…

S1,S2,S3,S4 are the four sensor positions available on the custom sensor panel.
Type I means the sensor is built into the script, type E means sensor is external and the builtin has to be disabled.


3 extra sensors defined:

  1. name=Temp, value=Tmp1,precision=0 decimals,unit=C,type=external (use value from frsky not script)
  2. name=RxBatt, value=RxBt,precision=2 decimals,unit=V,type=external (use value from frsky not script)
  3. name=Fuel, value=Fuel,precision=0 decimals,unit=%,type=internal (use value from script)

standard view

toggle custom sensor page with [PAGE UP/DN]


I’ll send you a version to test soon.