Comments (14)
Eric and I are working on it :)
from frskytelemetryscript.
Hi what flight stack are you running, ardupilot or px4?
From the mavlink log I see that flightmode is always 1 so it appears that mavlink is not transmitting the info, how's the cabling?
from frskytelemetryscript.
Hi Alex,
I am running PX4. I was following Eric´s cabling instructions, so every other info is transmitted, only the Flight Mode is missing.
Eric pointed out that:
``Yes, flight mode is derived from ap_custom_mode on the mavlink heartbeat record, and also depends on the type of frame - ap-type. Obviously a quadcopter does not have the same flight modes as a fixed wing aircraft, an so on.
The LUA script determines the correct flight mode name and enunciation.
If there are other "sensors" on the bus, the Taranis and the LUA script need to decide which one to use for flight-mode. Alex (yaapu) can probably help with that.
Good luck
Eric´´
Best
--Seeelefant
from frskytelemetryscript.
Do you have any other mean to check if flight modes are correctly sent over mavlink, like an OSD?
My script can only decode what the teensy is sending and from the log the teensy is not getting the flightmodes from the mavlink stream the way ardupilot sends them.
The frame type is correct, ap_type=2 means copter, but the flight mode is not decoded the correct way, from this mavlink/mavlink#774 it appears that ap_custom_mode decoding is flight stack dependent, so the values received have to be decoded the PX4 way following this https://github.com/PX4/Firmware/blob/master/src/modules/commander/px4_custom_mode.h#L45
from frskytelemetryscript.
Hi Alex,
I can see the Flightmodes in QGroundcontrol, but´s that´s not ideal....I would like to have one place with all the relevant infos..... Is there an option that I modify Eric´s script? What message/format do you need for the right Flight Modes?
Best
--Seeelefant
from frskytelemetryscript.
Mavlink ap_custom_mode has to be decoded according to https://github.com/PX4/Firmware/blob/master/src/modules/commander/px4_custom_mode.h#L45
from frskytelemetryscript.
I´m happy to hear that, it´s highly appreciated :-) .
Best
--Seeelefant
from frskytelemetryscript.
Hi Seeelefant, could you post a telemetry log file .tlog of a flight or of a simple bench flight where you switch some flight modes, I need it to bench test the script against PX4 flight modes
Alex
from frskytelemetryscript.
Hi Alex,
currently I only have this log
LOG.txt
, is this sufficient?
--Seeelefant
from frskytelemetryscript.
Hi, do you have the telemetry log files produced by mission planner, qgroundcontrol or tower? They are binary files with the tlog extension, they are the kind of files that you can load in GCS software to replay a flight
from frskytelemetryscript.
Sorry,
currently not...my Quad is currently broken. May I drop you a line once it is running again ... with fresh logs?
--Seeelefant
from frskytelemetryscript.
Hi Alex,
my Quad is working again, however currently PX4 has quite some problems with CAN buses. Therefore I switched to ArduCopter and things are working there 🥇 .
May I ask another question:
Here https://github.com/Clooney82/MavLink_FrSkySPort/wiki/1.-Setup there is a section on "Combining Teensy with FrSky Sensors". Is this still possible with your solution, can your script grab these values?
Here https://github.com/Clooney82/MavLink_FrSkySPort/wiki/2.1.-Lipo-Singe-Cell-Monitor there are some remarks how to (mis-) use the Teensy for voltage measurement of the single cells. Could that be implemented within your environment? Which solution would you recommend?
Best
--Seelefant
from frskytelemetryscript.
Hi,
Passthrough telemetry can share the s.port bus with regular frsky sensors so all frsky sensors can be used with my script, they will be discovered just fine and won't interfere.
If you use 1 or 2 FLVSS sensors and you name them "Cels" and "Cel2" my script will use them for single and dual battery monitoring.
To use the teensy to measure custom voltages would require both code changes on eric side and code changes on my side to expose the values unless eric's code sends the voltage as custom frsky sensors
Your options would be:
- regular FLVSS or VFAS frsky sensors (no code changes)
- custom teensy + custom yaapu script
- custom teensy
Alex
from frskytelemetryscript.
If you check my latest beta here you'll find a version that
- supports PX4 flight modes
- supports custom frsky sensors
from frskytelemetryscript.
Related Issues (20)
- Compass Bad Health Notification HOT 1
- Ethos/CRSF/Ardupilot Yaapu not showing telemetry. HOT 2
- TX16S widget gets disabled HOT 7
- Issue with frsky and speedybeef405wing HOT 5
- NO data displayed on widget on multiple set ups? HOT 1
- Yaapu Ethos widget shows "no telemetry" when external module used. HOT 26
- Support BW version of script for radios without Menu button HOT 10
- Map files in the zip dowmload file take too long to unzip HOT 2
- Not working for me HOT 1
- Yaapu script broken on Ethos 1.5 HOT 5
- BW128x64 radios (Taranis x9lite) have no config script and EdgeTx model copy function does not copy config file HOT 4
- airspeed and groundspeed indication with ardupilot FW HOT 2
- Enabling CRSF passthrough support on Radiomaster Pocket? HOT 10
- X20S 1.5.3 EU only show the horizon, no text HOT 2
- Ethos 1.5.4 X20 pro goes into emergency mode with screen Title on HOT 6
- Yaapu 1.1.0 no sound in Ethos 1.5.2 HOT 5
- Map not showing on screen HOT 1
- EDGETX FLYSKY PL18
- No telemetry in TX16S mkII after update to EdgeTX 2.10.0 HOT 6
- Problem with taranis x9d+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frskytelemetryscript.