P-51 gear and gear doors sequence

If you have a model config you would like to share. Post it here!
Post Reply
Lenop
Posts: 14
Joined: Fri Mar 09, 2012 10:12 pm
Country: -

P-51 gear and gear doors sequence

Post by Lenop »

Hi all, I just received a FMS 1700mm P-51D. It's excellent, by the way. It has retracts and gear doors. The model comes with in build-in sequencer for the gear and gear doors. However, the doors stay down when the gear is extended, where in reality the doors cycle back up.

So I'd like to program my TX to have this sequence:

- select gear DOWN by GEAR switch
- event 1: gear doors open
- event 2: gear extends
- event 3: gear doors close

- select gear UP by GEAR switch
- event 1a: gear doors open
- event 2a: gear extends
- event 3a: gear doors close

I already looked at the gear/gear doors template but that sequence misses the event 3 and 3a.
I know it should/could by possible using virtual switches but so far I have not yet managed it.

At the moment my gear is on channel 6 and the doors on channel 7. I do not have any physical channels available on my RX. I could free 1 physical channel that I use for the radiator door that is linked to the throttle.
Your input is much appreciated, Thanks!

User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: P-51 gear and gear doors sequence

Post by MikeB »

Try this:
ch06: +100% FULL Switch(GEA) Delay(u2:d2) slow(u1:d1)
ch07: +100%FULL Switch(SW2) Delay(u1:d1) slow(u1:d1)
CSW1: v>ofs CH6 0
CSW2: XOR GEA SW1

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Lenop
Posts: 14
Joined: Fri Mar 09, 2012 10:12 pm
Country: -

Re: P-51 gear and gear doors sequence

Post by Lenop »

Thank Mike! Unfortunately I couldn't get it to work.
With your mix as basis, I now have this:
CH06: +125%FULL Switch (GEA) Delay(u2:d2) Slow(u2:d2)
CH08: +125%FULL Switch(SW2) Slow(u2:d2)
CSW1: v>ofs CH6 125
CSW2: XOR GEA SW1

In the simulation when I select GEA down, first the doors open and after the gear goes down. GEA up, doors close and gear goes up.

What I miss from the mix is that when I select GEA down, the doors close again after the initial open doors and gear down. And for GEA up, doors open, gear goes up, doors close again.

Any more ideas?

Lennart
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: P-51 gear and gear doors sequence

Post by MikeB »

I put a complete reply on RCG. Your setting of CSW1 does not do aything, CH6 is NEVER greater than 125. I used 0 to detect when the gear was opening or closing.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Lenop
Posts: 14
Joined: Fri Mar 09, 2012 10:12 pm
Country: -

Re: P-51 gear and gear doors sequence

Post by Lenop »

For others who might be interested this is the mix that Mike came up with (thank U, Mike!):
CH06: +125FULL Switch(GEA) Delay (u2:d2) Slow(u2:d2)
CH08: +125FULL Switch(SW2) Delay (u6:d0) Slow(u2:d2)
CSwitch1: v>ofs CH6 123
CSwitch2: XOR GEA SW4
CSwitch31: v<ofs CH6 -123
CSwitch4: OR SW1 !SW5
CSwitch5 OR SW3 !SW4

It works perfect!

Lennart.

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

Re: P-51 gear and gear doors sequence

Post by jhsa »

Here is the eepe file to make your job easier :mrgreen: ;)
Attachments
Gea W Door.eepm
(1.25 KiB) Downloaded 732 times
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
stretton74
Posts: 21
Joined: Wed Mar 14, 2012 4:48 am
Country: -

Re: P-51 gear and gear doors sequence

Post by stretton74 »

thanks for the code Lennart,
one thing i am trying to do is reduce the time delay on gear door closing and opening 6 seconds is a long time i would like it all to happen a little more closer.
i have tried to reduce the delay to 2-3 seconds in place of the 6seconds delay on channel 8, the opening sequence is ok but the second sequence is is not opening ch8 fully to 100% it looks like it is about 90% and on closing before the gear is fully retracted the doors start to close.( this is on eepe simulator have yet to try on model, i need to make up some extension cable for this as i have been running sequence module that was provided and didn't close the doors like this sequence.

slowly getting the hang of er9x programs still on my learners.

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

Re: P-51 gear and gear doors sequence

Post by jhsa »

I don't understand. I've just tried the file above on eepe, brought the delay down from 6 to 0 and it still worked fine.. with a little delay possibly caused by the custom switches.. and with full servo movement..
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
stretton74
Posts: 21
Joined: Wed Mar 14, 2012 4:48 am
Country: -

Re: P-51 gear and gear doors sequence

Post by stretton74 »

As i mentioned im a learner with this but now i have figures this oit. I did find my error. Is all good now and have the gear doors and gear sequence at a speed i like. Thanks again for the eepe file it has rally helped me also to learn the language.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: P-51 gear and gear doors sequence

Post by jhsa »

We are always learning.. ;) Well, we all except Cre8tiveLeo.. Now he is selling sandwiches in anti static bags. TSS..TSS..TSS too much beer I guess :mrgreen: :mrgreen:
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
ARMAGUEDON
Posts: 18
Joined: Mon Oct 15, 2012 4:10 am
Country: -

Re: P-51 gear and gear doors sequence

