Aloha GMAT Team, I have updates for the problem that I have described in the previous post that might narrow down the root causes.
I have noticed that if I define a sensor in the editor and 1. I declare it as an Imager, then all the source lines below Create Imager wfovImager; are deleted when I save the script from the GUI. 2. I declare it as an Antenna, then only the source line below Create Antenna wfovImager; is deleted when I save the script from the GUI. Thank you and best regards, BU -----Original Message----- From: Bogdan Udrea <bogdan.ud...@vissidus.com> Sent: Friday, July 28, 2023 07:22 To: gmat-users@lists.sourceforge.net Subject: [Gmat-users] Question about Imager vs Antenna hardware resources Aloha GMAT Team, I am working on the (re)design Active Debris Removal in GMAT. I have described the ADR mission, designed with STK, in Udrea, B. and M. Nayak. A Cooperative Multi-Satellite Mission for Controlled Active Debris Removal from Low Earth Orbit. in 2015 IEEE Aerospace Conference. 2015. Big Sky, MT. I am displaying the relative trajectory between a Servicer Space Vehicle (SSV) and the Client Space Vehicle (CSV) in the CSV LVLH reference frame in the Open Framework Interface (OFI) viewer. I have set up a script to display the mask of an imaging sensor on the servicer in the OFI viewer as well. I believe I have found an inconsistency between Imager and Antenna resources. If I declare the imaging sensor as an Imager, it is displayed the Hardware branch of the Resource tree. The result of Show Script is: %---------------------------------------- %---------- Hardware Components %---------------------------------------- % BUG? % Wide Field of View (WFoV) imager should be declared % as an Antenna instead of Imager to avoid an % inconsistency between the GUI and script modes % Create Antenna wfovImager; Create Imager wfovImager; However, if I declare the imaging sensor as an Antenna, it doesn't show up in the Hardware branch. This is consistent with the Ex_R2020_OF_FielfOfView.script from \samples. I have observed the following: if I modify the script from the GUI with the imaging sensor declared as an Imager, change the script from the GMAT GUI, and save, the script lines that define the Direction, SecondDirection, and HWOriginInBCS of the wfovImager are not written to the script. If I declare the imaging sensor as an Antenna and change the script from the GUI, the wfovImager lines are written to the script. As I am new to GMAT and the GUI-script duality I am not sure this is desired behavior or an inconsistency. Can you please help me? Regards, Bogdan _______________________________________________ GMAT-users mailing list GMAT-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gmat-users _______________________________________________ GMAT-users mailing list GMAT-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gmat-users