PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Generic Sensor tracker

This device allows you to collect sensor data from sensors with drivers compliant with the Windows Sensor and Location platform.

Supported sensors

For now, this device can handle the following type of sensors:

  • accelerometer
  • gyrometer

The sensor drivers must be compliant with the Windows Sensor and Location platform.

The following sensors have been tested:

  • STMicroelectronics 3-axis Accelerometer

Supported platforms

Windows version: >= 7

Installation

Install the sensor drivers if not installed by default on the target platform.

Device configuration settings

  • attribute.png
    Type = "GenericSensor"
    required.png
  • attribute.png
    UseReportedTimestamp Choose whether to use timestamp reported by the sensor or timestamp computed according to the update time.
    optional.png
    Default = "FALSE"
  • element.png
    DataSources One DataSource child element is required per sensor type.
    required.png
    • element.png
      DataSource Data source
      required.png
      • attribute.png
        PortName Port name
        required.png
        • Accelerometer Raw sensor measurement. The values are stored in the translation part of the transformation matrix. The rotation part is identity.
        • Gyrometer Raw sensor measurement. The values (angular velocity in degrees/s) are stored in the translation part of the transformation matrix. The rotation part is identity.
      • attribute.png
        SerialNumber Serial number
        optional.png
        Default = " "
        • If specified then connection is made to the device that has a matching SerialNumber. Otherwise, the first detected device is selected.

Example configuration file PlusDeviceSet_Server_GenericSensor.xml

<PlusConfiguration version="2.1">
<DataCollection StartupDelaySec="1.0">
<DeviceSet Name="PlusServer: Generic sensor" Description="Broadcasting available sensors tracking data through OpenIGTLink" />
<Device Id="TrackerDevice" Type="GenericSensor" ToolReferenceFrame="Tracker">
<DataSources>
<DataSource Type="Tool" Id="Accelerometer" PortName="Accelerometer" />
</DataSources>
<OutputChannels>
<OutputChannel Id="TrackerStream">
<DataSource Id="Accelerometer"/>
</OutputChannel>
</OutputChannels>
</Device>
<Device Id="CaptureDevice" Type="VirtualCapture" BaseFilename="RecordingTest.igs.mha" EnableCapturingOnStart="FALSE">
<InputChannels>
<InputChannel Id="TrackerStream" />
</InputChannels>
</Device>
</DataCollection>
<PlusOpenIGTLinkServer MaxNumberOfIgtlMessagesToSend="1" MaxTimeSpentWithProcessingMs="50" ListeningPort="18944" OutputChannelId="TrackerStream">
<DefaultClientInfo>
<MessageTypes>
<Message Type="TRANSFORM" />
</MessageTypes>
<TransformNames>
<Transform Name="AccelerometerToTracker" />
</TransformNames>
</DefaultClientInfo>
</PlusOpenIGTLinkServer>
</PlusConfiguration>