New Boeing 737-800

Everything in connection with developing aircraft for FlightGear
User avatar
it0uchpods
Posts: 1999
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.

Re: New Boeing 737-800

Postby it0uchpods » Sat May 27, 2017 3:55 pm

KL-666 wrote:This brings me to another idea. All/most planes have their reverser logic under the del-key. Would it be possible to fire a key-event programmatically (in this case push del-key)? Then i put that in the stick button, and all planes are covered.


Yes you can. Maybe AutoHotKey?

Kind Regards,
Josh
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar

KL-666
Posts: 1566
Joined: Mon Sep 28, 2015 8:42 am

Re: New Boeing 737-800

Postby KL-666 » Sun May 28, 2017 4:28 pm

it0uchpods wrote:Yes you can. Maybe AutoHotKey?


That is an option, but it is yet another program running. I was thinking more like firing a key event in nasal. I found a property somewhere where i could set "key number" and "pressed". But that is not the event, but the result of the event. So that was no good.

Now i ended up adding the essential action of all the Soitanen logic to my existing button binding definition. That works fine for the 737 and does not break yasim planes. I hope it will work for more jsbsim planes too.

My reverser button definition now does both actions at once:

- setAll "reverser" for yasim
- interpolate "reverser-pos-norm" for both jsbsim engines over a period of 2 seconds

Code: Select all

            if(
                (getprop("/gear/gear[1]/wow") != 0) or (getprop("/gear/gear[2]/wow") != 0)
            ){
                i = !getprop("/controls/engines/engine[0]/reverser");
                interpolate("/engines/engine[0]/reverser-pos-norm", i, 2);
                interpolate("/engines/engine[1]/reverser-pos-norm", i, 2);
                props.setAll("/controls/engines/engine", "reverser", i);
                gui.popupTip("ReverseThrust" ~ ["OFF", "ON"][i]);
            }


Thanks for the help.

Kind regards, Vincent

User avatar
it0uchpods
Posts: 1999
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.

Re: New Boeing 737-800

Postby it0uchpods » Sun May 28, 2017 8:00 pm

Be careful with that. Complex and realistic planes may break if you do that. Most planes have logic for the reversers, instead of just interpolating it.

When I finish overhauling the engine system on the 737-800, that won't work properly anymore.

Kind Regards,
Josh
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar

User avatar
jwocky
Site Admin
Posts: 1718
Joined: Sat Sep 12, 2015 12:04 pm
Contact:

Re: New Boeing 737-800

Postby jwocky » Tue May 30, 2017 5:21 pm

Vincent, no need, because the key-version would anyway only set the float to 1.0 respectively back to 0.0.
Free speech can never be achieved by dictatorial measures!

User avatar
it0uchpods
Posts: 1999
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.

Re: New Boeing 737-800

Postby it0uchpods » Mon Jun 19, 2017 1:04 am

@KL-666

Can you try the YV3399 version? I've managed to return Soitanen's Flight Controls while keeping the other corrections :)

Kind Regards,
Josh
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar

KL-666
Posts: 1566
Joined: Mon Sep 28, 2015 8:42 am

Re: New Boeing 737-800

Postby KL-666 » Thu Jul 13, 2017 5:11 pm

I downloaded the master from https://github.com/YV3399/737-800.

It has a very odd cockpit, like that the pfd is very basic. Also del does not invoke reversers. Is that the correct one to try?

Kind regards, Vincent

User avatar
it0uchpods
Posts: 1999
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.

Re: New Boeing 737-800

Postby it0uchpods » Thu Jul 13, 2017 5:45 pm

@KL-666
THAT IS WIERD?????????????????????????????????????????

Make sure you use branch 'gabriel'

Screenshots?

Kind Regards,
Josh
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar

KL-666
Posts: 1566
Joined: Mon Sep 28, 2015 8:42 am

Re: New Boeing 737-800

Postby KL-666 » Thu Jul 13, 2017 7:58 pm

Ok, got me the gabriel branch. Same basic pfd. (Looks like the airbus type, specifically how the VSI moves)

Image

Edit:
What i mean by basic pfd is:
All numbers are missing.
- AP settings above speed strip and alt strip
- Mach number below speed strip
- VS number below VSI indicator
- Flap settings on speed strip (green)
- Trend arrow on speed strip (green)
And maybe i forgot some missing items.

Kind regards, Vincent

User avatar
it0uchpods
Posts: 1999
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.

Re: New Boeing 737-800

Postby it0uchpods » Thu Jul 13, 2017 10:43 pm

Yeah...

That is not the gabriel 737.... this is: http://prntscr.com/fvex2n

WTF????

YOU MUST delete the 737-NG aircraft folder -- that aircraft uses 737-800-set, so do we.

Kind Regards,
Josh
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar

KL-666
Posts: 1566
Joined: Mon Sep 28, 2015 8:42 am

Re: New Boeing 737-800

Postby KL-666 » Thu Jul 13, 2017 11:39 pm

Alright, the pfd is a lot better now. Pretty many conflicts with the 738. I wish everybody used their own name for that plane.

Anyway, not much testing time today anymore. Doing the climb test. Am at fl 580 at the moment. The climb between fl 300 and fl 400 was shockingly high: 3000 ft/min.

Got to do the pitch/power tests another time.

Kind regards, Vincent


Return to “Aircraft Development”

Who is online

Users browsing this forum: No registered users and 1 guest