Board index FlightGear Development Aircraft

Dual control for Boeing 777

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Dual control for Boeing 777

Postby Hyde » Thu Mar 03, 2016 9:48 pm

Hello all,

I've just started to implement Dual control for 777.
I've pushed the first development to
https://gitlab.com/fg777_seattle/fg777_seattle/tree/dualctrl

So far just see the view each other like
Image

If you have knowledge or how to fix, please help.

Thanks,
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Dual control for Boeing 777

Postby biloute974 » Fri Mar 04, 2016 11:10 am

Hi,

I can't help you but thanks for this great job :)
Intel I7 7700 - 16Gb DDR4 - Nvidia GTX970 - FG 2017.4.0 from D&C
biloute974
 
Posts: 193
Joined: Mon Feb 23, 2015 9:49 am
Callsign: U974
Version: 2016.1.0
OS: Mint 17.2

Re: Dual control for Boeing 777

Postby Richard » Fri Mar 04, 2016 12:35 pm

Hyde wrote in Thu Mar 03, 2016 9:48 pm:So far just see the view each other as two aircraft


The F-14 and F-15 dual control have a specific version of the aircraft that has no model - instead the MP model of the pilot's aircraft is used with the MP broadcast protocol used to transmit instrument data.

So the second player sits inside the first player's aircraft.

There may be other ways to achieve this; such as having two models but controlling the visibility of the 'other' model - but at some point most of the properties will need to be transmitted over MP to make this in anyway usable (IME).
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: Dual control for Boeing 777

Postby biloute974 » Fri Mar 04, 2016 12:47 pm

Hello,
why not validate the display of the second plane, the co-pilot?
Intel I7 7700 - 16Gb DDR4 - Nvidia GTX970 - FG 2017.4.0 from D&C
biloute974
 
Posts: 193
Joined: Mon Feb 23, 2015 9:49 am
Callsign: U974
Version: 2016.1.0
OS: Mint 17.2

Re: Dual control for Boeing 777

Postby Hooray » Fri Mar 04, 2016 2:12 pm

I agree with Richard, it would make sense to use "channels" for propagating certain data selectively, e.g. /velocities, /orientation, /position and various /instrumentation related properties.

AndersG's mp_broadcast module can be "abused" for this kind of thing (see wildfire.nas)

Ideally, this would be based on a publish/subscribe mechanism, i.e. using a MPI-like infrastructure/protocol: https://en.wikipedia.org/wiki/Publish%E ... be_pattern
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Dual control for Boeing 777

Postby Hyde » Sat Mar 05, 2016 7:36 pm

That was my mistake.
Now only one model and Pilot can recognize the Copilot but Copilot can't get pilot yet.

What is the best reference aircraft for dual control?
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Dual control for Boeing 777

Postby Johan G » Sat Mar 05, 2016 7:50 pm

From what I have read on the forums the PAF C-47 (i.e. by the French FlightGear community) have outstanding dual control capabilities.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Dual control for Boeing 777

Postby Hyde » Sat Mar 05, 2016 8:24 pm

Thank you, Johan G,

It's great but the copilot spawn on the ground as you see.
Image

Is dual control broken on current FG?
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Dual control for Boeing 777

Postby AndersG » Sat Mar 05, 2016 9:23 pm

Hyde wrote in Sat Mar 05, 2016 8:24 pm:Is dual control broken on current FG?


It wasn't when I last tested it, but that was some months ago. I'll see if I can't try it again soon.

[EDIT]I've tried the ZLT-NT dual control now, and it seems to work as expected. (Though, running two
FG processes and windows give rise to rather bad graphics artefacts here, but I think that is a NVIDIA driver issue and
I have had this issue for some time.)[/EDIT]

Currently, my FG/git setup seems broken in some other ways - the view handling in my joystick config
(Saitek Aviator in fgdata) and my aircraft internal walk view (also in fgdata) has broken and for some reason
all untextured materials in my aircraft models appears to come out yellow instead of their assigned material
colour (the latter might be related to an OSG upgrade or switching to the legacy NVIDIA drivers, though).

