qisdk / com.aldebaran.qi.sdk.object.touch / Touch / getSensor

getSensor

abstract fun getSensor(name: String!): TouchSensor!

Get the TouchSensor object associated with a sensor.

Parameters

name - String!: The sensor name.

Exceptions

RuntimeException - if the sensor name is unknown.

Return
TouchSensor!: A TouchSensor object.

Since
1