Post by ARMAGUEDON »

Hallo JHSA
I would be very interested in eepm complete P-51 FMS xll thank you
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: P-51 gear and gear doors sequence

Post by jhsa »

I'm really sorry but I don't understand what you mean.. :?

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
ARMAGUEDON
Posts: 18
Joined: Mon Oct 15, 2012 4:10 am
Country: -

Re: P-51 gear and gear doors sequence

Post by ARMAGUEDON »

Hallo JHSA ....I flashed my radio firmware erx9 as it is new to me I learn about the furums. I also have a P-51 FMS XLL as you know there are a lot of servo and I have no idea what to do with flaps, retracts and the door to the wheel that is what I wanted to know if you could put your config line P-51.eepm exuse my anlais I am French Canadian.
User avatar
ARMAGUEDON
Posts: 18
Joined: Mon Oct 15, 2012 4:10 am
Country: -

Re: P-51 gear and gear doors sequence

Post by ARMAGUEDON »

Hi MikeB I'd like the link to read your description RCG thank you
BruceWayne
Posts: 3
Joined: Tue Nov 13, 2012 4:24 am
Country: -

Re: P-51 gear and gear doors sequence

Post by BruceWayne »

Here is a technique that makes use of curves for both the gear and gear doors.
Attachments
P51gear.eepe
(1.31 KiB) Downloaded 523 times
User avatar
ARMAGUEDON
Posts: 18
Joined: Mon Oct 15, 2012 4:10 am
Country: -

Re: P-51 gear and gear doors sequence

Post by ARMAGUEDON »

thank you to everyone for their help now gives her on my p 51
Attachments
P51-FMS.eepe
(4.84 KiB) Downloaded 461 times
User avatar
ARMAGUEDON
Posts: 18
Joined: Mon Oct 15, 2012 4:10 am
Country: -

Re: P-51 gear and gear doors sequence

Post by ARMAGUEDON »

Tank you Joao
User avatar
Tomkfly
Posts: 77
Joined: Wed May 29, 2013 5:59 pm
Country: United Kingdom

Re: P-51 gear and gear doors sequence

Post by Tomkfly »

One of the first things I did when I got my Taranis was to set up a door sequencer for a P51. My first attempt was mainly using timers and it worked well. However I thought there might be another way, so I did a set up using Cutom switches and pseudo channels and that also worked. I then posted a comment on RCMF forum and one of the guys on there posted a reply saying the easiest method was to use a custom 5 point curve.it works and is so simple to set up.
The settings I used are as follows.
+ 100
- 100 , - 60
- 100 , 0
- 100 , + 60
+ 100
You can vary The +/ - 60s to give the ratio between door travel and time doors remain fully open.
I then set a mix, for the door ch, with SF as source ( gear switch ), weight - 100, delay at zero and duration 7 seconds (set to your own personal requirement).
Then set a mix for wheel ch, again SF as source, delay 3 seconds up and down, no duration, as I'm using air retracts.
If you're using proportional servos you can add a duration value, but you will have to increase the duration on the curve overall and reduce the values of 60s in the curve.
If you have any questions, on the above, please ask.

Tom
User avatar
ckleanth
Posts: 81
Joined: Sun Dec 23, 2012 11:19 pm
Country: United Kingdom
Contact:

Re: P-51 gear and gear doors sequence

Post by ckleanth »

A selection of the different methods mentioned above to achieve landing gear and gear door sequencing using opentx.

I tried to keep the same model channel assignment for ease of understanding

LG_D_F_CS:
SF switch activates the sequence. Gear doors (CH7) open , retracts move (CH6), Gear door close. The same applies for the inverse operation. CH8 is flaps and are deployed using the SB switch.
This brilliant setup was created by Mike Blandford on er9x
http://openrcforums.com/forum/viewtopic.php?f=38&t=487

LG_D_F_CRV_1:
Same as above but using curves
LG_D_F_MIX:
This is a simpler sequence from the two models above but this is probably what you will want to use. The SF switch activates the sequence. Assume gear is extended with doors open. Retraction: Landing gear (CH6) retracts (moves up), Gear doors (CH7) close.
Extension: Gear doors (CH7) open, Landing gear (CH6) extends (moves down).
Note that the Gear door only close when the wheels are retracted.
CH8 is flaps and are deployed using the SB switch.
LG_D_F_CRV_1:
Same as above but using curves
3P_2P_CS
The mixes below work using 2P switches and on the Taranis we have a plethora of 3P switches but only one 2P and one toggle switch. If you use Throttle cut then you want to use the 2P switch which leaves you with a dilemma. Because these mixes use delay if you use a 3P switch to activate the sequence you might get in trouble and your gears engage with the LG doors of your model if you accidently place the 3P switch in the middle position. The solution is to use one of the paddle switches as a soft 2P switch. All you need to do is to add two CS the a<x V2= -1 and a>x V2 = 0 functions and assign the CS to the paddle switch you want to trigger the CS. Then replace the SF in the mixes below with your CS switch.

these files are also in:
http://rcsettings.com/index.php/viewdow ... ing-opentx
Attachments
LG_and_door_sequencing_Taranis.eepe
(77.03 KiB) Downloaded 371 times
If it has wings it will fly...

Post Reply

Return to “Template Library”