Radar-Like GPS-Tracked-Objects Visualization
-
Hey there,
I'm pretty new to Qt but I have a lot experience with C++.
Currently I'm working on a project at which I have to develop a Qt-GUI which runs on a Raspberry Pi. (Bachelor's Project)The system should visualize the GPS-coordinates of radio-network members in the nearer environment.
I'm really don't know where to start. Actually I started by setting up an cross-compiling envirnoment for the Raspberry Pi on Linux Ubuntu 14.04.
Now I'm thinking about the visualization. I get the data of the GPS (the raspberry has GPS too) and should draw the points around me on a radar-like screen like this:
Many thanks in advance for your help!
(I hope I've choosen the right section.)Greets,
Phil -
If you create a QWidgets based application then you have to implement your own radar widget. The "analog clock example":http://doc.qt.io/qt-5/qtwidgets-widgets-analogclock-example.html should do as starting point.
-
I actually wrote a similar maritime oriented application years ago using VisualBasic. I chose to use an outline map instead of a radar screen. I included major geographical features such as rivers and coastlines. Sorry, but I do not remember where I got the map data.
GPS data is encoded using NMEA protcols. NMEA 0183 was the applicable standard back then. I'm not up to date on what is current, but there is plenty of data on the web. "This site ":http://www.aprs.org/ should provide you with a lot of useful information.
You will need to get the data into the box somehow. I used a serial cable and an RS-232 port. No doubt you will proceed somewhat differently. To be useful, your application should track GPS equipped objects (think vehicles, plane, and boats) that transmit their coordinates via radio. The APRS site should help with that.
Good luck. I had fun doing it. I hope you do too.
-
Thank you very much for your replies Wieland and SplitRail.
You helped me a lot! (: