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

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-0.0.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

openimu-0.0.3-py2.py3-none-any.whl (22.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file openimu-0.0.3.tar.gz.

File metadata

  • Download URL: openimu-0.0.3.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

Hashes for openimu-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4b5d1df6d42142bfff37ec95681a04820866d1e19f618ac40789d3cbd81ed71b
MD5 e674ec9becab0d8e972e1b6427f5dcf3
BLAKE2b-256 85dfcc9bc674cf7a211a2821254f141d58c0498ca3cf261cd568d9efda98785f

See more details on using hashes here.

File details

Details for the file openimu-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: openimu-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.3 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

Hashes for openimu-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9f065cba9dfbfbfc0da7f2439ee4a532dd0b2a69f2062eead52c271ea2da286
MD5 c245b327c0702b03c640547149bda31c
BLAKE2b-256 812db11173a9521ad9ed458e0c9396b7412d64abbc3d3b6a92bad69c67551ed7

See more details on using hashes here.

Supported by

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