Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
/ RtkGps Public archive
forked from eltorio/RtkGps

⚛️ Adding react native to RtkGps+

Notifications You must be signed in to change notification settings

maxzirps/RtkGps

 
 

Repository files navigation

⚛️ React-Native-RTKGPS

Adding a react-native GUI on RtkGps

Setup

  1. Set up your local developer environment for react-native
  2. git submodule init && git submodule update
  3. yarn install
  4. Open the Android sdk manager and install
  • NDK
  • Google Play services
  1. Add your google maps api key in the AndroidManifest
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="<YOUR_KEY_HERE"/>

See this for more information.

  1. Plug in your android device
  2. Open two terminals and enter
  • yarn start in the first terminal
  • yarn adb-reverse && yarn android in the second terminal

Controls & Configuration

Main view

start

  • Running starts the location service
  • Display paths shows/hides the loaded path and driven path
  • Load Path opens a window to load a path from a .json file to display on the map the file needs to have the following structure:
[
  { "longitude": -122.081949, "latitude": -90 },
  { "longitude": -123.081949, "latitude": -91 },
  ...
]
  • Clear paths deletes the loaded and driven path
  • Settings Opens the legacy settings page (see below)

Settings

settings

Here you can see a detailed status and configure the location service.

Status

status
The upper half displays a detailed status of the positioning service (e.g. number of satellites). Once it displays FLOAT it calculated an accurate position.

In the top right corner you can see some status indicators:

  1. input rover
  2. input base
  3. input correction
  4. processing status
  5. output solution 1
  6. output solution 2

The lower half displays the satellites of the rover and of the base and their signal strength.

Input rover

input_rover
(In the settings click on input streams.)

Here you can set the input configuration for the rover. The picture shows the settings for a Navilock receiver via usb. (Antenna, commands and receiver option stay unchanged.)

Input base

input_base

You can use free NTRIP casters (e.g. Rtk2go)

Simply change the stream settings and format to your desired NTRIP stream. (everything else stays unchanged)

Processing options

processing

Change the processing options to your desired needs. For the Navilock receiver the displayed settings are chosen. (Only need to set Positioning mode, frequencies, navigation system)

Output solutions

output

If you want to write the calculated position to a file, set your settings here. I recommend enabling both, solution 1 and 2, since for me only one of both worked. At the beginning of your recording also check the status indicators (see status chapter above) to see if it really writes something to the drive.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 53.4%
  • C 21.9%
  • Java 17.1%
  • Shell 3.3%
  • Makefile 2.6%
  • CMake 0.6%
  • Other 1.1%