Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5509

GMAT startup file is missing BODY_MODEL_PATH

    Details

      Description

      When running GMAT R2015a, the log file reports this message every time (Windows, Linux, Mac – all platforms!) during initialization:

      BODY_MODEL_PATH directory not specified in gmat_startup_fileModerator is creating core engine...
      

      For users running from a terminal – the recommended approach on Mac and Linux – this message is also displayed in their terminal window, and is a bit annoying.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            shughes Steven Hughes added a comment -

            Add BODY_MODEL_PATH to the startup file.

            Show
            shughes Steven Hughes added a comment - Add BODY_MODEL_PATH to the startup file.
            Hide
            shughes Steven Hughes added a comment -

            P1 cause easy.

            Show
            shughes Steven Hughes added a comment - P1 cause easy.
            Hide
            tgrubb Thomas Grubb added a comment -

            So, there is already a BODY_3D_MODEL_PATH in gmat_startup_file. However, that is NOT what the code looks for. It looks for BODY_MODEL_PATH, which actually doesn't look like it is used anywhere. Because the BODY_MODEL_PATH points to a non-existent directory: DATA_PATH/graphics/models/

            What is the resolution?

            Show
            tgrubb Thomas Grubb added a comment - So, there is already a BODY_3D_MODEL_PATH in gmat_startup_file. However, that is NOT what the code looks for. It looks for BODY_MODEL_PATH, which actually doesn't look like it is used anywhere. Because the BODY_MODEL_PATH points to a non-existent directory: DATA_PATH/graphics/models/ What is the resolution?
            Hide
            gmatloj Linda Jun added a comment -

            It looks like FileManager uses BODY_3D_MODEL_PATH for celestial body models and it is already in the startup file.
            BODY_3D_MODEL_PATH = DATA_PATH/graphics/models/

            But somehow /models folder got deleted that needed to be added back. I'll add back /models folder with some sample body model.

            Show
            gmatloj Linda Jun added a comment - It looks like FileManager uses BODY_3D_MODEL_PATH for celestial body models and it is already in the startup file. BODY_3D_MODEL_PATH = DATA_PATH/graphics/models/ But somehow /models folder got deleted that needed to be added back. I'll add back /models folder with some sample body model.
            Hide
            tgrubb Thomas Grubb added a comment -

            Also fixed a constant in FileManager.cpp. With Linda's change and this, I don't see the error in GMAT Console.

            Show
            tgrubb Thomas Grubb added a comment - Also fixed a constant in FileManager.cpp. With Linda's change and this, I don't see the error in GMAT Console.
            Hide
            tgrubb Thomas Grubb added a comment -

            Please verify in Linux

            Show
            tgrubb Thomas Grubb added a comment - Please verify in Linux
            Hide
            djcinsb Darrel Conway added a comment -

            Yep, it's there now!

            Show
            djcinsb Darrel Conway added a comment - Yep, it's there now!

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: