Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openimu-testa-0.0.1.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openimu_testa-0.0.1-py2.py3-none-any.whl (31.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file openimu-testa-0.0.1.tar.gz.

File metadata

  • Download URL: openimu-testa-0.0.1.tar.gz
  • Upload date:
  • Size: 19.1 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

Hashes for openimu-testa-0.0.1.tar.gz
Algorithm Hash digest
SHA256 df97b8921435140b28bcbb76b881dcb03a83a92587b55a663a3b30fc18afcb95
MD5 34b3be54623d0a6d8328a0e924fc4421
BLAKE2b-256 5223f0e6b0c54f8bf876086bf9e3db53efcb92f41a361201e573f5fbbc8a69ad

See more details on using hashes here.

File details

Details for the file openimu_testa-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: openimu_testa-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.0 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

Hashes for openimu_testa-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f799af593f53041989177e1807b4c5e0cda7b4c19bc0ac23773a508bd8f84ed
MD5 a3b5dc8eb923646b89a60fcca2601722
BLAKE2b-256 8a6fa273b5d2b20651b6ca8ef5cd2318a4000c673f3eed160acca3193b135bd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page