jacdac.gyroscope

Submodules

Package Contents

Classes

GyroscopeClient

A 3-axis gyroscope.

class jacdac.gyroscope.GyroscopeClient(bus: jacdac.bus.Bus, role: str, *, missing_rotation_rates_value: Tuple[float, float, float] | None = None)

Bases: jacdac.bus.SensorClient

A 3-axis gyroscope. Implements a client for the Gyroscope service.

property rotation_rates: Tuple[float, float, float] | None

Indicates the current rates acting on gyroscope., x: °/s,y: °/s,z: °/s

property rotation_rates_error: float | None

(Optional) Error on the reading value., _: °/s

property max_rate: float | None

(Optional) Configures the range of rotation rates. The value will be “rounded up” to one of max_rates_supported., _: °/s