Extend Viam with custom resources
Viam’s Robot Development Kit (RDK) provides built-in support for a variety of resources:
- Various types and models of hardware components.
- High-level functionality exposed as services.
However, you may want to use a hardware component to build your robot that is not built-in to the RDK. Alternatively, you might want to add new functionality to an existing model of component or create a custom service for your robot to use. You can extend Viam in these and other ways by creating and using custom resources.
Click on the cards below for instructions on implementing custom resources through modules or remotes:
Tip
Modular resources are the preferred method of creating custom resource implementations with the Python and Go SDKs.
Adding a custom component as a remote is recommended if you are hosting viam-server
on a non-Linux system or have another issue with compilation.
Was this page helpful?
Glad to hear it! If there is anything we could be doing better, please create an issue.
We're sorry about that. If you'd like to talk to us for help, please join the Community Discord. To ensure we know what's wrong with this page, you can also open an issue.