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
app_config/apps/openimu
apps' json
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.8.tar.gz
.
File metadata
- Download URL: openimu-0.0.8.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae6872162a464a10e660262051eddb45334001c300677b0344c73f39dcf091c |
|
MD5 | ce3b68a2b438b88c1923125127040bf4 |
|
BLAKE2b-256 | 8be3e43d471686e2865af33cfeda6ce99f1dbb13c2c37ab2c9a7a21ba2d4808e |
File details
Details for the file openimu-0.0.8-py2.py3-none-any.whl
.
File metadata
- Download URL: openimu-0.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 45.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a8f5ba3ab1d20a8f66024255944d5af44f88bba75a36c4d125ae621386fe7c |
|
MD5 | 1a9b247fa2775d88b9903dcb57621014 |
|
BLAKE2b-256 | de41af8b2c593d6e140987d45c98ad63bcd0bb3d0605e8da69097185b10b1a3f |