Comments (34)
Hi,
well kind of hard :-)
Different lcd aspect ratio, and it's not part of the official OpenTX repo yet.
I've read that it will eventually be supported by companion and in that case I'll have a development environment to work with.
For real stress testing I'd need some hardware tough, I do not trust companion for it!
from frskytelemetryscript.
I'll leave this open waiting for more info from the OpenTX team
from frskytelemetryscript.
@dengboheng what flight stack do you run? Ardupilot?
from frskytelemetryscript.
@qba667 is the DIY multi module supported on the NV14?
from frskytelemetryscript.
@yaapu I added support for multi-module last Friday.
when I am working on layout of LUA scripts I am using target "simu" - it is much faster than using radio itself. In free time I will look how your script behaves on the Nv14. It will be officially merged into 2.4 - but it is hell of work...
from frskytelemetryscript.
@qba667 that is good news and I must say you're doing a great job!
I know your work on the FS-I6 and on flysky telemetry so I'm pretty sure you're up to the task :-)
Can you give a pointer to your repo so I can build the latest version?
My widget will crash a real radio for sure because of off screen writes but the simulator can probably survive such calls :-)
from frskytelemetryscript.
@yaapu try this out:
https://github.com/open-flysky/Flysky-OpenTX-Test-Branch
I will also create a test build with this feature, but first I need to double check if all external modules are working. Just let me know in case of any questions.
from frskytelemetryscript.
@qba667 thanks, target simu is working fine, once you release multi module support I'll need a real radio to do proper testing, simulators are fine but a bit forgiving, especially on the memory side :-)
from frskytelemetryscript.
@yaapu multi is out - at lest test build. I will ask FlySky about radio for you, but probably in next week because now they have public holidays for more than 1 week.
Regards from somewhere north from you:)
from frskytelemetryscript.
I will ask FlySky about radio for you, but probably in next week because now they have public holidays for more than 1 week.
@qba667 that would be absolutely great, thank you.
It's not clear to me how your OpenTX version relates to other I see around, yours is 2.1.8 while I see latest UndergroundFPV is 2.2.2, mine it's just curiosity since I haven't been following NV14 threads.
more thanks from somewhere south of you ;)
from frskytelemetryscript.
It is all based on 2.2.2 because of that UFPV is named 2.2.2, FlySky decreased the version number from some unknown reasons (maybe feature set not complete). What is in this repository is something between 2.2 and new official 2.4 because 2.4 will be based on new UI that was introduced in this project.
from frskytelemetryscript.
This totally makes sense and explains why the LUA API is aligned with OpenTX 2.2.x feature set
from frskytelemetryscript.
@yaapu touch events are now passed to widgets.
https://github.com/open-flysky/Flysky-OpenTX-Test-Branch/tree/widgets_events
This should give us other dimension of usability.
from frskytelemetryscript.
@qba667 congrats, this is sweet!
I glanced through the code, your passing events to the selected widget only and if I touch another widget you select it first, correct?
Did you define gestures as well or plain touch events with coordinates and perhaps touch "duration"?
from frskytelemetryscript.
@yaapu that is right. Over weekend I tried to force the touch controller to produce gestures, unfortunately it won't output anything. There is already existing TouchManager class that can be use to detect and translate touches into gestures. This must be addressed anyhow.
from frskytelemetryscript.
@qba667 gestures will be needed when the lcd subsystem will be fast enough to zoom and rotate in real time which I'm afraid will be a long time from now :-) right now it's hard to keep a 10Hz fps
from frskytelemetryscript.
@yaapu Is there any status updates on this, I have an NV14 and I'd be interested in contributing the code needed for this but I'm having some trouble figuring out the specifics of the build system, for one is it possible to build and run this without using the companion app compiler? As the companion app doesn't support the NV14 as you've mentioned earlier. Mind you, I've never owned another OpenTX RC so I'm not even sure what the process is supposed to look like :-).
from frskytelemetryscript.
@qba667 I compiled the https://github.com/open-flysky/Flysky-OpenTX-Test-Branch/, and I got it running on my NV14 just fine. However widgets are still a mystery to be, the included Counter and BattCheck widgets don't work. They complain about refresh() trying to call a table, this turned out to be about the table returned from create being called. I made that callable but that didn't seem to make them work, as a matter of fact it doesn't seem the refresh lua function is called at all? I'm sure I'm missing something obvious, but it makes it tricky even starting to try and get this working :).
from frskytelemetryscript.
Alright, appears I've located the bug inside the test branch. I've got a fixed build where widgets work again as expected (bug was introduced in open-flysky/Flysky-OpenTX-Test-Branch@624101c). I'll attempt to open an issue over there. Sorry for polluting this bug with it
from frskytelemetryscript.
@Bas-moz Hi, I did not work on this, the simulator was working though so no need for the whole companion app.
Porting to another layout is not an easy task, not impossible but requires a good understanding f the widget
from frskytelemetryscript.
@yaapu Yeah. I figured :-). I actually got things working and building after I fixed a bug in the firmware code. I have the main HUD and general mesaages working although there's indeed a lot of layout work still to do. Although the HORUS implementation seems to be a little hacky as well I'd like to eventually get it into a state of sufficient quality that it can be upstreamed. Once I get something sort of working I'll post the WIP at least so other NV14 users can play with it. Hopefully I can get the firmware fix in as well. Thanks for your reply!
from frskytelemetryscript.
Although the HORUS implementation seems to be a little hacky as well I'd like to eventually get it into a state of sufficient quality that it can be upstreamed
@Bas-moz can you elaborate on this, I'm always open to improve my code
from frskytelemetryscript.
@yaapu By all means! FWIW I've mostly been working on the HUD so far. But I was referring mostly to the strange interaction between the 'widget' (which has its own dimensions), and then overwriting the whole LCD, for the NV14 this seems like it's probably the wrong approach and I would actually constrain the size of the widget to the 'actual' widget on the device. (otherwise you end up overwriting the device's own immutable buttons). The positioning of a bunch of things also seems to be absolute where it could be relative to other specified values (i.e. test positioned relative to the HUD position rather than an absolute position on the LCD). Maybe this is harder than it seems though, since I'm still playing with it! :)
For one file I was also making the mistake of editing the 'preprocessed' file, which made things appear hackier than they actually were once I figured out the directory structure and how to use the preprocessor correctly :-).
from frskytelemetryscript.
Curious if there has been any movement on this. Just installed EdgeTX on my (now defunct) UndergroundFPV Nirvana. I always loved this radio but put it aside when things went sideways. I even moved over a 6pos switch to replace one the the VRB pots. It is looking good but sadly, no @yaapu YAAPU. I did manage to get your telemetry script working, albeit wonky in appearance.
from frskytelemetryscript.
Hi, indeed now it should be doable, I don't have a radio to test it though. I guess I will eventually support the NV14 on edgetx
from frskytelemetryscript.
from frskytelemetryscript.
finally getting there
from frskytelemetryscript.
EL18有可用的遥测脚本吗
from frskytelemetryscript.
Is there a telemetry script available for EL18?
from frskytelemetryscript.
Is there a telemetry script available for EL18?
not ready yet, very soon
from frskytelemetryscript.
Wait for your good news
from frskytelemetryscript.
hi all, please download latest zip from github and test :-)
from frskytelemetryscript.
from frskytelemetryscript.
from frskytelemetryscript.
Related Issues (20)
- Not telemetry data plane 4.4 expresslrs 3.3 edgetx 2.8 on TX16S HOT 1
- No telemetry data with ELRS on Yaapu widget HOT 9
- No telemetry AGL with ELRS on Yaapu widget and CRSF - what about SBUS rx tm now in new ELRS 3.3 ? HOT 4
- 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
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.