Movement Sensor Component

This section documents the configuration attributes for each built-in movement sensor model. Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.

  • For how to add and configure a movement sensor component on your machine, see Movement sensor.
  • For the methods you call on a movement sensor in code, see the Movement sensor API reference.
  • For movement sensor models outside the built-in set, browse the Viam registry. Each registry module’s configuration is documented in its own README on its registry page.

Built-in models

The following movement sensor models ship with viam-server:

ModelDescription
fakeA model for testing, with no physical hardware.
mergedA model that allows you to aggregate the API methods supported by multiple sensors into a singular sensor client, effectively merging the models of the individual resources.
wheeled-odometryA model that uses encoders to get an odometry estimate from a wheeled base.

Micro-RDK models

The following movement sensor models ship with the Micro-RDK:

ModelDescription
accel-adxl345
gyro-mpu6050