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

Uploaded Source

Built Distribution

openimu-0.0.7-py2.py3-none-any.whl (45.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: openimu-0.0.7.tar.gz
  • Upload date:
  • Size: 32.5 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-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ed94f21685905f655f2b1e119d46ad7728c719c8696758ae08ccb3bb205e3bbd
MD5 e9a614e3e498d771faad4ad0c4b10a47
BLAKE2b-256 05e0850359c4ca178e3d3bc3b9e58305153dc49ca57ee39b78c68c635f3e6d56

See more details on using hashes here.

File details

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

File metadata

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

Hashes for openimu-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f7ea27edf62916e85aeba4d994b94cb4e1434d5f2cbc1e26e73f17b6050a0988
MD5 5b85157a2a3e1d8251ec5bd11730e56e
BLAKE2b-256 19578033bd25a482e42ddbd61821b25a40cae76f53fe2c4836025e16991a14e8

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