Board index FlightGear Development

new feature : ATC assistance to reach closest airport

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

new feature : ATC assistance to reach closest airport

Postby hardba11 » Tue Apr 24, 2018 8:30 pm

hello everybody !

I began to develop and test a new feature : "ATC assistance to reach closest airport".

purpose
The purpose of the feature is to be guided to the final leg of an airport only by ATC messages (without navigation instruments).
- it can help pilots to improve their skills
- it can help beginners to reach an airport without learning radio-navigation instruments
- it can be challenging for all to try to observe atc messages ( without autopilot ;) )

need help
- I wish to know your opinion about this feature
- I am not sure about the phraseologie and speeds, altitudes I chosen, could somebody test and help ?
- how could the nasal script be improved and reused for other aircrafts, is somebody interrested ?

screenshots

Image
Image
Image

how to test ?
- dowload the last version of brsq : https://github.com/hardba11/bourrasque
- takeoff and fly where you want
- enable assistance (screenshot)
- let yourself be guided by atc messages
Image

how to understand script ?
the script is here : https://github.com/hardba11/bourrasque/blob/master/tools/assistance_to_closest_airport/assistance.nas
sorry, comments are in french :/

- zones are defined by lat and lng
- for each zone, heading, speed etc are defined
- the script does some transformations (rotation and translation) to places the aircraft in a zone
- atc messages are created depending on zone

an image to help :
Image


thanks !

Nico
contribs: mirage2000-5, statics models, LFRV - WIP: new aircraft, TFFJ - hobby: world tour in flightgear
hardba11
 
Posts: 156
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.2.3
OS: windows and debian

Re: new feature : ATC assistance to reach closest airport

Postby Necolatis » Wed Apr 25, 2018 1:31 am

Thats very cool :)
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1872
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.2.2
OS: Windows 10 Pro

Re: new feature : ATC assistance to reach closest airport

Postby legoboyvdlp » Wed Apr 25, 2018 11:57 pm

Round the altitude, 1796 feet is too precise for many of us :D

Nice feature!
User avatar
legoboyvdlp
 
Posts: 5832
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Thu Apr 26, 2018 10:55 am

Thanks Necolatis and legoboyvdlp

I improved the feature (not yet pushed in git)
- altitudes rounded ;)
- some bug fixed
- improved messages : announce runway name, announce leg
- stop assistance when landed

I continue working on the alignment on the runway on final leg.
Not easy to be as precise as an ILS ! :D

see ya

nico
contribs: mirage2000-5, statics models, LFRV - WIP: new aircraft, TFFJ - hobby: world tour in flightgear
hardba11
 
Posts: 156
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.2.3
OS: windows and debian

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Thu Apr 26, 2018 11:42 am

updated

https://github.com/hardba11/bourrasque/ ... stance.nas

- I added a readme text
- I improved alignement on runway (using lat and lng of the runway)
- other improved : see the post above

todo
- improve altitude stuff
- improve precise alignement on runway

seeya
Nico
contribs: mirage2000-5, statics models, LFRV - WIP: new aircraft, TFFJ - hobby: world tour in flightgear
hardba11
 
Posts: 156
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.2.3
OS: windows and debian

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Fri Apr 27, 2018 2:23 pm

hello

I refactor the script and tested it on some airports.
and I modified some zone coordinates

Image

todo (help needed)
- do correct atc messages (phraseology)
- improve altitude stuff (which property should I use, how to manage inhg error altimeter, what to do with mountains :D )
- include and adapt for some aircrafts (mirage 2000-5, viggen ?, dhc6 ?)
seeya

nico
contribs: mirage2000-5, statics models, LFRV - WIP: new aircraft, TFFJ - hobby: world tour in flightgear
hardba11
 
Posts: 156
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.2.3
OS: windows and debian


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests