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

Uploaded Source

File details

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

File metadata

  • Download URL: openimu_test10-0.0.7.tar.gz
  • Upload date:
  • Size: 17.6 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_test10-0.0.7.tar.gz
Algorithm Hash digest
SHA256 41ea813ad226ce1b1b3e623166bf291c5b83646f70880c968686695a76f6b45e
MD5 c84f5b13e3838455016f3f22cd854614
BLAKE2b-256 9e74e93b76a25cc5e6a8165bc8e582f3fb4209952e30c61bab73c3e4382c6bc1

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