Giter VIP home page Giter VIP logo

piksi_tools's Introduction

Tools for the Piksi GNSS receiver

https://travis-ci.org/swift-nav/piksi_tools.png https://badge.fury.io/py/piksi_tools.png

Python tools for the Piksi GNSS receiver. This repository includes a Swift console UI application, as well as a variety of command line utilities (firmware bootloader, serial port data logging, etc.).

Setup

Note on virtualenv and conda

If want to use a virtualenv while developing the console, you should activate it before running the install scripts, as they will pip install requirements.

The unittests do not work with the conda package manager because tox uses virtualenv, which is not compatible with conda.

Scripts

Install all dependencies (including console libraries):

$ make deps

Install dependencies (without console libraries):

$ make serial_deps

Install from repo:

$ sudo python setup.py install

Install package from pypi:

$ sudo pip install piksi_tools

On OS X, you may need to add export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH to your ~/.bash_profile in order to use libraries installed via brew.

Usage Examples

Bootloader example

Console example

To just use the Swift console, download binary installers for Windows and OS X.

Latest console for Piksi Multi

Older versions of console for use with Piksi v2

For x86-64 Linux, tar.gz distributions are available for Swift Console Piksi Multi

To run the console GUI from the command line, install dependencies and run PYTHONPATH=. python piksi_tools/console/console.py.

For command line arguments, see console.py

Testing

To run the tests and check for coverage:

$  PYTHONPATH=. tox

USB issues on OS X

The ftdi USB drivers are finicky on some versions of OS X. See their docs for help debugging (tl;dr if you try to plug in multiple USB devices to the same port, the subsequent ones may not appear through ftdi even if they appear in the result of sudo dmesg. Only restarting your machine will fix this.)

License

Copyright © 2015 Swift Navigation

Distributed under LGPLv3.0.

piksi_tools's People

Contributors

denniszollo avatar cbeighley avatar fnoble avatar mfine avatar mookerji avatar gsmcmullin avatar njoubert avatar rai-swiftnav avatar asthakeshan avatar ljbade avatar axlan avatar imh avatar jck avatar anth-cole avatar sashamitelman avatar kovach avatar jkretzmer avatar henryhallam avatar soulcmdc avatar margaret avatar nsirola avatar jacobmcnamee avatar joshuagross avatar mbavaro avatar scottswift avatar switanis avatar meee1 avatar pmiettinen avatar scarcanague avatar zakaswift avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.