Menu

#72 AI flights loaded when disabled

Fixed
nobody
2011-06-05
2010-02-13
Anonymous
No

Originally created by: gijsrooy
Originally owned by: gijsrooy

What steps will reproduce the problem?
1. Disable traffic manager (through --prop:sim/traffic-
manager/enabled=false).
2. Set log level to info (--debug=info).
3. Launch FlightGear and watch the console for AI flights being loaded.

What is the expected output? What do you see instead?
I expect FlightGear to not load the AI flights, but apparently it does.
This increases loading-time unneeded/unwanted...

What version of the product are you using? On what operating system?
CVS from 6 february on Win32 Vista.

Discussion

  • Anonymous

    Anonymous - 2010-02-13

    Originally posted by: pedromor...@gmail.com

    (No comment was entered for this change.)

    Labels: -Traffic-Manager Traffic_Manager Durk

     
  • Anonymous

    Anonymous - 2010-02-15

    Originally posted by: vivian.m...@lineone.net

    Durk is looking at various ways to fix this. Expect a solution in due course

    Status: Accepted

     
  • Anonymous

    Anonymous - 2010-02-19

    Originally posted by: durkt...@gmail.com

    I'm currently just figuring out how to use the bug tracking system. Just wondering
    whether there is any *urgent* to address this (i.e. negative symptoms related to
    loading the AI traffic regardless of whether it's running or not. A simple solution
    would be to disable loading at program start, but that will make future
    functionality (GUI-enabled enabling / disabling of AI a lot harder).

     
  • Anonymous

    Anonymous - 2010-02-20

    Originally posted by: vivian.m...@lineone.net

    Isn't the problem wider - protracted loading times? If FG loaded reasonably quickly
    loading/not loading AI traffic wouldn't matter so much. Perhaps one solution might
    be to load AI traffic in a separate thread?

     
  • Anonymous

    Anonymous - 2010-11-24

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Labels: -AI -Traffic_Manager -Durk AITraffic
    Cc: zakalawe

     
  • Anonymous

    Anonymous - 2010-12-02

    Originally posted by: ajtee...@gmail.com

    Aside from the start-up time the log window is cluttered up with messages about duplicate tail numbers, and missing runways.

    This does not help when looking when debugging a new feature or aircraft.

     
  • Anonymous

    Anonymous - 2010-12-02

    Originally posted by: zakalawe@mac.com

    I've done a partial fix for this - to address the concerns about loading performance. If AI or traffic-manager is disabled, we skip the init. If you later enable both AI models and the traffic-manager, the config loading happens at that time. I didn't do the other direction - if you disable AI models or the traffic-manager at runtime, we stop running the schedules, but we should really delete the AI aircraft too.

    Durk, I would need some advice from you on the correct place to do that. Hope this keeps everyone happy!

    http://gitorious.org/fg/flightgear/commit/b9976f7d3422137f505d23724662d3fba6ec7c8c

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre...@gmail.com

    (No comment was entered for this change.)

    Status: Temp

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre...@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB