qualisys_python_IO
This repository provides an interface for connecting to and interacting with a Qualisys Motion Capture system. The main components include a Python class for handling the connection and data retrieval, and supporting functions for processing the motion capture data.
Files
- qualisys_io.py
- Purpose: Manages the connection to the Qualisys system and handles the retrieval of position and rotation data.
- Key Classes/Methods:
- qualisys_io: Initializes the connection, starts/stops the data stream, and retrieves position and rotation data.
- connect(): Starts the data streaming process.
- stop(): Stops the data streaming and disconnects from the system.
- get_position_rotation(): Retrieves the latest position and rotation data from the Qualisys system.
- lib.py
- Purpose: Contains the underlying logic to connect to the Qualisys system and process 6DoF data.
- Key Functions:
- run(): Main loop to handle the real-time data processing and streaming.
- create_body_index(): Parses the XML data to create a dictionary mapping body names to indices.
- body_enabled_count(): Counts the number of enabled 6DoF bodies.
- main(): Handles the connection to the Qualisys system, retrieves data, and processes it in real-time.
How to Use
example:
import time
from Qualisys_Python_IO import qualisys_tools
robo_position = qualisys_tools.qualisys_io("Robo01","192.168.0.26","password")
robo_position.connect()
time.sleep(1)
position,rotation = robo_position.get_position_rotation()
print(position,"\n",rotation)
robo_position.stop()
INSTALATION
pip install Qualisys-Python-IO
Metadata
Release files for Qualisys-Python-IO 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qualisys_python_io-0.0.3.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qualisys_python_io-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / qualisys_python_io-0.0.3.tar.gz
| Download URL | qualisys_python_io-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcd17f949a597046db84b9d4b18e2f27b9d11f213ae1dad5fb180349082278c2
|
|
BLAKE2b-256 checksum How to use checksums |
45cc6a9188db86b59f3268c3bab9ca8565dfb1c5bde9754eeadf384bfe15209f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / qualisys_python_io-0.0.3-py3-none-any.whl
| Download URL | qualisys_python_io-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75b8ca10ac98aa098a51853078cd612196d04135f810643f1f16065bd75df2ce
|
|
BLAKE2b-256 checksum How to use checksums |
8be6c4ad4148b0810e675212f05929cb42fa7972e50962aa81721e9f41278a85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|