RTKBase: a GUI for your own Gnss Base Station

SSH is easier and more reliable.

Does RTKBase even have a GUI?

Hi
I have installed RTKbase with the instructions in the readme, trough the terminal.

It all works but at each restart the main service is off, I have to start it manually trough the web interface. Did I something wrong? Should I reinstall it?
At each restart my mountpt appear in rtk2go but without messages until I start it.

Edit: I have tested the flashable version and worked good. I try this version to be able to install the the noip ip cheeker to keep my dnss up to date.

One thing I made: I enabled ā€œhi precision modeā€ on my ardusimple after the installation, did that mess something up?

High precision mode is a must with RTK auto-steer. I though SimpleRTK2B boards were autoconfigured to this by the application?
EDIT: as explained below, no need for high accuracy NMEA on the base.

I use my internet modem/router for dnss updates. No need to install additional applications and have one specific computer up and running all the time at home although the GNSS base is a good one as it is supposed to be running all the time.

Why are you using rtk2go if you have a public IP address at home? Stefalā€™s base supports a caster too.

I would have liked to investigate a little more, but it seems too late since you reinstalled with the flashable image.

Unless Iā€™m mistaken, high precision mode is for nmea output which is unused on a base station. You have to enable this on the rover, not the base station.

1 Like

No, Itā€™s still running, I used the flashable version before and itā€™s on an other SDcard.

I can wait a few days if you want look at it, otherwise I will just reinstall. I install it on a OS with GUI to be able to install other programs. My command lines skills are limited, I have no idea how I could install other programs on the flashable version.

I think you are right high precision seem to be just for the NMEA so not needed for the base.

One thing you can do to help me is to copy/paste the result of:
sudo systemctl status str2str_tcp

(before you start it manually)

Usually a raspberry (or other sbc) is dedicated to RTKBase. If you need to install other softwares, the command is sudo apt install the_program_name

Here it is, I started more than once.

ā— str2str_tcp.service - RTKBase Tcp
     Loaded: loaded (/etc/systemd/system/str2str_tcp.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2022-04-01 09:17:05 EDT; 41min ago
    Process: 452 ExecStart=/home/pi/rtkbase/run_cast.sh in_serial out_tcp (code=exited, status=0/SUCCESS)
        CPU: 105ms

Apr 01 09:17:05 raspberrypi systemd[1]: Starting RTKBase Tcp...
Apr 01 09:17:05 raspberrypi run_cast.sh[476]: stream server start
Apr 01 09:17:05 raspberrypi run_cast.sh[476]: stream server start error
Apr 01 09:17:05 raspberrypi systemd[1]: str2str_tcp.service: Succeeded.
Apr 01 09:17:05 raspberrypi systemd[1]: Started RTKBase Tcp.
~ 

Edit: I saw on a screen shot the first time it was: run_cast.sh[475]

After I start it manualy:

pi@raspberrypi:~ $ sudo systemctl status str2str_tcp
ā— str2str_tcp.service - RTKBase Tcp
     Loaded: loaded (/etc/systemd/system/str2str_tcp.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-01 10:00:37 EDT; 3min 3s ago
    Process: 1735 ExecStart=/home/pi/rtkbase/run_cast.sh in_serial out_tcp (code=exited, status=0/SUCCESS)
   Main PID: 1742 (str2str)
      Tasks: 2 (limit: 3720)
        CPU: 1.492s
     CGroup: /system.slice/str2str_tcp.service
             ā””ā”€1742 /usr/local/bin/str2str -in serial://ttyACM0:115200:8:n:1#ubx -out tcpsvr://:5015 -t 0 -fl /h>

Apr 01 10:01:37 raspberrypi systemd-journald[136]: Suppressed 10 messages from str2str_tcp.service
Apr 01 10:01:37 raspberrypi run_cast.sh[1742]: 2022/04/01 14:01:56 [CC---]     248664 B   32765 bps (0) /dev/tty>
Apr 01 10:01:42 raspberrypi run_cast.sh[1742]: 2022/04/01 14:02:01 [CC---]     269704 B   31952 bps (0) /dev/tty>
Apr 01 10:01:47 raspberrypi run_cast.sh[1742]: 2022/04/01 14:02:06 [CC---]     290664 B   32414 bps (0) /dev/tty>
Apr 01 10:02:37 raspberrypi run_cast.sh[1742]: 2022/04/01 14:02:56 [CC---]     507444 B   34990 bps (0) /dev/tty>
Apr 01 10:02:37 raspberrypi systemd-journald[136]: Suppressed 9 messages from str2str_tcp.service
Apr 01 10:02:42 raspberrypi run_cast.sh[1742]: 2022/04/01 14:03:01 [CC---]     530308 B   34669 bps (0) /dev/tty>
Apr 01 10:02:47 raspberrypi run_cast.sh[1742]: 2022/04/01 14:03:06 [CC---]     552508 B   37706 bps (0) /dev/tty>
Apr 01 10:03:37 raspberrypi run_cast.sh[1742]: 2022/04/01 14:03:56 [CC---]     776696 B   35635 bps (0) /dev/tty>
Apr 01 10:03:37 raspberrypi systemd-journald[136]: Suppressed 9 messages from str2str_tcp.service
lines 1-20/20 (END)

Ok, so thatā€™s not the same problem. We canā€™t say ā€œthe main service doesnā€™t startā€, but ā€œThe main service failed to startā€.
If you want to investigate more, please create a ticket on Issues Ā· Stefal/rtkbase Ā· GitHub

1 Like

New Release !!

[2.3.4] - 2022-04-01

Fixed

  • Failure with some python dependencies. #215
  • More fixes with Gpsd service restart. #94
3 Likes

To connect to a radio is it possible to use a usb to serial adapter (xbee) to connect a Sx pro? Iā€™m not super familiar with RPi yet but is it possible to use ttyUSBx or is it best just to wire it to the serial pins on the RPi?

USB to serial works fine on a Raspberry Pi.

EDIT: realised from torriems post that my comment can be misleading. Iā€™m using a USB to serial cable on my plough control to connect to the Fendt serial port for NMEA data, there is no USB on this Fendt.

For SimpleRTK2B with Stefalā€™s GUI I obviously connect the Raspbery Pi directly with a USB cable. Appears like a serial connection.

Can someone point me to an OS with GUI that works with a raspberry pi4 and RTKbase?

I installed RTKbase 6 times on 32 bit, 64 bit and I had always the same issue: the main service fail to start at startup.

I want to try on an OS that works for others before investigating more.

I would just wire it directly. Thatā€™s the simplest and most robust. No need to use USB to serial, although you couldā€“you would need a TTL level serial to USB adapter, not RS232.

1 Like

Not sure if there are OS or GUI options for the combination (RPi and RTKBase) but have you tried the simple approach: download the ready made image as referred earlier in the thread:

and just update it (both the OS and the RTKBase from the RTKBase UI).

Yes, this jancelin image works.
But I would like an OS with GUI to easier install other apps on my raspberry.

Overwise I will just try to add a caster service to my old configuration(pi+rtklib) that worked without issue for 2 years

The Janceling image has a normal Raspian OS. You can log in to the GUI if you need to access it.

2 Likes

I just made a quick test with 2022-04-04-raspios-bullseye-arm64.img
Everything seems ok, the str2str_tcp service starts correctly after a reboot.

1 Like

Just curious as to how you access this? It boots to the CLI.

SSH and HTTP are working fine, I didnā€™t even realise there was a Linux gui :slight_smile: