Skip to content

Simple python script to configure ublox base station

Notifications You must be signed in to change notification settings

krisgry/ubxBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ubxBase

Simple python script to configure / survey ublox base stations.

Ugly code, based on an example in pyubx.

Why?

Because fuck u-center

Workflow

  • go to the test location, place the base station
  • ssh into the base station
  • run this script, e.g. ./ubxBase.py --port /dev/ttyACM0 --survey_in 500 40 which will set the ublox receiver in survey mode for at least 500 seconds until an accuracy of 40 cm is reached.
  • statistics like fix and survey-in status are displayed in the terminal
    • if you exit the program (ctrl-c), the survey-in mode will still run. If you want to see the status again, w/o starting a new survey-in from scratch, simply run ./ubxBase.py --port /dev/ttyACM0 --mon True (monitor)
    • you can also (almost) tell the receiver where it is at, using the --fixed_pos_ecef or --fixed_pos_llh flags, but there is a bug
  • send RTCM data from the base to the rover, using e.g. RTKLIBs str2str (ubxBase does not do this for you)
  • deploy robot, or whatever

This script does not do any config of the receiver (i.e. setting up what RTCM messages to send), or forward RTCM messages to the robot. For that, see e.g. ublox F9P moving base app note and RTKLIB str2str.

Status

WIP, but it works for my needs. PRs and forks welcome!

About

Simple python script to configure ublox base station

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages