Blame
|
1 | ## OSC |
||||||
| 2 | ||||||||
| 3 | The OSC publisher sends published values as [Open Sound Control](https://opensoundcontrol.stanford.edu/) messages over UDP. Each value is sent to an address matching its path in the workspace. |
|||||||
| 4 | *[OSC]: Open Sound Control |
|||||||
| 5 | ||||||||
| 6 | Since OSC has no array type, collections are expanded into multiple messages: |
|||||||
| 7 | - Point clouds send their size to `<address>/count`, then one message per point to `<address>/<index>`. |
|||||||
| 8 | - Bounding boxes are sent as one message of their minimum corner followed by their maximum corner. |
|||||||
| 9 | ||||||||
| 10 | ### Publisher Properties |
|||||||
| 11 | - **Host**: the IP address of the receiving application. |
|||||||
| 12 | - **Port**: the UDP port of the receiving application. |
|||||||
| 13 | - **Position Encoding**: send positions as integer millimetres, or as floating point metres. |
|||||||
| 14 | - **Max Cloud Points**: the maximum number of points sent for any single point cloud. Extra points are dropped. |
|||||||
| 15 | ||||||||
| 16 | --- |
|||||||
| 17 | ||||||||
| 18 | ::: buttonlink |
|||||||
| 19 | [View publisher source](https://github.com/matth-av/pointcaster/blob/qt/src/publishers/osc/osc_sender.cc) |
|||||||
| 20 | ::: |
|||||||
