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

Uploaded Source

Built Distribution

openimu-0.0.6-py2.py3-none-any.whl (22.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: openimu-0.0.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for openimu-0.0.6.tar.gz
Algorithm Hash digest
SHA256 fa6602f61cbbcbcfb6ed9ec6f6ee4dec28ea76566f711f4fce61a6dd0c5db9ac
MD5 69c4164c613c6ddb2b50f79732fed835
BLAKE2b-256 c8db537c37f6c066c42974b8dbaa88673e1dc42a7ac8e36f953fdcde5761ba0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openimu-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for openimu-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5da8b96e3836d20f0a8711b8a3d72a7fc1007fc149cade9164681d9600ba598
MD5 fe90db924c1a96e396ba1a1bcf9f33d7
BLAKE2b-256 04341beb904167aa710cdbd2f89f6bc4a37bb147150c43ac2be0f6f85ea2cf6c

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