This wiki documents Piksi v2.3.1 which was discontinued April 1st, 2017.
Visit support.swiftnav.com for newer products including Piksi Multi.

HOW-TO: Running the Piksi Console from source

From Swift Navigation Wiki
Jump to: navigation, search

In the piksi_tools/console directory there is a simple GUI console for visualizing various status information Piksi sends to the PC.

If anything in this guide is incorrect or unclear, please email our mailing list.

Getting the source

If you haven't already done so, clone the piksi_tools repository from GitHub:

$ git clone https://github.com/swift-nav/piksi_tools.git

Install prerequisites

For Linux and Macintosh users, the setup.sh shell script will install some of the dependencies including PyQt4 and its SIP dependency for your platform. For Windows users, see the instructions for setting up the Python development tools here: HOW-TO:_Setting_up_developer_tools_for_Piksi#Setting_up_Python.

$ cd piksi_tools

Linux and OSX only:

$ cd tasks
$ ./setup.sh -x install
$ cd ..

All platforms

$ sudo pip install -r requirements.txt

Install Piksi Tools

The following command will install Piksi tools as part of your Python site packages. This will also make it easy to use piksi_tools from other python projects.

$ sudo python setup.py install

Running the console

Plug in Piksi via USB, and then start the GUI console.

$ python piksi_tools/console/console.py

Running with the --help option will display a list of optional command line arguments.

$ python piksi_tools/console/console.py --help

The default USB serial device used is /dev/ttyUSB0, to use a different device (e.g. under OS X or Windows) you may specify the -p option.

$ python piksi_tools/console/console.py -p /dev/tty.usbserial1234

or on Windows:

$ python piksi_tools/console/console.py --p COM3