> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Sensor

## Sensor

Inherits from: `ABC`

Abstract base class for all sensors.

Defines the interface that all sensor implementations must follow.
Sensors provide data through the getData() method.

### getData

```python theme={null}
Sensor.getData() -> Any
```

Get the data from the sensor.

<ResponseField name="Returns">
  <ResponseField name="Any" type="Any">
    The sensor data in implementation-specific format
  </ResponseField>
</ResponseField>

<ResponseField name="Raises">
  <ParamField query="NotImplementedError" type="">
    Must be implemented by subclasses
  </ParamField>
</ResponseField>
