Skip to main content

Library interface for communication with Memsense IMU devices

Project description

py_mscip

pipeline status coverage report

py_mscip is a python library for interfacing with Memsense IMU devices.

Installation

py_mscip is available as a PyPi package for convenience. To add the latest stable version to your project, install the library using pip:

pip install py_mscip

Basic Usage

py_mscip provides a number of classes to make interfacing with Memsense IMUs convenient. The most basic of these is the Conn class which manages reading and writing to a serial connection. An example of a simple script to read values from the IMU and print them to the screen would be:

from py_mscip.interfaces.conn import Conn
from serial import Serial

ser = Serial(args.comport, args.baudrate)
conn = Conn(ser, args.format)

while True:
    packets = conn.read()
    if packets:
        for packet in packets:
            print(packet)

Additional examples along with API details and development information can be found in the official documentation.

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

py_mscip-0.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_mscip-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file py_mscip-0.1.0.tar.gz.

File metadata

  • Download URL: py_mscip-0.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for py_mscip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73b0c3d05b52d55a691d327e079c4bdc1b9568e9444e92f3caf648fb20be8edd
MD5 40f26397029e741da07de0826a44cde5
BLAKE2b-256 4944c3dc0be17eb81af1666cd85e5eccb5dcbaac4fe92db77e20480cc96a0726

See more details on using hashes here.

File details

Details for the file py_mscip-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: py_mscip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for py_mscip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42f5e8ed834a14b323703111bdabe526377e826cd958296ea33629a44a8a8213
MD5 16de2206505dd9f3230357d279e49061
BLAKE2b-256 4002f23b635e38017264df0b1151b3a072285a3d75ae58533c262bdd465ab30f

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