Search found 9 matches: NDSourceDriver

Return to advanced search

Re: Canvas ND on another aircraft than Boeing and Airbus

... equivalent. That is one of the primary reasons why these properties are encapsulated in a so called "driver hash" (see the NDSourceDriver logic and related comments). In general, none of the layers can make any assumptions about these properties, because they are designed ...
by Hooray
Sun Nov 13, 2016 12:07 pm
 
Forum: Canvas
Topic: Canvas ND on another aircraft than Boeing and Airbus
Replies: 87
Views: 13232

Re: Dual control for Boeing 777

... to some FDM specific properties, so you need to review if there are implicit property dependencies and override/re-implement those using the NDSourceDriver method (or something similar). Equally, if you are referring to the main aircraft view and the copilot's ND, you would need to use a ...
by Hooray
Sun Apr 17, 2016 8:44 am
 
Forum: Aircraft
Topic: Dual control for Boeing 777
Replies: 96
Views: 16996

Re: Dual control for Boeing 777

... works to show maps/ND for arbitrary AI/MP aircraft. If not, some of the getprop() stuff needs to be fixed up to use the methods (getters) in the NDSourceDriver hash, which is where all the aircraft specific stuff should be encapsulated (hidden). This is intended to help re-implement functionality ...
by Hooray
Sat Mar 26, 2016 8:27 pm
 
Forum: Aircraft
Topic: Dual control for Boeing 777
Replies: 96
Views: 16996

Re: Dual control for Boeing 777

... your MP property tree. For some more background info, see: http://forum.flightgear.org/search.php?st=0&sk=t&sd=d&sr=posts&keywords=NDSourceDriver But to be perfectly honest, I my suggestion would be to get in touch with artix and send him a heads-up regarding your project, artix ...
by Hooray
Sat Mar 26, 2016 8:14 pm
 
Forum: Aircraft
Topic: Dual control for Boeing 777
Replies: 96
Views: 16996

Re: Multiple Flight Plans

... the concept of "driver hashes" in quite a few places, without any code reuse at all. i.e. we have an aircraftpos.controller, and an NDSourceDriver hash and a few other hashes encapsulating aircraft specific stuff. Ideally, such things should be encapsulated in a single place - so ...
by Hooray
Fri Feb 27, 2015 5:56 pm
 
Forum: Canvas
Topic: Multiple Flight Plans
Replies: 5
Views: 2414

Re: Airbus Navigation Display

... implemented this, Philosopher and I didn't communicate very much, so we implemented similar functionality using different methods. The whole "NDSourceDriver" logic is basically an ugly workaround trying to accomplish the same thing. Philosopher's method is better/more elegant, but currently ...
by Hooray
Mon Jan 05, 2015 2:51 pm
 
Forum: Canvas
Topic: Airbus Navigation Display
Replies: 47
Views: 13321

Re: A330-200 with Canvas and other features

... in $FG_ROOT/gui/dialogs) ⋅  styling (custom colors, fonts, symbols etc) ⋅  different position sources (aircraftpos.controller/NDSourceDriver) None of this is rocket science or even very difficult - these are fairly basic things, but most people fail to keep all of them in mind, ...
by Hooray
Mon Aug 11, 2014 12:46 pm
 
Forum: Cockpit development
Topic: A330-200 with Canvas and other features
Replies: 374
Views: 51684

Re: A330-200 with Canvas and other features

... differing implementations at the MapStructure level - we're already duplicating this functionality in several places, including the whole "NDSourceDriver" mess that should normally also be a part of this module.
by Hooray
Mon Aug 11, 2014 5:30 am
 
Forum: Cockpit development
Topic: A330-200 with Canvas and other features
Replies: 374
Views: 51684

Re: NavDisplay & MapStructure discussion (previously via PM)

... isn't widely used yet - but we did establish the infrastructure for this. You must be aware of it, because you kept maintaining and fixing the NDSourceDriver logic that encapsulates properties for AI traffic. The same method can be found in aircraftpos.controller to hide aircraft specifics ...
by Hooray
Tue Jul 08, 2014 7:59 pm
 
Forum: Canvas
Topic: NavDisplay & MapStructure discussion (previously via PM)
Replies: 224
Views: 44094

Return to advanced search