Skip to content
/ ublox Public

C++ Static library interfacing ublox GPS receivers using the ublox6 UBX protocol

Notifications You must be signed in to change notification settings

GAVLab/ublox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a static library for interfacing uBlox GPS receivers. This interface is based on the uBlox 6 protocol specifications.

INSTALL INSTRUCTIONS

Linux Ubuntu

Dependencies

Update the package list.

	sudo apt-get update
  • CMake

    sudo apt-get install cmake
    
  • Boost

    sudo apt-get install libboost-all-dev
    
  • Serial Library

    The serial library was written by former GAVLab member William Woodall. It's repository can be found at:

    https://github.com/wjwwood/serial.git
    

    First clone the serial library.

    git clone https://github.com/wjwwood/serial.git
    

    Checkout version 1.0.

    cd serial
    git checkout v1.0
    

    Compile and install the library.

    cmake ./
    make
    sudo make install
    

Ublox Interface

To clone the ublox code:

	git clone https://github.com/GAVLab/ublox.git

Generate MakeFile with cmake and compile the library .

	cd ublox
	mkdir build
	cd build
	cmake ../
	make

To also build the included executables, invoke cmake with the following option.

	cmake -DUBLOX_BUILD_EXAMPLES=ON ../

To run one of the generated executables

	cd ~/ublox/bin/
	sudo ./executable [port name] [baudrate]

For example

	sudo ./record_pseudoranges /dev/ttyUSB0 9600

About

C++ Static library interfacing ublox GPS receivers using the ublox6 UBX protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published