Skip to content

UBC-Snowbots/libsbp

 
 

Repository files navigation

SNOWBOTS MODIFICATIONS / NOTES

  • This has been modified into a ros package the exports the sbp library
  • None of the below installation steps are relevant anymore, this may be treated as a normal ROS package
  • We're using this to connect to a swift piksi v1

SBP Bindings for C

libsbp provides C bindings for Swift Binary Protocol (SBP), the native binary protocol used by the Piksi GPS receiver. It is intended to be as portable as possible and is written in standards compliant C with no dependencies other than the standard C libraries.

Installation

On Debian-based systems (including Ubuntu 12.10 or later) you can get dependencies with:

sudo apt-get install build-essential pkg-config cmake doxygen check

On Mac:

brew install check cmake pkg-config doxygen

On other systems, you can obtain CMake from your operating system package manager or from http://www.cmake.org/.

Once you have the dependencies installed, from this (the libsbp/c directory) create a build directory where the library will be built:

mkdir build
cd build

Then invoke CMake to configure the build, and then build and install,

cmake ../
make
sudo make install

By default libsbp will be built both as a shared library libsbp and a static library libsbp-static.

Usage

For now, documentation for libsbp is available with libswiftnav. A separate tutorial for applying SBP is at https://github.com/swift-nav/sbp_tutorial.

LICENSE

Copyright © 2015 Swift Navigation

Distributed under LGPLv3.0.

About

Swift Binary Protocol client libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.7%
  • CMake 1.3%
  • Makefile 1.2%
  • Other 0.8%