CarletonURocketry / ground-station

The ground station software used to interface with the ground station LoRa board and distribute signals from the rocket across websocket connections.
https://carletonurocketry.github.io/ground-station/
MIT License
7 stars 6 forks source link

Ensure rocket artwork is printed first #62

Closed TASelwyn closed 7 months ago

TASelwyn commented 7 months ago

I noticed that sometimes when starting the ground station, the logging messages will print before the startup artwork. It seems to happen once every ten times or so, this commit resolves that.


C:\Users\Thomas\PycharmProjects\ground-station\venv\Scripts\python.exe C:\Users\Thomas\PycharmProjects\ground-station\main.py 
INFO:__main__:Serial.......... started.
INFO:__main__:Telemetry....... started.
INFO:__main__:WebSocket....... started.
INFO:__main__:Websocket listening on port 33845

    *      ^
          / \                                   *
         /___\              *                          
        |=   =|             
        |     |                           Matteo Golin         *
        | C U |             
        | I N |             
        |SPACE|             
   *    |     |            Samuel Dewan   *
        |     |             
       /|##!##|\                                      *
      / |##!##| \           
     /  |##!##|  \                               Thomas Selwyn 
    |  / ^ | ^ \  |         *              *
    | /  ( | )  \ |         
    |/   ( | )   \|                                 *
        ((   ))
       ((  :  ))      *     CUInSpace Avionics Telemetry Server
       ((  :  ))            Launching: No Name (Gas Propelled Launching Device)
        ((   ))             Version: 0.5.1-DEV
          ( )               Today: 07 February, 2024                *

INFO:tornado.access:101 GET /websocket (127.0.0.1) 0.00ms
INFO:modules.websocket.websocket:Client connected