Transform
The transformation component contains information about the physical system setup that is used to:
- Transform data from sensor coordinate system to another coordinate system (e.g., world)
- Define encoder resolution for encoder-based triggering
- Define the travel offset (Y offset) between sensors for staggered operation
You can access the
You can access
See the following sections for the elements contained in
Transformation Example:
<?xml version="1.0" encoding="UTF-8"?>
<Transform version="100">
<EncoderResolution>1</EncoderResolution>
<Speed>100</Speed>
<Devices>
<Device role="0">
<X>-2.3650924829</X>
<Y>0.0</Y>
<Z>123.4966803469</Z>
<XAngle>5.7478302588</XAngle>
<YAngle>3.7078302555</XAngle>
<ZAngle>2.7078302556</XAngle>
</Device>
<Device id="1">
<X>0</X>
<Y>0.0</Y>
<Z>123.4966803469</Z>
<XAngle>5.7478302588</XAngle>
<YAngle>3.7078302555</XAngle>
<ZAngle>2.7078302556</XAngle>
</Device>
</Devices>
</Transform>
The Transform element contains the alignment record for
Element |
Type |
Description |
---|---|---|
@version | 32u | Major transform version (100). |
@versionMinor | 32u | Minor transform version (0). |
EncoderResolution |
64f |
Encoder Resolution (mm/tick). |
Speed |
64f |
Travel Speed (mm/s). |
Devices | (Collection) |
Contains two Device elements. |
Device
A Device element defines the transformation for a sensor. There is one entry element per sensor, identified by a unique role attribute (0 for main and 1 for buddy):
Element |
Type |
Description |
---|---|---|
@role | 32s |
Role of device described by this section: 0 – Main 1 – Buddy |
X |
64f |
Translation on the X axis (mm). |
Y |
64f |
Translation on the Y axis (mm). |
Z |
64f |
Translation on the Z axis (mm). |
XAngle |
64f |
Rotation around the X axis (degrees). |
YAngle |
64f |
Rotation around the Y axis (degrees). |
ZAngle |
64f |
Rotation around the Z axis (degrees). |
The rotation (counter-clockwise in the X-Z plane) is performed before the translation.