Mavometer
Mavometer is a PyQt GUI to display MAVLink Connection Information and Statistics.
It can operate on a live connection (e.g. the stream mirrored by Mission Planner) or it can read a file.
It provides connection-level information, such as protocol version, and message information, such as data rate by message type.
It is not a protocol analyzer - it does not display individual message contents. It is not a ground station - it does not read or display telemetry values from MAVLink messages.
It is written in python, and should run on any OS that supports PyQt5 and pymavlink.
Getting Started
Prerequisites
- pymavlink - MAVLink protocol implementation
- PyQt5 - Mavometer is based on the Qt version 5 framework
- UQtie - utility package for PyQt5 usage
The Mavometer distribution package does not name PyQt5 as a dependency because you may have already installed it in some custom way, and you don't want the Mavometer installation process to create a redundant PyQt5 installation.
If you don't already have it, you can install PyQt5 by doing this:
pip3 install pyqt5
pymavlink and uqtie can be installed in the same way:
pip3 install pymvalink
pip3 install uqtie
Be aware that the appropriate installation procedure for a package can vary depending on your OS and other factors.
Installing Mavometer
Install the package:
pip3 install mavometer
Or clone from GitHub:
git clone https://github.com/langrind/mavometer.git
and then run the setup script:
python3 setup.py
Run Mavometer
Say you have a Pixhawk connected to a USB port on your Linux machine:
$ mavometer --mavlink-port /dev/ttyACM0
Or you have a log file produced by QGroundControl:
$ mavometer --mavlink-port '/home/langrind/Documents/QGroundControl/Telemetry/2019-11-19 20-38-03.tlog'
For (a little) more info, RTFD.
Tests
$ mavometer --mavlink-port test/test.tlog
NOTE: timestamping is not supported yet for replaying from files, so bandwidth and frequency displays are garbage in this case.
Deployment
TBS: details about usage in different OS environments
Contributing
This project is ad hoc in nature, so I don't foresee contributions. Nevertheless, feel free to make a pull request.
Versioning
Versions are assigned in accordance with Semantic Versioning. For the versions available, see the tags on this repository.
Authors
- Nik Langrind - Sole author
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
- I used the PurpleBooth README template
- The pymavlink
tools/mavsummarize.pyprogram performs a similar function to Mavometer.
Metadata
Release files for mavometer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mavometer-0.1.0.tar.gz | 6.6 kB | Without provenance | Details for mavometer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mavometer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mavometer-0.1.0-py3-none-any.whl |
Total release size: 14.9 kB
Release files / mavometer-0.1.0.tar.gz
| Download URL | mavometer-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ce168df7fb50cc62da2199e939516fcf003680d7f308a58ef35909c7fec24af
|
|
BLAKE2b-256 checksum How to use checksums |
b6b8d0f89e3a42e514ac582b929aacbc4192d2903cb265821500dce2c7f0014a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8
|
Release files / mavometer-0.1.0-py3-none-any.whl
| Download URL | mavometer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
016fab9166648c49123cf8e1765a369c7d6a49df21a92c1d3520629c72dd8eec
|
|
BLAKE2b-256 checksum How to use checksums |
f5254c00ee973e8b2bd42b9f53a410610cb6dc481cd99d53eb9d8f93f8eec40a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8
|
Security for mavometer 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.