kshiteej mahajan. gcs software responsible for: – receiving data from the cansat at ground station...
TRANSCRIPT
![Page 1: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/1.jpg)
Ground Control Station Software
KSHITEEJ MAHAJAN
![Page 2: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/2.jpg)
PURPOSE OF GCS SOFTWARE
• GCS Software responsible for:– Receiving Data from the CanSat at Ground Station
in real time– Storing the received raw data– Processing this raw data in real time to show
meaningful data in presentable manner via graphs or map plots
![Page 3: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/3.jpg)
VARIOUS COMPONENTS OF GCS SOFTWARE
Receiving Antenna connected via USB port to your GCS PC/Laptop
Storing the received raw
data
Processing this raw data in real time to get real time graphs
![Page 4: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/4.jpg)
GCS SOFTWARE WORKSHOP
• We will learn to create a system that will cater to all roles required of GCS software
• This will be a really simple module and you can improvise on this or take a different approach for designing your own for the competition
• The language we will be using for the workshop: Java
![Page 5: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/5.jpg)
1: PORTING DATA FROM USB TO A FILE
• We need to interact with the USB port from within the Java program
• We use the javaxcomm library for this. You can get it at: http://llk.media.mit.edu/projects/picdev/software/javaxcomm.zip
• Let’s see how to use this library
![Page 6: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/6.jpg)
1: PORTING DATA FROM USB TO A FILE
• Configuration steps once you download javaxcomm:• comm.jar should be placed in:
%JAVA_HOME%/lib%JAVA_HOME%/jre/lib/ext
• win32com.dll should be placed in:%JAVA_HOME%/bin%JAVA_HOME%/jre/bin%windir%System32
• javax.comm.properties should be placed in:%JAVA_HOME%/lib%JAVA_HOME%/jre/lib
![Page 7: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/7.jpg)
1: PORTING DATA FROM USB TO A FILE
• Let’s see a sample program
![Page 8: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/8.jpg)
2: PROCESSING & PLOTTING DATA
• For real time plotting of data you can use an open source library. For java an example open source library is LiveGraph. It is available for download at: http://www.live-graph.org/download.html
• Let’s see the nature of data and it’s plot in live graph application
![Page 9: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/9.jpg)
3: TRAJECTORY PLOTTING IN GOOGLE EARTH
• GPS data can be viewed in Google Earth• For this we need to create an appropriate KML
file• Just like HTML file is to a browser, KML file is
to Google Earth application• Let’s see a typical KML file• We have to auto-generate this KML file from
the GPS data
![Page 10: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/10.jpg)
CHOICE OF PLATFORM
• Here we have outlined a simplistic Java based application for GCS software
• You are welcome to not use this and use other libraries in other programming languages. You can also use MATLAB for reading data from USB port and designing a UI for plotting the same in Matlab
![Page 11: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/11.jpg)
REAL WORLD PROBLEMS
• The raw data we get from the CanSat may have errors as loss of data or the data being incorrect due to wireless mode of transfer from the CanSat to the GCS
• A real world ground station software needs to take care of these
![Page 12: KSHITEEJ MAHAJAN. GCS Software responsible for: – Receiving Data from the CanSat at Ground Station in real time – Storing the received raw data – Processing](https://reader035.vdocuments.us/reader035/viewer/2022062517/56649e935503460f94b98b0a/html5/thumbnails/12.jpg)
THANK YOU !