RPL GUI for visualizing real-time telemetry data. Client side is built using React and Server side is built in Python. The server handles incoming packets from the board and sends it the client via websockets to be displayed in the GUI.
- Clone the repo
gh repo clone Rutgers-RPL/socket-rocket
- Install the required python packages
pip install requirements.txt
- Navigate to the GUI
cd react-gui
- Install the required node packages
npm install i
- Navigate to react-gui
cd react-gui
- Run the following command
npm start dev
- Plug in the board prior to running the server
- Run the following command
python server.py
- The server will prompt you to select the port by inputting the corresponding number
Note: If the board gets disconnected, you must restart the server.
-
Download Maperitive
-
Navigate to Open Street Maps
-
Click "Export" and select "Manually select a different area" on the sidebar on the left.
-
Chose the desired area and click export, which will download a .osm file
Note: Sometimes the area might too large/contain too many objects so you may have to re-size until OSM lets you export it
-
Open Maperitive, navigate to the top bar and click Map > Clear Map. Then navigate to File > Open Map Sources and select the downloaded .osm file.
-
Still in Maperitive, navigate to Tools > Generate Tiles. This will generate tiles and place them in the "Tiles" folder, which is in the same directory as Maperitive.exe
-
Copy-paste the "Tiles" folder (found in the same directory as Maperitive) into react-gui/public
-
To generate new tiles, navigate to Tools > Clear Web Cache to delete the existing tiles or manually delete them from the "Tiles" folder. Then repeat the steps above.
-
Navigate to LAADS NASA
-
Zoom into the desired area
Note: For best results, I suggest searching by Lat, Long by clicking on the marker icon on the left and choosing find location
-
Click capture in the bottom, de-select all check boxes, and download as a GeoTIFF file
-
Then rename the saved .tiff file to 'sattelite.tiff'
Note: Make the sure the spelling is correct. Web frameworks can only read explicit file paths and the saved .tiff file always changes name depending on its location.
-
Copy-paste sattelite.tiff into react-gui/public