Skip to content

Latest commit

 

History

History
277 lines (170 loc) · 10.1 KB

README.md

File metadata and controls

277 lines (170 loc) · 10.1 KB

RTKLIB Touchscreen GUI

RTKLIB GUI (Graphic User Interface) for Raspberry Pi with touchscreen made with Qt4 by the ENSG students

Update news :

May 2018 update

  • Added autostart a rover mode at boot, new button and page on main screen to set boot options
  • New branch to keep a Qt4 version compatible wth RPI2, now master branch is under QT5
  • Added geoid correction file option in the rover mode >> status >> save point option

March 2018 update

  • Add post processing on USA CORS stations, still under test but process looks correct now (still need a test from US to confirm that) (Video here)
  • Median position is done by average of the XYZ results
  • More info on the screen on the download process, progress bar is more precise, debug window is on another tab

February 2018 update

  • Automatic post processing to get base position, only compatible on desktop PC and RPI3 with Qt5 installed(still working on QT4/RPI2 compatibility). Works with european RGP ign server. It check for the nearest stations and download and process from 1 to 6 stations, if more than one station is used a median position is calculated.
  • Automatic mode with data logging>>post processing>>base station in one click, switch ost processing, put "Autostart base after processing" to "on" to enable else it will just give the results

August 2017 update

  • new pages in the wiki : tips and tools, test results by the ENG students
  • added data logging from the GNSS for post processing, just choose file in output of the basestation and it's done
  • added save position option, you are able to save X points ypu want to record with choosen timing
  • added 8 custom configuration files to the original preset
  • added you can edit edit most of the RTKlib parameter with the gui for the 8 custom config
  • added display of system and GNSS time and date in solution status windows
  • added Push button to set PI system date and time with GPS date and time
  • issue : return button in edit interface may freeze the software sometimes, allway lauch a configuration after you edited one then stop to avoid that

Take a look to the wiki pages for installation instructions and user manual : https://github.com/Francklin2/RTKLIB_Touchscreen_GUI/wiki

Installation

To install system on a raspberry pi 2 with the touchscreen you can download a raspian image with all the touchscreen drivers, Qt4 and all compilation dependencies preinstalled here :

https://drive.google.com/file/d/0B5xmVAi4jATOcXE3a3BWS0VDUUk/view?usp=sharing

It was based on this original image with only the library for the touchscreen: https://drive.google.com/file/d/0B2SuLGFxizpVMzRtODVkN0tZVjA/view?usp=sharing

You can also download these Pré-installed image of RTKbase, RPI2 contain a master version (june 2016) with autoload and custom splash screen, the version for RPI3 contains Raspbian Jessie with drivers and the Beta version(august 2017)

For raspberry PI 2 https://drive.google.com/open?id=0B5xmVAi4jATOcEQ1TWxaOXprMk0

For raspberry PI 3 https://drive.google.com/open?id=0B5xmVAi4jATOS0hIRHpYMEg2MXM

  • Copy this image on a SD card, you can use Rufus for that : https://rufus.akeo.ie/
  • Insert the SD card in your Raspberry Pi and start it.
  • Open the terminal and clone the repository:
git clone https://github.com/Francklin2/RTKLIB_Touchscreen_GUI
  • Go to the RTKBASE directory:
cd  RTKLIB_Touchscreen_GUI/RTKBASE/
  • Run the script to compil:
./build_rtkbase.sh
  • Launch RTKBASE:
./RTKBASE

Autostart RTKBASE at boot :

Very simple but many method to do it :

  1. Add software to rc.local Run :
sed -i -e '$i \cd /home/pi/RTKLIB_Touchscreen_GUI/RTKBASE/ && RTKBASE\n' rc.local
  1. Use system root LXDE autostart : Run :
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add this :

@/home/pi/RTKLIB_Touchscreen_GUI/RTKBASE/
@RTKBASE
  1. Use user LXDE autostart : Run :
nano ~/.config/lxsession/LXDE/autostart

Add this :

@/home/pi/RTKLIB_Touchscreen_GUI/RTKBASE/
@RTKBASE
  1. Add desktop entry to user config : Run :
nano ~/.config/autostart/rtkbase

Copy paste entry below :

[Desktop Entry]
Name=RTKBASE
Type=Application
Comment=RTKLIB Touchscreen : graphic interface to use GNSS.
Exec=/home/pi/RTKLIB_Touchscreen_GUI/RTKBASE/RTKBASE
Make it executable : 
chmod +x ~/.config/autostart/rtkbase

Best way for me is option 4 because I do not use LXDE

Source : http://www.raspberrypi-spy.co.uk/2014/05/how-to-autostart-apps-in-rasbian-lxde-desktop/ and kikislater

Add a custom splash screen at boot

Install fbi

sudo apt-get install fbi

Copy the splash image splash.png from /Splashscreen to /etc/
Copy the asplashscreen file in /Splashscreen to /etc/init.d/ Make the script executable and install it for init mode:

sudo chmod a+x /etc/init.d/asplashscreen sudo insserv /etc/init.d/asplashscreen

To remove text message edit /boot/cmdline.txt change console=tty1 to console=tty3 and add loglevel=3 at the end of file

Based on these tutos:

http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/custom-boot-up-screen

http://ananddrs.com/2013/09/18/rpi-hide-boot-msg/

What will you get :

Github Logo

Github Logo

Github Logo

Vidéo of beta build :

RTKlib Touchscreen preview

RTKBASE video Preview 2

RTKBASE Post processing

How to process data :

Go to Wiki

What precision and accuracy will I get ?

Work in progress ... Stay tuned !

You can watch some information here :

https://github.com/drotek/SMARTNAV-RTK/wiki/SMARTNAV-Field-Tests

http://marcotte-ag.no-ip.org:8080/geomatic/index.html

http://www.afhy.fr/images/pdf/Rapports/UV54_2016/poster_gnss_PPP_GTX.pdf

http://www.gps.gov/cgsic/meetings/2012/lyle.pdf

Material To build this project :

you will need :

  • Raspberry pi 2 or 3 and a 8gb SD

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo

Github Logo