Micro-RDK Motor Models
A motor is a rotating machine that transforms electrical energy into mechanical energy. For more information and models supported by the RDK, see Motor Component.
Supported models
For configuration information, click on the supported motor model name:
Model | Description |
---|---|
gpio | Standard brushed or brushless DC motor |
Add support for other models
If none of the existing models fit your use case, you can create a modular resource to add support for it.
The micro-RDK works differently from the RDK, so creating modular resources for it is different. Refer to the Micro-RDK Module Template on GitHub for information on how to create custom resources for your micro-RDK machine. You will need to recompile and flash your ESP32 yourself instead of using Viam’s prebuilt binary and installer.
API
The micro-RDK motor API supports only the following client SDK API methods, which operate the same as in the full-featured RDK:
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!