triad_openvr | enhanced wrapper for the already excellent pyopenvr
kandi X-RAY | triad_openvr Summary
kandi X-RAY | triad_openvr Summary
This is an enhanced wrapper for the already excellent pyopenvr library by cmbruns. The goal of this library is to create easy to use python functions for any SteamVR tracked system.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Poll for VR events
- Adds a device to the vr
- Append a frame to the matrix
- Removes a tracked device
- Print the discovered devices
- Returns the serial number of the device
- Returns the model number
- Get controller inputs
- Convert the controller state to a dictionary
- Return the pose of the device
- Convert matrices to quaternion
- Sample from the device
- Get the pose of a given object
- Returns the angular velocity
- Returns the pose matrix corresponding to the given pose
- Get the velocity of the vehicle
- Get the position of the mesh
triad_openvr Key Features
triad_openvr Examples and Code Snippets
Community Discussions
Trending Discussions on triad_openvr
QUESTION
I have strapped on an RPLidar A1 to an HTC Vive Controller and have written a python script that converts the lidar's pointcloud to XY coordinates and then transforms these points to match the rotation and movement of the Vive controller. The end goal is to be able to scan a 3D space using the controller as tracking.
Sadly, everything I try, the native quaternion of the triad_openvr library, transformation matrix transform, euler angles even, I simply cannot get the system to function on all possible movement/rotation axes.
...ANSWER
Answered 2019-Nov-10 at 02:38Well we figured it out by working with the euler rotations and converting those to a quaternion:
We had to modify the whole definition of how triad_openvr calculates the euler angles
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install triad_openvr
You can use triad_openvr like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page