Share via


Contact Sensors

Glossary Item Box

Robotics Common: Robotics Common Overview

See Also Microsoft Robotics Developer Studio Send feedback on this topic

Contact Sensors

Contact Sensors

The Generic Contact Sensors service supports operations on sensors that have a pressed and unpressed state, such as bumpers or push-buttons.

The Generic Contact Sensors service provides the following operations:

Operation Description
Get Returns the current state of the sensor service.
ContactSensorsReplace Changes the state of a set of contact sensors or indicates when the sensors' state has changed.
ContactSensorUpdate Updates or notifies an update to a contact sensor.

ContactSensorsReplace returns the set (list) of contact sensors. ContactSensorUpdate provides the state of an individual sensor.

Name Type Description
HardwareIdentifier int The hardware port that the sensor uses.
Name string A descriptive identifier for the sensor.
Pose Pose The position and orientation of the sensor.
Pressed Boolean Indicates if the sensor is pressed (true) or not (false).
TimeStamp DateTime The timestamp of the sensor reading.

Updated information might be available online in the MSDN Library page:
Contact Sensors

See Also 

Robotics Common: Robotics Common Overview

 

 

© 2012 Microsoft Corporation. All Rights Reserved.