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 - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: 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
User avatar
Necolatis
 
Posts: 2045
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2019.1.2
OS: Windows 10

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: 7273
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
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 - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: 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 - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: 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 - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: debian

Re: new feature : ATC assistance to reach closest airport

Postby SPHINX » Thu Nov 28, 2019 4:26 pm

Bonjour Hardba11
J’ai découvert récemment votre avion « bourasque » que je trouve Super. J’ai beaucoup de plaisir à voler avec et je tiens à vous remercier et vous féliciter pour la qualité de votre travail.
Est ce un choix de votre part ,mais le gestionnaire de route ne fonctionne pas , de même le glide slope n’est pas intercepté.
Je me suis intéressé au problème et l’ai résolu . Si vous le souhaitez je pourrai vous envoyer le script .
L’assistance ATC est excellente mais par souci de réalisme il faudrait si possible mettre une pause entre les


Hello Hardba11
I recently discovered your "bourasque " plane that I find Super. I have a lot of fun flying with and I want to thank you and congratulate you for the quality of your work.
Is this a choice on your part, but the road manager does not work, so the glide slope is not intercepted.
I became interested in the problem and solved it. If you wish I can send you the script.
The ATC support is excellent but for the sake of realism it would be necessary if possible to put a pause between the messages.
SPHINX
 
Posts: 1
Joined: Thu Nov 28, 2019 3:19 pm

Re: new feature : ATC assistance to reach closest airport

Postby RobAndrew » Thu Nov 28, 2019 9:09 pm

Hi!

This looks really cool! It's a bit like the AI ATC that I believe has been created some time back within the past two years. I use that and although it's not perfect, it works damn well! `Obviously not as good as this in the final leg of the journey. I think if someone were to add both of these together, it could potentially give a real realistic ATC Experience for any airport, something that I think is missing in flightgear. Of course, there are people who ATC Live for certain airports-but not all of them! This may certainly help with that!

A thumbs up from me, keep at it!
RobAndrew
 
Posts: 115
Joined: Thu Jul 12, 2018 4:59 pm
Version: 2017.3.1
OS: Mac OSX 10.11.6

Re: new feature : ATC assistance to reach closest airport

Postby GinGin » Fri Nov 29, 2019 7:16 am

Really nice work, very clean pattern
498 feet, very precise instruction, it is for the Patrouille de France xD
GinGin
 
Posts: 853
Joined: Wed Jul 05, 2017 10:41 am
Location: Paris
Callsign: Gingin

Re: new feature : ATC assistance to reach closest airport

Postby Hooray » Sat Nov 30, 2019 9:08 am

Agreed, this would be best turned into an addon - ideally, the OP should reach out to rleibner, who developed the GCA/PAR addons a while ago:

http://wiki.flightgear.org/Spoken_ATC
http://wiki.flightgear.org/Spoken_GCA
http://wiki.flightgear.org/Howto:Implem ... GCA_system

Image
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: 11437
Joined: Tue Mar 25, 2008 8:40 am

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Tue Dec 03, 2019 10:15 am

SPHINX wrote in Thu Nov 28, 2019 4:26 pm:I recently discovered your "bourasque" plane that I find Super. I have a lot of fun flying with and I want to thank you and congratulate you for the quality of your work.

RobAndrew wrote in Thu Nov 28, 2019 9:09 pm:A thumbs up from me, keep at it!

Thanks for your encouragements :)

SPHINX wrote in Thu Nov 28, 2019 4:26 pm:Is this a choice on your part, but the road manager does not work, so the glide slope is not intercepted.
I became interested in the problem and solved it. If you wish I can send you the script.

not enough time ... I have to prioritize, so it is a kind of choice :D
Yes, you can PM me your script if you wish, thanks a lot !

SPHINX wrote in Thu Nov 28, 2019 4:26 pm:The ATC support is excellent but for the sake of realism it would be necessary if possible to put a pause between the messages.

RobAndrew wrote in Thu Nov 28, 2019 9:09 pm:I think if someone were to add both of these together, it could potentially give a real realistic ATC Experience for any airport, something that I think is missing in flightgear

Hooray wrote in Sat Nov 30, 2019 9:08 am:Agreed, this would be best turned into an addon - ideally, the OP should reach out to rleibner, who developed the GCA/PAR addons a while ago

Thanks for the links Hooray, I didn't know the existence of GCA/PAR.
I have a lot of tasks "work in progress" (brsq, m2000-5 and pipistrel panthera) so it will be difficult to improve this part for the moment.
Once ATC is versionned as addon, it can be improved by any volunteers.
but I don't know how to create an addon, someone does have informations about this ?

regards,
Nico
contribs: mirage2000-5, statics models - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: debian

Re: new feature : ATC assistance to reach closest airport

Postby Hooray » Tue Dec 03, 2019 5:25 pm

See README.addons, the wiki or $FG_ADDON - but again, it would seem to make more sense to get in touch with rleibner, to discuss if he can integrate your work - because he is obviously very familiar with the whole addon stuff
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: 11437
Joined: Tue Mar 25, 2008 8:40 am

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Sat Dec 07, 2019 3:10 pm

thanks, I will contact rliebner ;)
salut !
contribs: mirage2000-5, statics models - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 162
Joined: Tue May 27, 2014 5:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: debian

Re: new feature : ATC assistance to reach closest airport

Postby Hooray » Sat Dec 21, 2019 9:09 am

Here's a list of all addons: https://sourceforge.net/p/flightgear/fg ... nk/Addons/

The boilerplate to create a new addon from scratch can be seen here: https://sourceforge.net/p/flightgear/fg ... /Skeleton/

But again, I believe it would be best to discuss the details with rleibner, because your work is overlapping with his own addons - and it would surely take him a fraction of the time needed to discuss if/how to best integrate things.
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: 11437
Joined: Tue Mar 25, 2008 8:40 am


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest