Rolf Blomgren
  • Male
  • Stockholm
  • Sweden
Share
  • Blog Posts
  • Discussions (82)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Rolf Blomgren's Friends

  • sachyy jay
  • Ales Sandro
  • Artem
  • micropet
  • Tracy DeWitt
  • RC Tech.se
  • Rana

Rolf Blomgren's Discussions

APM MavLink to FrSky X8R S.Port converter

Started this discussion. Last reply by Robert Caraway Nov 2, 2017. 1935 Replies

Hi all,I just bought an FrSky Taranis for my quad copter and needed to get the Mavlink…Continue

 

Rolf Blomgren's Page

Latest Activity

Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"I guess because all of this is customized, that Taranis does not support the scaling for the raw data. Thx for your help Scot"
Nov 2, 2017
Paul Atherton replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Robert, the input to your scripts (even though the sensor is configured for kts in the sensors screen) will still be in m/s you need to do a translation in LUA to scale that to whichever scale you need."
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Hmm, I do not see files as uploaded.  See files in the below links if they do not show up in the…"
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"The issue I have is not with the lua script.  The issue I have is with the sensor data.  I am fully configured for kts as my units of choice.  The Lua dashboard you have is working accurately.  But when I create my own dashboard…"
Nov 2, 2017
Paul Atherton replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Robert, Glad you're finding the project interesting. Are you aware of the configuration page which is part of the main lua script? The telemetry script has two screens. When you load it (long press on PAGE button) you see the main telemetry…"
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"On a side note about the AoA question, I can see that the data flash logs do have an AOA data set.  I am unsure how it is calculated or how good the data is.  There are lots of fluctuation probably due to vibration but you can see it creep…"
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"I want to walk back the statement that your code is mathematically correcting the error.  That may not be true now that I have a chance to think about it.  it is possible that the person who coded this knew that the data is coming over in…"
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"So I should make a change to my models configuration?  What should I set the speed to? return {["speedUnits"] = 2,["altUnits"] = 1,["apType"] = 1,["offsetmah"] = 0,["offsetwh"] =…"
Nov 2, 2017
Paul Atherton replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"shvars.speedUnits is set by your units selection on the configuration page (which is the code in confrun.lib), which writes the chosen value to your model config file. Its read back in from the config file when the code is initialised. I think you…"
Nov 2, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"I am not a programmer but it seems that the below variable needs to be set: shvars.speedUnits == 2 I am assuming that units_set is unset so it traverses the if/elseif/elseif/else code.  Let me know if I am wrong.  If I am right, how would…"
Nov 1, 2017
Paul Atherton replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Robert, the telemetry sensor is configured for kts as you know (the log file shows the same), but the numeric value on the sensor is actually m/s. The teensy sends in m/s, but if the sensor on the taranis is configured in anything other than kts,…"
Nov 1, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"This is clearer to me now.  I did two more flight and noticed that the speed on the lua dashboard is likely correct.  Outside of that, I have my own telemetry screen that has air and groundspeed in it as well as voice alerts for providing…"
Nov 1, 2017
Paul Atherton replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Robert, That is an issue with the wiki (missed removing a bit) since the configuration page took over from the offset.lua mixer script - that was how we used to set the offsets and plane/copter before I rewrote the LUA scripts. Thanks for spotting…"
Nov 1, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"I did find a config file with my planes name on it that seems to have the variables mentioned in the doc.  SpeedUnits is set to 2 there.   On the https://github.com/athertop/MavLink_FrSkySPort/wiki/0.-Overview page, it indicates the…"
Oct 31, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Paul Looking at the documentation, there is supposed to be a file called mixes/offset.lua.   Is that supposed to be in the scripts dir on the Taranis SD Card?  I see no such file on my card.  Do I just create a text file with some…"
Oct 31, 2017
Robert Caraway replied to Rolf Blomgren's discussion APM MavLink to FrSky X8R S.Port converter
"Paul To answer previous questions, see below: I have OpenTx 2.2 Software is AP 3.8.2 Teensy is plugged into Telem2.  I have no other smart devices or sensors plugged in. Telem 1 has the 3dr radio. I do not see anywhere is says Telemetry type on…"
Oct 31, 2017

Profile Information

Please tell us a bit about your UAV interest
trying to use it with a camera
Hometown:
Sollentuna

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service