varenius / salsa

Code developed for the 2.3m radio telescopes SALSA in Onsala, Sweden
MIT License
16 stars 6 forks source link

GNSS module for SALSA #39

Closed grzeskokbol closed 6 years ago

grzeskokbol commented 7 years ago

The following code supports GNSS satellite tracking with SALSA. Currently it includes GPS, GALILEO, GLONASS and BEIDOU constellations. SALSA's GUI has been also extended with a GNSS Azimuth-Elevation Window, in which one can see positions of satellites over the local horizon. In addition, a window asking for confirmation pops up whenever a user wants to quit the program.

Ydmir commented 6 years ago

Suggestion: add scientific satellites to the tracking: https://celestrak.com/NORAD/elements/science.txt

varenius commented 6 years ago

I looked through it and found no obvious fails, just a few paths that may need updating and some minor code style things, so I merged the pull request and set out to test it in practice. I did a "git pull" on vale and tried to run "main.py". I got

Traceback (most recent call last): File "./main.py", line 1027, in main()
File "./main.py", line 1022, in main window = main_window() File "./main.py", line 71, in init self.init_Ui() File "./main.py", line 121, in init_Ui self.GNSS_GUI_visible(False) File "./main.py", line 251, in GNSS_GUI_visible self.GNSSselector.setVisible(False) AttributeError: 'main_window' object has no attribute 'GNSSselector'

I cannot se the GNSSselector defined anywhere. I guess this is defined in an UI-file which you forgot to include? Note that I have designed the SALSA-UI with the qt-designer tool. Did you forget to add your revised SALSA_UI.ui-file including the GNSsselector?