Servo Component

This section documents the configuration attributes for each built-in servo 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 servo component on your machine, see Servo.
  • For the methods you call on a servo in code, see the Servo API reference.
  • For servo 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 servo models ship with viam-server:

ModelDescription
fakeA model used for testing, with no physical hardware.
gpioSupports a hobby servo wired to a board that supports PWM, for example Raspberry Pi 5, Orange Pi, Jetson, or PCAXXXX.

Micro-RDK models

The following servo models ship with the Micro-RDK:

ModelDescription
gpio