Results 1 to 4 of 4

Thread: Radar-Like GPS-Tracked-Objects Visualization

  1. #1
    Join Date
    Feb 2015
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Lightbulb 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 environment (QT5) 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:

    droidspirit-gps-tracker_screenshot_1.png.jpg

    Many thanks in advance for your help!
    (I hope I’ve choosen the right section.)

    Greets,
    Phil

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Radar-Like GPS-Tracked-Objects Visualization

    The top half looks lot like a custom widget job.
    Perhaps you might get a little inspiration from the Analog Clock Example. Give your widget a way to store a list of points, add, remove etc. Inthe paintEvent() you could draw the concentric circles, crosshairs and any points your widget has been told about.

    I would not worry about the (assumed) classic radar sweeping animation until you can get to grips with the basics.

  3. #3
    Join Date
    May 2012
    Posts
    136
    Thanks
    2
    Thanked 27 Times in 24 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Radar-Like GPS-Tracked-Objects Visualization

    I would use the QGraphics system for it
    make graphics items for all the gps devices and place them in a QGraphicsItemGroup

  4. #4
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Radar-Like GPS-Tracked-Objects Visualization

    Check QwtPolar. I have no experience with it but it seems to be your library. You will need Qwt - it is in the repository, and then compile QwtPolar most likely. QwtPolar is not in the repository so far but, perhaps, there are some compiled packages around.
    When searching QwtPolar, search with Google.

    --------------------

    Edit: You will need to compile Qwt, too. The Debian repository contains Qwt 6.0 and QwtPolar depends on Qwt 6.1 ...
    Last edited by Radek; 22nd February 2015 at 07:33.

Similar Threads

  1. Replies: 3
    Last Post: 15th March 2013, 10:45
  2. Qt Creator T Driver Visualization
    By Kumar in forum Qt Tools
    Replies: 1
    Last Post: 1st June 2011, 09:49
  3. Replies: 3
    Last Post: 9th January 2010, 15:47
  4. Visualization and Threads
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 12th October 2009, 13:13
  5. Replies: 7
    Last Post: 18th July 2006, 21:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.