Configure a Fake Generic Service

Configure a fake generic service to test implementing a generic service on your machine:

Navigate to the Config tab of your machine’s page in the Viam app. Click on the Services subtab and click Create service. Select the generic type, then select the fake model. Enter a name for your generic service and click Create.

An example configuration for a fake generic service in the Viam app Config Builder.

{
  "name": "<your-fake-generic-service-name>",
  "model": "fake",
  "type": "generic",
  "namespace": "rdk",
  "attributes": {}
}

No attributes are available for the fake generic service. See GitHub for API call return specifications.



Have questions, or want to meet other people working on robots? Join our Community Discord.

If you notice any issues with the documentation, feel free to file an issue or edit this file.