Servers by jDrones

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

frsky
ardupilot
lua

(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

ok,
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

Alex


(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?

Cheers,
Markus


(Alex Apostoli) #266

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

Alex.


(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.

Cheers,
Markus


(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:
grafik
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.
grafik
So maybe between “AltAsl” and “Spd” could be room for “RPM” and “TMP”.

Hope this explanation make it a litte bit more clear.

Cheers,
Markus


(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:

grafik
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.

Cheers,
Markus


(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