This plug-in provides support for the Xsens MT tracking device. The Xsens MT only supports rotation data.
The Xsens plug-in is implemented as a Vizard extension. The Xsens extension object has the following methods:
|
Method |
Description |
|
<xsens>.addMT(port=0,baudRate=0) |
Returns Xsens MT sensor at specified port and baudRate. If port is 0, then the plug-in will search for the next available device. If baudRate is 0, then the device baud rate will be automatically determined. |
NOTE: When connecting to a Xbus device, you need to call xsens.addMT() for each sensor connected to the device.
The following example shows how to connect to the first available Xsens MT device:
#Create xsens extenstion
xsens = viz.add('xsens.dle')
#Connect to first available Xsens MT device
sensor = xsens.addMT()
The following example shows how to connect to a Xbus device with 3 sensors on COM 4: