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: Optional[Tuple[float, float, float]] = None)

Bases: jacdac.bus.SensorClient

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

property rotation_rates Optional[Tuple[float, float, float]]

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

property rotation_rates_error Optional[float]

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

property max_rate Optional[float]

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