Merge ~jocave/checkbox-support:nmea-test-script into checkbox-support:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | ce7ad645e2155ef99d4bf4426f7a26d953e158ec |
Merged at revision: | 3b5a7544a0c66db88b45d34df6e93e2dad5c989a |
Proposed branch: | ~jocave/checkbox-support:nmea-test-script |
Merge into: | checkbox-support:master |
Diff against target: |
89 lines (+72/-0) 2 files modified
checkbox_support/scripts/nmea_test.py (+70/-0) setup.py (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Jonathan Cave (community) | Needs Resubmitting | ||
Review via email: mp+335460@code.launchpad.net |
Description of the change
Add a script that can be used to test there is valid NMEA data being received on a serial port. The script allows configuration of serial port parameters.
The pynmea2 library is used to perform NMEA parsing. This is added as a python dependency in order to use a newer version of the library from pypi with checksum support.
To post a comment you must log in.
Unfortunately 'pynmea2 >= 1.8.0' in setup.py will break ppa builds as lp builders are not allowed to fetch dependencies from pypi.
Moreover if the archive version is too old I'd drop this requirement from setup.py and only add it to the checkbox-support part branch [1] under a new python-packages section.
python-packages:
- pynmea2>=1.8.0
[1] https:/ /git.launchpad. net/~checkbox- dev/checkbox/ +git/checkbox- dev-parts/ tree/snapcraft. yaml