Library interface for communication with Memsense IMU devices
Project description
py_mscip
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73b0c3d05b52d55a691d327e079c4bdc1b9568e9444e92f3caf648fb20be8edd
|
|
| MD5 |
40f26397029e741da07de0826a44cde5
|
|
| BLAKE2b-256 |
4944c3dc0be17eb81af1666cd85e5eccb5dcbaac4fe92db77e20480cc96a0726
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42f5e8ed834a14b323703111bdabe526377e826cd958296ea33629a44a8a8213
|
|
| MD5 |
16de2206505dd9f3230357d279e49061
|
|
| BLAKE2b-256 |
4002f23b635e38017264df0b1151b3a072285a3d75ae58533c262bdd465ab30f
|