Hi all,
I just bought an FrSky Taranis for my quad copter and needed to get the Mavlink data up on the Taranis LCD telemetry display. So here is my solution using a Teensy3.1 as a converter between MavLink and the S.Port on FrSky X8R.
See attached file below...
Replies
Paul, great ongoing work. Are you still using the restricted non-commercial frsky library? I would just carry on in your own repo, you're the de facto maintainer now :)
Another code commit today to my repo - link in previous post.
Thanks to tester feedback I have ironed out some flight mode bugs, but also took this opportunity to replace both plane217.lua and coptr217.lua with a single new telemetry script called telempc.lua which combines both AP types. Also offset.lua has been updated to include a new option to select between copter = 1 or plane = 2.
Please feel free to give it a go. I will update the Clooney82 wiki once I merge this into that repo.
Thanks, Paul
Another code commit today to my repo: https://github.com/athertop/MavLink_FrSkySPort
I have removed the reliance on the flight mode/global variables table in OpenTx, and added some other code fixes and minor enhancements. Only been tested on the simulator so far and on my Taranis Plus on the bench. If you guys plan to test this, please make sure you get the latest version from the above repo. If all is OK, then I will merge into the Clooney82 repo. Thanks, Paul
I'll do my best to test it out next weekend ....
Cheers Garry - my spelling is atrocious TBH! (I'm amazed I spelled "atrocious" :-)
Garry Kraemer said:
Paul,
I found a spelling mistake in the first sentence on the wiki:
https://github.com/Clooney82/MavLink_FrSkySPort/wiki
'Ardupolot' should be 'Ardupilot'.
Keep up the good work!
Thanks for making the improvements!
Garry
Paul Atherton said:
I am currently looking for anyone interested in testing a new version of the Mavlink->FrSkySPort software.
In a nutshell, I have made some improvements to the telemetry screen and added some new features.
The new pre-release is available from my fork here: https://github.com/athertop/MavLink_FrSkySPort
Using this will require a few things to happen:
As for the new features, I have:
In offset.lua, the following values can now be configured:
*Note - occasionally data corruption does sometimes corrupt the text of messages displayed here - this is still a bit experimental.
Other recent features recently added (in release v1.7) - already in the main Clooney82 repo include:
This is possible as ULRS downlinks the Telemetry port data to the ULRS Tx (at 19200baud), so we can connect the Teensy to the serial port of the Tx on the ground side to pick up a Mavlink connection, and output the teensy SPort sensor data directly into the Taranis using the SPort Polling feature now included in the project (by uncommenting #define POLLING_ENABLED in MavLink_FrSkySPort.ino).
In a repeater/relay configuration, the Teensy output would connect into a FrSky X4R Rx SPort as normal, where the SPort data would get to the Taranis over the regular XJT radio connection (no SPort polling required for this).
As no SPort connectivity exists on the airside in this configuration, it is not possible to use an FLVSS LiPo sensor in the model to monitor individual cell voltages, so in this case its preferable to uncomment the line #define USE_FLVSS_FAKE_SENSOR_DATA in MavLink_FrSkySPort.ino before writing the sketch to the teensy.
Yes, I jumped the gun and updated the wiki, but the software has performed well so far in tests so will be released soon - just hoping a few others might be willing to do a quick test before I merge the code changes to the Clooney82 repo)
Cheers, Paul
OK ... I was messing about and got the Cmin working, it was something i am SURE i tried earlier and hadn't worked, maybe it was due to the old Telem script and not the new one
I think your wiki should say
Method - Cell
Cells Sensor - Cels
Source 1 - Lowest
This is a screenshot of my settings - https://goo.gl/photos/zmk2kzYzuwaSSt9V6
Ewan Fletcher said:
Paul,
Thanks alot for the reply,
I've taken a quick screenshot of my TX v Mission planner.
Everything was updated today to the latest version of the repo, the fake sensor was uncommented and the max cells was set to 4
Looking at the link above i thought A2 was the HDOP reading x 10?
I'm running 2.1.9 and 3.3.3, i was using the previous Telem1.lua but have swapped to copter2.1.7 and its made no difference
I've stuck a couple of screnshoots up to show what i have on A2 and how i have A2, and the options i get for Cmin - https://goo.gl/photos/1yiqewBpzGFMqHnW9
Paul Atherton said: