mix script for parachute

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

mix script for parachute

Post by jarconman »

Hi guys,

I fly a parachute and to do so I have added an arduino to my receiver with code to make the arms move in the right way.
P9285574.JPG
I wonder if it is possible to replace the arduino with a mixer script. The functionality of the arms is as follows:
  • move both arms up and down through the throttle channel.
  • move arms in opposite directions with the aileron stick. When both arms are full up only one arm moves and it must be possible to the full down position. If both arms are down only one arm moves up and it must be possible to the full up position. If the arms are in between the full up and full down position then both arms move possible to the full opposite directions.
    I am eager to here if it is possible
Regards,
Jarco

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

Which radio do you have and what firmware?
I for example use Er9x and Ersky9x

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
tonnie78
Posts: 123
Joined: Mon Jan 12, 2015 9:33 am
Country: -

Re: mix script for parachute

Post by tonnie78 »

It is possible with OpenTx. I do not know about other systems but I guess thats basic mixing on all Open systems
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: mix script for parachute

Post by Kilrah »

You don't even need a script, that can easily be done directly in the mixer.
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: mix script for parachute

Post by ReSt »

Try this, if it does what you need.

This is with ER9x, so it should be poosible with all systems

CH01 +100% Ail
+100% Ail
* +100% Ch3 // Multiply
+100% Thr

CH02 -100% Ail
-100% Ail
* +100% Ch3
+ 100% Thr

Ch3 +100% Thr Curve(C1)

Curve c1:
100 75 50 75 100

Reinhard

jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

Thanks for all your responses. I have a Frsky x10s. I will try the mix script from ReSt
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

Reinhard,

I entered the script, what I see is the following if the arms are full up and I want to turn left then the arm goes half way down while I want it to go all the way down. If the throttle sticks is not full up or full down only one arm will move and not to full on both sides while two arms should move. Am i doing something wrong or is this the expected behaviour?

Regards,
Jarco
Last edited by jarconman on Fri Mar 29, 2019 6:22 pm, edited 1 time in total.
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

@kilrah,

Where can I find out how to do this? I own the X10S for two weeks now and the learning curve is rather steep.

Jarco
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

Hi I tried to make some pictures with the arm behaviour the way I programmed it in the arduino and works perfect. the figure is seen from behind
arm positions.png
Jarco
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

I think you should read the openTX manual as you don't seem to be familiar with it.. the mixer has nothing to do with scripts in this case :)
Also, some of the mixes Reinhard posted are multiply mixes. The ones in front of the "*" character. If you don't change the mix type to multiply, it won't work as it should..

João

Sent from my BLN-L21 using Tapatalk

My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

I made multiply mixes there where Reinhard put it. I understood the * and + and -. I also read the open tx manual multiple times. Since this is more complicated then what is describe in the manual I thought to ask it here.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

You did well asking here. ;) :) But we don't know what you know if you don't tell us..
You kept insisting on scripts, hence I thought you were not familiar with the mixer :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

João,

You are right. what I meant with I entered the script was I used the lines Reinhard posted. I know the difference between lua scripts and the mixer. Nevertheles when I enter the mix settings the behaviour I want is not achieved.

Thanks for helping anyway.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

Let me have a look as well..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

I have just tried Reinhard's mixes in Eepskye (same as companion but for Ersky9x), and it seems to do what you asked for. did you program the curve on your throttle channel?

Perhaps you have to reverse one of the servos, depending on how they are mounted.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: mix script for parachute

Post by ReSt »

I checked the mixes once more and I believe they do what you want.
I assume you have a working eePe / eePSky or Companion
The attached file contains a parachute model for eePe and one for companion (tried it on eePe and on Companion V2.0 and V2.1)
On eePe/eePSky load it with "File" - "Load model settings" in Companion load it with "File" - "open"


Reinhard
Parachute.zip
(1.84 KiB) Downloaded 214 times
jarconman
Posts: 12
Joined: Sat Mar 23, 2019 4:36 pm
Country: Netherlands

Re: mix script for parachute

Post by jarconman »

Guys,

Thanks for Your help. You are the greatest and I learned a lot. I did some things wrong. First of all I used the input pages second I used the output page for channel three.

I loaded the file in my companion 2.2 changed the mixes in my transmitter and it works like a charm. Now I can remove the Arduino, another possible point of failure!

Happy flights

Regards,
Jarco
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: mix script for parachute

Post by jhsa »

Hey, you did it, congratulatiions :)

João

Sent from my BLN-L21 using Tapatalk

My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “Software”