Giter Club home page Giter Club logo

Comments (34)

yaapu avatar yaapu commented on July 25, 2024

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.

yaapu avatar yaapu commented on July 25, 2024

I'll leave this open waiting for more info from the OpenTX team

from frskytelemetryscript.

yaapu avatar yaapu commented on July 25, 2024

@dengboheng what flight stack do you run? Ardupilot?

from frskytelemetryscript.

yaapu avatar yaapu commented on July 25, 2024

@qba667 is the DIY multi module supported on the NV14?

from frskytelemetryscript.

qba667 avatar qba667 commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

@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.

qba667 avatar qba667 commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

@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.

qba667 avatar qba667 commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

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.

qba667 avatar qba667 commented on July 25, 2024

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.

yaapu avatar yaapu commented on July 25, 2024

This totally makes sense and explains why the LUA API is aligned with OpenTX 2.2.x feature set

from frskytelemetryscript.

qba667 avatar qba667 commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

@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.

qba667 avatar qba667 commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

@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.

Bas-moz avatar Bas-moz commented on July 25, 2024

@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.

Bas-moz avatar Bas-moz commented on July 25, 2024

@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.

Bas-moz avatar Bas-moz commented on July 25, 2024

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.

yaapu avatar yaapu commented on July 25, 2024

@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.

Bas-moz avatar Bas-moz commented on July 25, 2024

@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.

yaapu avatar yaapu commented on July 25, 2024

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.

Bas-moz avatar Bas-moz commented on July 25, 2024

@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.

markandkymward avatar markandkymward commented on July 25, 2024

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.

yaapu avatar yaapu commented on July 25, 2024

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.

markandkymward avatar markandkymward commented on July 25, 2024

from frskytelemetryscript.

yaapu avatar yaapu commented on July 25, 2024

finally getting there

image

from frskytelemetryscript.

lin554893462 avatar lin554893462 commented on July 25, 2024

EL18有可用的遥测脚本吗

from frskytelemetryscript.

lin554893462 avatar lin554893462 commented on July 25, 2024

Is there a telemetry script available for EL18?

from frskytelemetryscript.

yaapu avatar yaapu commented on July 25, 2024

Is there a telemetry script available for EL18?

not ready yet, very soon

from frskytelemetryscript.

lin554893462 avatar lin554893462 commented on July 25, 2024

Wait for your good news

from frskytelemetryscript.

yaapu avatar yaapu commented on July 25, 2024

hi all, please download latest zip from github and test :-)

from frskytelemetryscript.

lin554893462 avatar lin554893462 commented on July 25, 2024

from frskytelemetryscript.

lin554893462 avatar lin554893462 commented on July 25, 2024

from frskytelemetryscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.