Function curve for Butterflymixer via LUA script Nicht mehr notwendig!
- ClausT
-
Topic Author
- Offline
- Senior Member
-
- Posts: 61
- Thank you received: 39
TPL_KUNENA_MESSAGE_CREATED Function curve for Butterflymixer via LUA script
06 Jul 2017 21:33 - 06 Jul 2017 21:54
In English, feel free to reply in German.
I have also been wondering about why no function curve is available for butterfly 'control', not a big issue, but we are used to being able to fine tune the function input in most other scenarios.
Trying different workarounds, but didn't find a solution, ok, time to read the documentation and learn some LUA.
My initial solution is to have a LUA app read the value of a given servo channel (currently channel 24) and output it directly.
This output can be used as input for the Butterfly mixer.
It is based on the sample 28_ctrl.lua from Jeti with a few minor modifications.
I have stripped out comments/copyright notices to save space, awating my DS24
Setup
Create a new FUNCTION e.g. "Butterfly IN" and assign the input control of your choice.
Assign servo 24 to the new function.
Activate the LUA App "Butterfly function curve"
Set up butterfly using control C01 and set up the required settings
Butterfly function curve can now be adjusted in function curve for "Butterfly IN"
I have also been wondering about why no function curve is available for butterfly 'control', not a big issue, but we are used to being able to fine tune the function input in most other scenarios.
Trying different workarounds, but didn't find a solution, ok, time to read the documentation and learn some LUA.
My initial solution is to have a LUA app read the value of a given servo channel (currently channel 24) and output it directly.
This output can be used as input for the Butterfly mixer.
It is based on the sample 28_ctrl.lua from Jeti with a few minor modifications.
I have stripped out comments/copyright notices to save space, awating my DS24
Setup
Create a new FUNCTION e.g. "Butterfly IN" and assign the input control of your choice.
Assign servo 24 to the new function.
Activate the LUA App "Butterfly function curve"
Set up butterfly using control C01 and set up the required settings
Butterfly function curve can now be adjusted in function curve for "Butterfly IN"
Last edit: 06 Jul 2017 21:54 by ClausT. Reason: Minor script update, version now 1.01
The following user(s) said Thank You: Benutzername
Please Log in or Create an account to join the conversation.
- Benutzername
-
- Offline
- Elite Member
-
- Posts: 272
- Thank you received: 103
TPL_KUNENA_MESSAGE_REPLIED_NEW Function curve for Butterflymixer via LUA script
07 Jul 2017 05:45
Hallo Claus,
das hört sich super an!
Jetzt muss ich meine DS16 doch mal updaten und LUA-fähig machen.
Schade, dass so eine elementare Funktion nur über einen solchen "Aufwand" realisierbar ist.
Aber ist ja auch nur für die "Segelflieger" :whistle:
Vielen DANK!
Ludger
das hört sich super an!
Jetzt muss ich meine DS16 doch mal updaten und LUA-fähig machen.
Schade, dass so eine elementare Funktion nur über einen solchen "Aufwand" realisierbar ist.
Aber ist ja auch nur für die "Segelflieger" :whistle:
Vielen DANK!
Ludger
Please Log in or Create an account to join the conversation.
- IG-Modellbau
-
- Offline
- Moderator
-
- Posts: 3781
- Thank you received: 2809
TPL_KUNENA_MESSAGE_REPLIED_NEW Function curve for Butterflymixer via LUA script
07 Jul 2017 05:52
Hallo ihr beiden,
nach meinem Wissensstand geht das nicht so "einfach".
LUA kann nur auf Geber zugreifen, so dass wir die Kurve in LUA erstellen müssten.
Das wiederum ist recht schwierig...
Muss ja irgendwie grafisch visualisiert werden, ist mit Sicherheit extrem aufwendig.
Ingmar
nach meinem Wissensstand geht das nicht so "einfach".
LUA kann nur auf Geber zugreifen, so dass wir die Kurve in LUA erstellen müssten.
Das wiederum ist recht schwierig...
Muss ja irgendwie grafisch visualisiert werden, ist mit Sicherheit extrem aufwendig.
Ingmar
Please Log in or Create an account to join the conversation.
- ***EX
-
- Offline
- Banned
-
- Posts: 4974
- Thank you received: 2410
TPL_KUNENA_MESSAGE_REPLIED_NEW Function curve for Butterflymixer via LUA script
07 Jul 2017 06:03
Eigentlich geht das ganze schon lange.
Wenn man den PPM In Pin des Senders mit dem PPM Out Pin verbindet,
dann kannst du dir eine Funktion Butterfly anlegen, zwischen Kanal 1 bis 8 zuordnen.
Am Schluss über CH1 bis CH8 als Geber im Butterflymischer zuordnen.
Mfg Harald
Wenn man den PPM In Pin des Senders mit dem PPM Out Pin verbindet,
dann kannst du dir eine Funktion Butterfly anlegen, zwischen Kanal 1 bis 8 zuordnen.
Am Schluss über CH1 bis CH8 als Geber im Butterflymischer zuordnen.
Mfg Harald
Please Log in or Create an account to join the conversation.
- Benutzername
-
- Offline
- Elite Member
-
- Posts: 272
- Thank you received: 103
TPL_KUNENA_MESSAGE_REPLIED_NEW Function curve for Butterflymixer via LUA script
07 Jul 2017 06:10 - 07 Jul 2017 06:10
Hallo zusammen,
mir wird das alles zu kompliziert, mir raucht langsam schon die Birne.
Ich habe aber jetzt eine ganz einfache Lösung gefunden.
Ich fliege seit gestern bis auf Weiteres wieder MC 24 mit Jeti Modul.
Das Leben kann so einfach sein
Gruß Ludger
mir wird das alles zu kompliziert, mir raucht langsam schon die Birne.
Ich habe aber jetzt eine ganz einfache Lösung gefunden.
Ich fliege seit gestern bis auf Weiteres wieder MC 24 mit Jeti Modul.
Das Leben kann so einfach sein
Gruß Ludger
Last edit: 07 Jul 2017 06:10 by Benutzername.
Please Log in or Create an account to join the conversation.
- PW
-
- Offline
- Moderator
-
- Posts: 9909
- Thank you received: 3910
TPL_KUNENA_MESSAGE_REPLIED_NEW Function curve for Butterflymixer via LUA script
07 Jul 2017 06:28
Ich werde die Sache mal an den Software Entwickler weiterleiten; aber aktuell ist der im wohlverdienten Urlaub.
Gruss
PW
Gruss
PW
Rechtsbeistand u.a. bei "Modellflugproblemen"etc. : Rechtsanwälte Wessels & Partner, Tel.: 02362/27065
PW Modellbautechnik ( Jeti Kombiangebote, Beratung/Einstellservice etc.)
PW Modellbautechnik ( Jeti Kombiangebote, Beratung/Einstellservice etc.)
Please Log in or Create an account to join the conversation.
Time to create page: 0.352 seconds