Aceinna Open Source Python
Project description
python-openimu
Python driver for Aceinna OpenIMU Series Inertial Products. Includes local and cloud file logging, and WebSocket server
pip install:
pyserial
tornado
azure-storage-blob
psutil
pathlib
requests
openimu.py
This is core driver for OpenIMU. It can do the following functions:
- automatically discover an OpenIMU connected to serial port
- log data to local file or azure cloud
- parse various ouput packets
- read/write and get/set EEPROM fields
- upgrade firmware of device
- run as a thread in websocket server see below
server.py
Create a web socket server on wss://localhost:8000 that bridges ANS to a locally running openimu serial port driver. Places openimu driver in a thread
- automatically sends data out on wss://localhost:8000 every 33mS encoding packet as JSON.
- receives messages via on_message handler from ANS currently messages are - status, start_log, stop_log and cmd.
file_storage.py
These file store parsed packet data to CSV either locally or on Azure cloud. Uses Azure Python SDK to write to Azure.
commands.py
Command Line Interface to access OpenIMU device
data/ directory
Log files .csv are saved under the directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file openimu-0.0.2.tar.gz
.
File metadata
- Download URL: openimu-0.0.2.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc73c5b68e353d7531574f502433a48d89c24900b29031efb50f6069bed2b28 |
|
MD5 | 6c3624d06ce4bf766aa9eba114d67fca |
|
BLAKE2b-256 | 7dc184f5c0f0c4398794f4c9cc4c9cb3946f2ae12395e56fe95208beb340c04c |
File details
Details for the file openimu-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: openimu-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6306e9b92e2aa63a40a4ba779426f0567977e1afc9fd9e7572f81a26cea036e2 |
|
MD5 | 0a6af4bcc08805c7c1059d28b6369099 |
|
BLAKE2b-256 | 7216e6567c66055f53072ba1e4db8ffbe39885d146b2a031cfc4083b0431df78 |