Jump to content
Sign in to follow this  
ZKOKQ

AI Aircraft SID and STAR Controller

Recommended Posts

I'm following this development with great interest.  I am a fanatic when it comes to AI, and I had thought that due to FSX limitations this kind of addon would be impossible, but this news has taught me that I should never underestimate the talents of the programmers out there to enhance FSX, no matter how bungled up M$ left the code.

 

I wish you the best of luck!

Share this post


Link to post
Share on other sites

Thank you for the great work!


Nick Hatchel

"Sometimes, flying feels too godlike to be attained by man. Sometimes, the world from above seems too beautiful, too wonderful, too distant for human eyes to see …"
Charles A. Lindbergh, 1953

System: Custom Watercooled--Intel i7-8700k OC: 5.0 Ghz--Gigabyte Z370 Gaming 7--EVGA GTX 1080ti Founders Edition--16GB TridentZ RGB DDR4--240GB SSD--460GB SSD--1TB WD Blue HDD--Windows 10--55" Sony XBR55900E TV--GoFlight VantEdge Yoke--MFG Crosswind Pedals--FSXThrottle Quattro Throttle Quadrant--Thrustmaster Warthog HOTAS--TrackIR 5--VRInsight MCPii Boeing

Share this post


Link to post
Share on other sites

Found a issue with this addon, flying the Airbus extended, departing EGLL, with EGLL ini placed in the root folder as per instructions, and on take off, my plane was put into slew mode, I had to close AI controller to regain control.


System: MSFS2020-Premium Deluxe, ASUS Maximus XI Hero,  Intel i7-8086K o/c to 5.0GHz, Corsair AIO H115i Pro, Lian Li PC-O11D XL,MSI RTX 3080 SUPRIM 12Gb, Samsung 970 EVO M.2 SSD, 1Tb Samsung 860 EVO SSD, 32Gb Corsair Vengeance DDR4 3200Mhz RAM, Corsair R1000X Gold PSU,Win 11 ,LG 43UD79 43" 4K IPS Panel., Airbus TCA Full Kit, Stream Deck XL.

 

Share this post


Link to post
Share on other sites

Found a issue with this addon, flying the Airbus extended, departing EGLL, with EGLL ini placed in the root folder as per instructions, and on take off, my plane was put into slew mode, I had to close AI controller to regain control.

 

Weird, my program should only see FSX controlled AI objects.  Specifically, the program requests data on sim object types (SimConnect_RequestDataOnSimObjectType) that it will control using the SIMCONNECT_SIMOBJECT_TYPE_ALL enumerator, which according to the SDK "Specifies all AI controlled objects."  .

 

Does this happen at all airports monitored by AISIDSTAR?  I hope some system in the Airbus isn't passing itself off as AI, that wouldn't be standard.

 

I can add a check ensure none of the received aircraft object ID(s) corresponds to the user's object ID(s), but that's extra processing overhead for something I shouldn't need to do anyway.  Can you reply to my support email address?  I might send you a special debug version with this extra processing to see if it fixes the problem (it will also be version 1.2).

Share this post


Link to post
Share on other sites

Thanks Roland. Will send you an e-mail shortly. My previous flight using AI controller was with the NGX CYVR to KLAX, and no issues.

This was the first time I used the AXE at Heathrow.

 

E Mail Sent.


System: MSFS2020-Premium Deluxe, ASUS Maximus XI Hero,  Intel i7-8086K o/c to 5.0GHz, Corsair AIO H115i Pro, Lian Li PC-O11D XL,MSI RTX 3080 SUPRIM 12Gb, Samsung 970 EVO M.2 SSD, 1Tb Samsung 860 EVO SSD, 32Gb Corsair Vengeance DDR4 3200Mhz RAM, Corsair R1000X Gold PSU,Win 11 ,LG 43UD79 43" 4K IPS Panel., Airbus TCA Full Kit, Stream Deck XL.

 

Share this post


Link to post
Share on other sites

Weird, my program should only see FSX controlled AI objects.  Specifically, the program requests data on sim object types (SimConnect_RequestDataOnSimObjectType) that it will control using the SIMCONNECT_SIMOBJECT_TYPE_ALL enumerator, which according to the SDK "Specifies all AI controlled objects."

In FSUIPC4 I found i had to include, amongst the data set I am reading for each AI object, the "IS USER SIM" BOOLEAN variable and use that to eliminate the user's aircraft from the FSUIPC traffic tables.

 

