Generic Analog Sensor Array
Glossary Item Box
The Generic Analog Sensor Array service is similar to the Generic Analog Sensor service in that it enables you to access data from analog sensors. However, rather than having to access each sensor individually you can access them as a set. This is typically more efficiently when you have a collection of the same type of sensor.
The Generic Analog Sensor Array service provides two basic operations:
|Get||Returns the current state of an analog sensor.|
|AnalogSensorsReplace||Changes the state of a sensor in the sensor array or indicates when the sensor's state has changed.|
The state of a Generic Analog Sensor Array is a list of the states of the sensors in the array. By indexing through the array you can access the state of an individual sensor. The properties of the state of an individual sensor in the array include:
|HardwareIdentifier||int||The hardware port that the sensor uses.|
|NormalizedMeasurement||double||The normalized input value.|
|Pose||Pose||The position and orientation of the sensor.|
|RawMeasurement||double||The raw input value from the sensor.|
|RawMeasurementRange||double||The upper bound of the raw measurement.|
|TimeStamp||DateTime||The timestamp of the sensor reading.|
AnalogSensorsReplace can be used as a request to set (or change) the state of a sensor in the array, such as its HardwareIdentifier or Pose. It is also available as a notification that provides updates when a sensor's state changes, providing a reading of its RawMeasurement and its NormalizedMeasurement, the latter being a value from 0 to 1, calculated by dividing the RawMeasurement by the RawMeasurementRange. You can also use Get to request a explicitly request the current state of the sensor array.
Updated information might be available online in the MSDN Library page:
Analog Sensor Array
VPL Robotics Services: Robotics Services Overview
© 2012 Microsoft Corporation. All Rights Reserved.