Open tito opened 1 year ago
So actually, this is part of TUIO 2.0 Specifications, which are not supported by oscpy: https://www.tuio.org/?tuio20
Parameter description | Short message format | Custom message code | OSC data type | value range |
---|---|---|---|---|
Session ID | s_id | S | 32bit integer | uint32 0 ... 4.294.967.295 |
Component ID | c_id | I | 32bit integer | uint32 0 ... 4.294.967.295 |
Type/User ID | tu_id | T | 32bit integer | uint16 0 ... 65535 (x2) |
Frame ID | f_id | F | 32bit integer | uint32 0 ... 4.294.967.295 |
Frame Time | time | t | 64bit OSC time tag | sec/nsec |
Point Coordinate | x_pos, y_pos, z_pos | x y z | 32bit float | 0.0f ... 1.0f |
Angle | angle | a | 32bit float | 0.0f ... 2Pi |
Pressure/Hover | press | p | 32bit float | -1.0f ...1.0f |
Motion Velocity | x_vel, y_vel, z_vel | X Y Z | 32bit float | -n ... n |
Acceleration | m_acc | m | 32bit float | -n ... n |
Rotation Velocity | r_vel | A | 32bit float | -n ... n |
Rotation Accel | r_acc | r | 32bit float | -n ... n |
Width | width | w | 32bit float | 0.0f ... 1.0f |
Height | height | h | 32bit float | 0.0f ... 1.0f |
Depth | depth | d | 32bit float | 0.0f ... 1.0f |
Area/Volume | area/vol | f/v | 32bit float | 0.0f ... 1.0f |
Link ID | l_id | L | 32bit integer | uint16 0 ... 65535 (x2) |
Source Name | source | N | OSC String | nx4 bytes |
Symbol Data | data | D | OSC String/Blob | nx4 bytes |
Data MIME Type | mime | M | OSC String | nx4 bytes |
Symbol Group | group | G | OSC String | nx4 bytes |
Node Jump | node | n | 32bit integer | uint32 0 ... 4.294.967.295 |
Custom Parameter | int, float, string ... | P | any OSC type |
Nice, feel free to do a PR for it, it was indeed in the TODO i never got back to.
Describe the bug When using a DISPLAX tag supporting TUIO on a DISPLAX screen, oscpy TUIO listener crash:
To Reproduce Code example showing the issue:
Expected behavior I should not expect crashing. Maybe due to type or bundle issue, will search.
Logs/output If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):