Advanced Modular Resources
Some use cases may require advanced considerations when designing or deploying modular resources. Depending on your needs, you may wish to define a new API subtype, deploy a custom component using a server on a remote part, or design a custom ML model.
New API subtypes
If your resource does not fit into any of the existing component or service subtypes or you want to define different methods for the API, you can use the generic API with
DoCommand or define a new resource subtype and an API for that subtype.
Custom components as remotes
Running modular resources on the board directly connected to your components is the preferred way of managing and controlling custom components.
However, if you are unable to use modular resources because you need to host
viam-server on a non-Linux system or have an issue with compilation, you may need to implement a custom component and register it on a server configured as a remote on your machine.
Design a custom ML model
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: