This is an IMU quaternion data visualization tool for xkit.
History
- V1.0.0
- Implementing 3D visualization with OpenGL
- STL file included(jet.stl)
- UDPServer or MulticastReceiver
Install
pip install quat
Dependencies
- PyQt6
- PyOpenGL
- pyqtgraph
- numpy-stl
- genlib
Running
UDP Server (default port 7321)
quat
MulticastReceiver (default group 239.8.7.6, default port 7321)
quat --mcast
options
--mcast
--group=<group>
--iport=<port>
--log=<stream | file>
Client Implementations
- UDPClient or MulticastSender
quaternion data format
w, x, y, z
Example
import time
from genlib.upd import UDPClient
from pop.ext import IMU
imu = IMU()
udp = UDPClient()
QUAT_IP = '192.168.0.100'
QUAT_PORT = 7321
while True:
w, x, y, z = imu.read(IMU.QUATERNION)
udp.sendTo(f"{w}, {x}, {y}, {z}".encode(), (QUAT_IP, QUAT_PORT))
time.sleep(20/1000)
Metadata
Release files for quat3d 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quat3d-1.0.0.tar.gz | 16.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quat3d-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.4 MB
Release files / quat3d-1.0.0.tar.gz
| Download URL | quat3d-1.0.0.tar.gz |
|---|---|
| Size | 16.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f6c49e28329d6cceb25789ef239a0c404775042a5fce421e5747cc16fdc5d2c
|
|
BLAKE2b-256 checksum How to use checksums |
94e73aa77bb2cf285de7795d597741de32e957751efe087f29f368bae64cef07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / quat3d-1.0.0-py3-none-any.whl
| Download URL | quat3d-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5578a81a38f7a1ecb188c3ae02697f5a9b8a01ad775011382c402e6b27292a99
|
|
BLAKE2b-256 checksum How to use checksums |
4e3081efabf685651f87482bbe95a245fc4088e6d50b3ce01fb240604339acc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|