I can add a check ensure none of the received aircraft object ID(s) corresponds to the user's object ID(s), but that's extra processing overhead for something I shouldn't need to do anyway.

If you add the IS USER SIM variable to the data you have SimConnect posting to you, then this shouldn't be any noticeable overhead.

 

Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites

Excellent, thanks for drawing upon your experience and passing along this tip!  Yes, I can use that variable to simply avoid processing any user loaded aircraft that sneaks into the data posted to my program. 

 

In FSUIPC4 I found i had to include, amongst the data set I am reading for each AI object, the "IS USER SIM" BOOLEAN variable and use that to eliminate the user's aircraft from the FSUIPC traffic tables.
 

If you add the IS USER SIM variable to the data you have SimConnect posting to you, then this shouldn't be any noticeable overhead.

Regards
Pete

Share this post


Link to post
Share on other sites

How's the progress? I'm waiting to use this program because there's only 4 airports to choose from. Waiting for the scan all aiports features.

Share this post


Link to post
Share on other sites

It is going well, I just added automatic selection of any STARs that specify the same runways as the landing runways currently in use.  I'm debugging this new feature, so I'm not sure how well it will work yet.  I was hesitant to add the feature because it would delay the new version, but I received several emails asking for it.  There are so many more potential STARs to deal with in the new version that a better way to select them could be very helpful too.

 

How's the progress? I'm waiting to use this program because there's only 4 airports to choose from. Waiting for the scan all aiports features.

Share this post


Link to post
Share on other sites
Ver 1.2 is just about ready to go, thanks to the guys for alpha testing it.

 

I'm making the beta version available to everyone because I'm unavailable next week and I don't want to hold up the release of what may be a servicable version.

 


 


As discussed, the new version simultaneously monitors multiple airports (e.g., can monitor regions or countries) and includes a conversion utility to support standard SID/STAR formats.  Also new for ver 1.2, automatic selection of STAR corresponding to the runway currently in use by the AI aircraft at the monitored airport.

 

Make sure to completely delete your old version.  Please remember this is a (advanced) beta version, so you may very well meet with frustration.  Please send me an email regarding any bugs, crashes, etc at the contact address in the readme.  Be sure to describe what phase of the flight you were in and include the AISIDSTAR.ini file.

Hopefully in a week or so I can upload the final version to the AVSIM library.

Share this post


Link to post
Share on other sites

Deleted

 

Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites

Does this work with the default ATC? I've been beating myself up trying to get this going but it crashes each time i start it. I'm running a single PC (no network) and have the simconnect as required. If I'm missing something i'd sure like to know. This is sounds like a great add on! 

Share this post


Link to post
Share on other sites

Yes, it should work with default ATC.  Does it crash when you start the program?  If so, does the OS say anything about a "side by side" error?  If it is crashing later, do you see the "Connected to Flight Simulator" message in the AISIDSTAR output console window before the crash?

 

-Roland

 

Does this work with the default ATC? I've been beating myself up trying to get this going but it crashes each time i start it. I'm running a single PC (no network) and have the simconnect as required. If I'm missing something i'd sure like to know. This is sounds like a great add on! 

Share this post


Link to post
Share on other sites

Yes, but it will run a long time and create a lot of files.

 

(1) copy aiconv.exe into a temp directory (c:\temp)

(2) copy your SIDSTARS subdirectory to a temp directory (c:\temp\sidstars).

(3) make another new subdirectory under temp called converted (c:\temp\converted).

(4) start a command line and change to the temp directory.

(5) enter the command:  aiconv   .\sidstars\*.*   .\converted

(6) answer the series of questions aiconv.exe asks you.

(7) you will probably need to get some coffee while waiting for the program to finish.

(8) pick out the files from the converted directory you want to use (they begin with the icao).

(9) put them into an AISIDSTAR working subdirectory (e.g., c:\aisidstar12\all us airports).    

(10) create an AIDISTAR.ini file to point to the new working subdirectory (e.g., STAR=.\all us airports\*.* SID=.\all us airports\*.*).

 

Regards,

-Roland

 

 

 

I can't understand AT ALL how to use the aiconv.exe. Reading through the documentation just shows the format that needs to be present for aiconv.exe to find the files and convert. When I open it up it just tells me what is listed in the documentation and then tells me to press any key to continue where it disappears and nothing happens.

 

I want to convert all of the SIDS and STARS listed in C:\Microsoft Flight Simulator X\PMDG\SIDSTARS so I can have it utilize all airports in US. How would I do that?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...