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 9: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: 166
Joined: Tue May 27, 2014 6: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 2: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: 2232
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: new feature : ATC assistance to reach closest airport

Postby legoboyvdlp » Thu Apr 26, 2018 12:57 am

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

Nice feature!
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: new feature : ATC assistance to reach closest airport

Postby hardba11 » Thu Apr 26, 2018 11: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: 166
Joined: Tue May 27, 2014 6: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 12:42 pm

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: 166
Joined: Tue May 27, 2014 6: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 3: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: 166
Joined: Tue May 27, 2014 6: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 5: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 4:19 pm

Re: new feature : ATC assistance to reach closest airport

Postby RobAndrew » Thu Nov 28, 2019 10: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: 137
Joined: Thu Jul 12, 2018 5:59 pm
Version: 2020.
OS: Windows 10

Re: new feature : ATC assistance to reach closest airport

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

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

Re: new feature : ATC assistance to reach closest airport

Postby Hooray » Sat Nov 30, 2019 10: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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: new feature : ATC assistance to reach closest airport

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

SPHINX wrote in Thu Nov 28, 2019 5: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 10:09 pm:A thumbs up from me, keep at it!

Thanks for your encouragements :)

SPHINX wrote in Thu Nov 28, 2019 5: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 5: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 10: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 10: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: 166
Joined: Tue May 27, 2014 6: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 6: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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: new feature : ATC assistance to reach closest airport

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

thanks, I will contact rliebner ;)
salut !
contribs: mirage2000-5, statics models - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 166
Joined: Tue May 27, 2014 6: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 10: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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: new feature : ATC assistance to reach closest airport

Postby rleibner » Wed Jun 03, 2020 10:53 pm

Hi Nico!
It is a pity that I have not seen your posts until now :oops:
As I understand, your idea has 2 different phases:
    1.- Requesting for a vector to the nearest airport.
    2.- Contacting ATC of that airport and request instructions for a proper landing pattern.

1. This facility may be easily added to the existing SpokenATC addon.
In fact, I have a beta version that can share with you and with other volunteer testers.

2. as Hooray mentioned, I think that the PAR addon is already doing just that.

Nico, let me be clear, I don't want to discourage you but just the opposite: It would be nice if we both work together.
Both in this project and in others, I am at your disposal for the help that is necessary.
We also have an additional advantage: I think we are both Spanish-speaking, so we can easily understand each other in private messages. (if not, I also speak French :) )
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest