Board index FlightGear Development Aircraft

Checking aircraft position

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

Checking aircraft position

Postby CaptB » Tue Feb 07, 2017 11:45 am

Hello,

I could not find a property that could help me check the aircraft's position relative to the ground network (on TWY check) Is there anything that could help?

Thanks
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Checking aircraft position

Postby Octal450 » Tue Feb 07, 2017 1:20 pm

What do you mean by "ground network"?
Waste of time. Goodbye forever.
Octal450
 
Posts: 4398
Joined: Tue Oct 06, 2015 12:51 pm

Re: Checking aircraft position

Postby CaptB » Tue Feb 07, 2017 1:29 pm

I mean the AI ground networks, groundnet, created with WED. I am looking at how feasable a RAAS system is.
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Checking aircraft position

Postby zakalawe » Tue Feb 07, 2017 1:49 pm

in C++ we have APis to find the nearest groundnet node, and probably, segment. That layer is not exposed to Nasal right now, but it could be used by a C++ instrument.
zakalawe
 
Posts: 1152
Joined: Sat Jul 19, 2008 4:48 pm
Location: Edinburgh, Scotland
Callsign: G-ZKLW
Version: next
OS: Mac

Re: Checking aircraft position

Postby CaptB » Tue Feb 07, 2017 2:04 pm

@zakalawe

Ok thanks, I don't have enough free time to dive into the codebase so I'll have to find another way to see if the aircraft might be on a TWY.
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Checking aircraft position

Postby zakalawe » Wed Feb 08, 2017 1:29 pm

Well, it's not so much trouble for me to add a Nasal API for this, if you write up what you would like. The only problem is it's not going to give useful answers when the airport is missing a ground-network.
zakalawe
 
Posts: 1152
Joined: Sat Jul 19, 2008 4:48 pm
Location: Edinburgh, Scotland
Callsign: G-ZKLW
Version: next
OS: Mac

Re: Checking aircraft position

Postby CaptB » Wed Feb 08, 2017 5:56 pm

@zakalawe

If it's not be too much trouble for you, it would be great and it would save some us unprecise guesswork with nasal, a simple boolean value would be sufficient. Also an on runway property would be helpful if it is also something you can provide easily.

Thank you for taking interest.
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Checking aircraft position

Postby zakalawe » Thu Feb 09, 2017 10:08 am

CaptB wrote in Wed Feb 08, 2017 5:56 pm:it would save some us unprecise guesswork with nasal, a simple boolean value would be sufficient. Also an on runway property would be helpful

Those are both fine I think, I can't do them in time for the upcoming 2017.1 release but soon after, I'll post when they are available for testing.

Only consideration is the tolerance used, i.e what deviation from the centreline is permitted. I will by default use the runway / taxiway width, is that reasonable?
zakalawe
 
Posts: 1152
Joined: Sat Jul 19, 2008 4:48 pm
Location: Edinburgh, Scotland
Callsign: G-ZKLW
Version: next
OS: Mac

Re: Checking aircraft position

Postby CaptB » Thu Feb 09, 2017 2:06 pm

zakalawe wrote in Thu Feb 09, 2017 10:08 am: Only consideration is the tolerance used, i.e what deviation from the centreline is permitted. I will by default use the runway / taxiway width, is that reasonable?


Yes that's absolutely reasonable, thank you.
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Checking aircraft position

Postby CaptB » Wed Aug 09, 2017 2:38 pm

Any word on the discussed properties?
CaptB
 
Posts: 539
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 5 guests