As the initial author of the DualControl system I'd recommend that you look at the Zeppelin NT (ZLT-NT) as I don't know
what practices the C-47 team has followed. IMO the copilot player should not have any model as his/her position will lag
considerably behind the main aircraft for at least the main aircraft player but possibly also for others observing the two
players.
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2524
Joined: Wed Nov 29, 2006 10:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Dual control for Boeing 777

Postby Hyde » Sun Mar 06, 2016 4:26 pm

@AndersG
Thank you. Now I can see the cockpit and observe the captain's flight.
But all the instruments are blank so far.

How can I see the instruments?
Is idea that using local model and animate by master's data?

And one notice that if Captain enable TFC, co-pilot is displayed as another aircraft on ND,
Can't we disable?

Hyde
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Dual control for Boeing 777

Postby AndersG » Sun Mar 06, 2016 5:12 pm

Hyde wrote in Sun Mar 06, 2016 4:26 pm:@AndersG
How can I see the instruments?
Is idea that using local model and animate by master's data?


No, dual control, as I made it, uses the MP/AI 3d model of the primary pilot on the copilot's side.

That means that the properties driving the instrument animations have to be propagated over MP, either using the normal way with generic MP properties or (for reducing the data rate demand) using dual control components. Some instruments can or have to be run on both sides (e.g. the various radios), then the control inputs are transmitted and applied on both sides and on the copilot's side the outputs have to be routed to the relevant properties to animate the radio in the MP/AI model. The ZLT-NT has several examples of this. Note that the old 2.5d style animated PFD display in front of the left seat in ZLT-NT is not available in the MP/AI model. I don't know if canvas-based instruments are loaded for MP/AI models.
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2524
Joined: Wed Nov 29, 2006 10:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Dual control for Boeing 777

Postby Hyde » Wed Mar 09, 2016 3:25 am

So that means these are the best shot for 777 copilot view, right?
Image
Image
No instrument and no change of overhead panel.
Is there any other way to show them?
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Dual control for Boeing 777

Postby hamzaalloush » Wed Mar 09, 2016 4:31 am

Hi Hyde,

long time no see/hear, great improvements to the plane basically by two man extraordinary people are their skill set.

unfortunately i stepped aside from 777(information gather role), and now members i know operating on more varied airplane, but it was fun while it latest! hope you good luck my friend :)

and sorry for the long hiatus, i hope our discussions in the past was fruitful with regarding to discussions/IRL feedbacks on the systems/avionics display's for operating 777.

:)
Hamza
hamzaalloush
 
Posts: 631
Joined: Sat Oct 26, 2013 10:31 am
OS: Windows 10

Re: Dual control for Boeing 777

Postby AndersG » Wed Mar 09, 2016 9:13 am

Hyde wrote in Wed Mar 09, 2016 3:25 am:So that means these are the best shot for 777 copilot view, right?

No instrument and no change of overhead panel.
Is there any other way to show them?


Showing the flat panel instruments might be outside the current abilities of FG, it is so for 2.5D panels (age-old 2D based instruments mapped to a surface in 3D), but I don't know if canvas-based instruments (of the MP/AI model) can be shown on the copilot's side.

Animating all toggles, buttons and lights for the copilot is simply(!?) the matter of transferring the property values driving these animations from the pilot's side to the copilot and then connecting them to the properties (in the MP/AI model's property tree in /sim/ai/models/multiplayer[X]) that the animations look at.
Transferring input from the copilot back requires some additional work to send it back and merge it with the pilot's input, see e.g. the ZLT-NT radios.

These two things, sending state and merging back copilot input are both demonstrated in the ZLT-NT. I would note, though, that it would be a serious amount of work to do this for something as advanced as an airliner cockpit (however, adding a more convenient and terse API on top of the current mechanism could help somewhat) and that it would be likely to surpass by far the amount of information the MP protocol can carry for one player.
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2524
Joined: Wed Nov 29, 2006 10:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Dual control for Boeing 777

Postby Vladimir Akimov » Wed Mar 09, 2016 11:58 am

Awesome! I must try !
You know me from youtube :)
I'm VladFlyer, take a look :

https://www.youtube.com/channel/UCBOvOg ... yNsYKuAxbw
User avatar
Vladimir Akimov
 
Posts: 630
Joined: Tue Oct 22, 2013 8:05 pm
Callsign: VladFlyer
Version: 3.2.0
OS: Win 8.1

Next

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 11 guests

cron