Board index FlightGear Development AI Traffic

Change Groundnet/AI traffic recognition/Restart FG  Topic is solved

Intelligent, computer controlled vehicles that drive/fly over the planet!

Change Groundnet/AI traffic recognition/Restart FG  

Postby powoflight » Thu Jun 25, 2020 6:58 am

Hi All,

If I change something in the Groundnet with FGA or Taxidraw I have to restart FG completely that AI traffic recognize the changes.
It takes long time and is annoying if I develop a Groundnet.

E.g. for changes in the Scenery i need only to use File-Reset in FG but this does not work for AI and Groundnet.

I am not sure since AI traffic, as far as I know, is programmed in C and scans the Groudnet when FG is started.

Anyway, is there a solution or a hack for this "Problem"?
powoflight
 
Posts: 212
Joined: Fri Mar 25, 2016 11:04 am
Location: LOWW
Callsign: OE-POW
Version: 2020.4
OS: win7 Ubuntu 18.04

Re: Change Groundnet/AI traffic recognition/Restart FG

Postby BecOzIcan » Thu Jun 25, 2020 12:51 pm

This is the normal process. Yes you need to restart FG so your changes are read and taken in account.

Cheers
Ian
Current Projects: AI Traffic, Models & Liveries
User avatar
BecOzIcan
 
Posts: 1302
Joined: Tue Oct 04, 2011 11:43 pm
Location: Sydney, NSW, Australia
Version: 2020.4.0
OS: Win10

Re: Change Groundnet/AI traffic recognition/Restart FG

Postby Hooray » Fri Jul 03, 2020 4:47 pm

Depending on the subsystems involved, you could try re-initializing the subsystem at run-time.

http://wiki.flightgear.org/Howto:Create ... s_on.2Foff
http://wiki.flightgear.org/Howto:Reset/ ... leshooting

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


Return to AI Traffic

Who is online

Users browsing this forum: No registered users and 4 guests