


# FutureWarning: The stream module is deprecated and will be removed in 1.0 I use json as a "clear text pretty printer".
Nmea checksum code#
Here is some quick and dirty code in a script called test-ais.py to get the unix like head & tail behavoir. $ ls /usr/local/lib/python2.7/dist-packages/libais-0.16-py2.7-linux-x86_64.eggĪis _ais.py _ais.pyc _ais.so EGG-INFO test
Nmea checksum install#
$ sudo python setup.py install # to deploy itĪfter all you should have the libraries in your python environment. $ python setup.py build # to build the python stuff
Nmea checksum download#
Download the data from $ cd YOUR_BUILD_PATHĪnd follow the installation instruction on/at the github page or run $ cd YOUR_BUILD_PATH/libais To get some code running, you need git a C++ compiler, the python setup environment, cmake. Here is a small howto running under LINUX and python 2.7. There you will find a decoder and documents to understand the nmea messages (mostly links menioned by the posts of and Dev). I have tried to change RX pin as well as Arduino itself, to exclude error there.There is a good github repository of Kurt Schwehr who works at the Center for Coastal and Ocean Mapping (to track whale activities for example). If I leave the program for a while, it will occasionally produce data (sentence). If I just run the program, it will give me no data and checksum errors slowly increasing. I also tried TinyGPS library, particularly examples. This module is brand new and less likely it can be buggy. Also I can see 3 satellites are found in the messages and fix. GPS module is blinking red which means it has enough satellites. Using SoftwareSerial reading data when available(). I have LS20031 GPS module (I believe with MT3339 chip) connected to Arduino.
