Xsens OSC to Max/MSP

Is possible to send Xsens skeleton data to Max/MSP using OSC messages.

  1. Launch Xsens MVN
  2. Go to ‌Option -> Network Streamer.
  3. Add a new destination configuration and set the Host (IP address) and the Port to 7000 where you want to stream the data. The Protocol need to be UDP.
  4. Make sure to set Position + Orientation (Quaternion) and/or Position + Orientation (Euler) when streaming.
  5. Launch Max/MSP and start the XsensUDP.maxhelp (you can find it on D:\00_core\MaxMSP_Packages\IASpace-tools\help or directly linked to the packages folder: C:\Users\IAAdmin\Documents\Max 8\Packages\IASpace-tools\help)
  6. Use OSC-route /address to select and route the messages.

The OSC messages received will look like this: /skeleton/skeleton i/bone/bone i/type f(x) f(y) f(z)

Where:

  • skeleton i = ID of the skeleton from 0-10
  • bone i = joint ID from 1-23 (check table)
  • type = position or orientation
  • f(x) f(y) f(z) = data parameters
Bone IDBone name
1pelvis
2l5
3l3
4t12
5t8
6neck
7head
8right_shoulder
9right_upper_arm
10right_fore_arm
11right_hand
12left_shoulder
13left_upper_arm
14left_fore_arm
15left_hand
16right_upper_leg
17right_lower_leg
18right_foot
19right_toe
20left_upper_leg
21left_lowr_leg
22left_foot
23left_toe

If the MaxMSP_Packages aren’t installed on the computer please refer to our git at this address: https://gitlab.zhdk.ch/iaspace/infrastructure/maxmsp/maxmsp_packages