Motor Component
This section documents the configuration attributes for each built-in motor 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 motor component on your machine, see Motor.
- For the methods you call on a motor in code, see the Motor API reference.
- For motor 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 motor models ship with viam-server:
| Model | Description |
|---|---|
dmc4000 | Stepper motor driven by a DMC-40x0 series motion controller. |
encoded-motor | Standard brushed or brushless DC motor with an encoder. |
fake | A model for testing, with no physical hardware. |
gpio | Supports standard brushed or brushless DC motors. |
gpiostepper | Supports stepper motors driven by basic GPIO-controlled stepper driver chips. |
Micro-RDK models
The following motor models ship with the Micro-RDK:
| Model | Description |
|---|---|
gpio | — |
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!