reachy_sdk.force_sensor

This module define the Force Sensor class.

class reachy_sdk.force_sensor.ForceSensor(name, uid, state)

The Force sensor class.

The Force Sensor class is used to store the up-to-date force read by the sensor.

Parameters:
  • name (str) –

  • uid (int) –

  • state (ForceSensorState) –

property force

Get the current force read by the sensor.

property name

Get the name of the force sensor.

property uid

Get the name of the force sensor.