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

Uploaded Source

Built Distribution

openimu-0.0.1-py2.py3-none-any.whl (22.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: openimu-0.0.1.tar.gz
  • Upload date:
  • Size: 17.1 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.1.tar.gz
Algorithm Hash digest
SHA256 547676fc3ee93b36d366ecdb98708581ec7f199aff5640224676bd0c47c68d85
MD5 76400f9c72de9959745c8e0b078a2592
BLAKE2b-256 83bed56e9463e5d5b3989021ca5bf00ede74c88fda96e8b70df4a6ab04cd417d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openimu-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.0 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 91cf1594bb4e8c2ed2b4a2654ba29973d4bc9aa0e4f97f45a7ad6753ee45b147
MD5 4c830e58c807ab066171dcd9210f6ad0
BLAKE2b-256 4c71cabb02189bc83b2ae073013229833104311143b2a43462e3d33c4693bf69

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