Share via


ContactSensor Members

Microsoft Robotics Class Reference

The ContactSensor type exposes the following members.

Constructors

  Name Description
Public method ContactSensor() () () ()
Initializes a new instance of the ContactSensor class
Public method ContactSensor(Int32, String)
Initializes a new instance of the ContactSensor class

Methods

  Name Description
Public method Clone
Clones ContactSensor
Public method CopyTo
Copies the data member values of the current ContactSensor to the specified target object
Public method Deserialize
Deserializes ContactSensor
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Serialize
Serializes the data member values of the current ContactSensor to the specified writer
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property HardwareIdentifier
Descriptive identifier number for this sensor
Public property Name
Descriptive identifier string for this sensor (or bank of sensors)
Public property Pose
Position and orientation
Public property Pressed
The state of the binary sensor
Public property TimeStamp
Last time sensor was updated

See Also

ContactSensor Class

Microsoft.Robotics.Services.ContactSensor.Proxy Namespace