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
OK, now I get it.
With new EKF changes I think most important part is to figure out what warning messages to include into this mechanism. 'compass variance' and 'velocity variance' are probably most important ones, 'bad ahrs' is not quite clear if it is important or not, then it is a bunch of EKF error scenarios that also probably need to be evaluated, as I do not think current script will say anything specific in a case of an EKF failsafe emergency landing...
Hi,
do anybodyknow how I can get additional telemetry values an the taranis? I need the "sonarrange" value.
Thanks for any hint!
I found this very useful to decode MAVLINK messages from Pixhawk. Thanks. My latest problem is while this was very effective in reading data how can I set parameters on the Pixhawk using MAVLINK. In other words the reverse process. I have spent considerable time on the web but MAVLINK documentation is a real mess with no examples on how to use the GCS Mavlink library. For example - there is a SET_PARAM command but how to use it ?
i have added this script to show the error messages, on latest clooneys82 Lua scripts
but now it says : syntax error ( but it was working fine ), any ideas what could be wrong?, thank you
-----------------------------------------------------
- MavSky telem2.lua 1.2.0
--
-- Copyright (c) Scott Simpson
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- A copy of the GNU General Public License is available at <http://www.gnu.org/licenses/>.
initialize()
---------------------------------------------------------------------------------------------------
local function drawTopPanel()
lcd.drawFilledRectangle(0, 0, 212, 9, 0)
local flightModeNumber = getValue("fuel") + 1
if flightModeNumber < 1 or flightModeNumber > 17 then
flightModeNumber = 13
end
lcd.drawText(1, 1, FlightMode[flightModeNumber].Name, INVERS)
lcd.drawTimer(lcd.getLastPos() + 10, 1, model.getTimer(0).value, INVERS)
lcd.drawText(lcd.getLastPos() + 10, 1, "TX:", INVERS)
lcd.drawNumber(lcd.getLastPos() + 16, 1, getValue("tx-voltage")*10, 0+PREC1+INVERS)
lcd.drawText(lcd.getLastPos(), 1, "v", INVERS)
lcd.drawText(lcd.getLastPos() + 12, 1, "rssi:", INVERS)
lcd.drawNumber(lcd.getLastPos() + 10, 1, getValue("rssi"), 0+INVERS)
end
local function drawBottomPanel()
local footerMessage = getTextMessage()
lcd.drawFilledRectangle(0, 54, 212, 63, 0)
lcd.drawText(2, 55, footerMessage, INVERS)
end
local function background()
end
local function run(event)
local loopStartTime = getTime()
if loopStartTime > (lastTime + 100) then
checkForNewMessage()
lastTime = loopStartTime
end
checkForNewMessage()
lcd.clear()
drawTopPanel()
local i
local row = 1
for i = messageFirst, messageNext - 1, 1 do
-- lcd.drawText(1, row * 10 + 2, "abc " .. i .. " " .. messageFirst .. " " .. messageNext, 0)
lcd.drawText(1, row * 10 + 2, messageArray[(i % MESSAGEBUFFERSIZE) + 1], 0)
row = row + 1
end
end
return {run=run, background=background}
After Configuring all the telemetry parameters , how should the other pages be configured . And the rest of the SD folders ..
Thank you
Have a look at the readme here: https://github.com/Clooney82/MavLink_FrSkySPort/tree/s-c-l-v-rc-ope...
yes i did ,
the three pictures explains just the new telemetry screen configuration , but how to configure the rest ?, there are many missing pieces of information , and my question is if i should copy everything of the configuration that is valid for 2.0.17 for the rest ( the other lua scripts, the mix,es, input, flight modes, logical sw , special functions , there is no orientation on how to configure that part ..
this branch is under development. also devs are on trail and error with 2.1. so this is why there is no clear set-up information at this state of development.
if you need stable telemetry on apm please use opentx 2.0.17 and the main s-c-l-v-rc branch. this will work stable with no eu x8r firmware. on eu firmware receivers you need currently the new branch. but this is on many parts untested and buggy. because devs are working on different things over the whole code base.
/g
wolke
I am trying to setup the single cell monitor... at the moment, I am trying to configure the software dividers.
I made the resistor network as provided in the readme and commented in the debug output. At the teensy inputs, I measured correct voltages of under 3,3V for each cell between A0-A3 and GND of the Teensy.
Unfortunately, I only get the following output via the serial monitor:
which is the same whether the Lipo is connected or not.
I just connected the Teensy via USB and the balance plug to the resistor network which outputs go to the Teensy.
What am I doing wrong?