GAVLab / ublox

C++ Static library interfacing ublox GPS receivers using the ublox6 UBX protocol
46 stars 26 forks source link

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

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