Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Documentation Status

Variense VMU931 Toolkit

This project aims at implementing a pure-python VMU931 toolkit, including both parsing and communication with the Variense VMU931 Device.

The VMU931 is a high resolution, USB-based accelerometer, gyroscope and magnetometer made by Variense. Please note that this library is unofficial, and is not produced/endorsed by Variense.

So far, basic processing of all outputs is supported: Quaternion, Euler Angles, Accelerometer, Magnetometer, Gyroscope and Heading. These outputs can be controlled using the set_* methods, or by pasing in flags to the VMU931Parser constructor. Status messages are parsed, allowing setting rather than toggling of different data streams. The toolkit does not currently support self-test or callibration functionality.

Basic usage is as follows:

with VMU931Parser(device="/dev/tty.usbmodem1411", euler=True, accelerometer=True) as vp:
    for n in range(100): # Print 100 datapoints
        packet = vp.parse()
        print(packet)

vp.parse() also supports a callback argument, which is a function to be run on each incoming packet.

For more examples, please see the examples/ directory.

About

Python Toolkit for interfacing with the Varisense VMU931.

Topics

Resources

License

Packages

No packages published

Languages