Configure a fake Servo

You can use a fake servo to test implementing a servo component on your robot without any physical hardware.

Configure a fake servo as follows:

Navigate to the Config tab of your robot’s page in the Viam app. Click on the Components subtab and navigate to the Create component menu. Enter a name for your servo, select the type servo, and select the fake model.

Click Create component:

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

{
    "name": "<your-fake-servo-name>",
    "type": "servo",
    "model": "fake",
    "attributes": {}
}

No attributes are available for fake servos. See GitHub for API call return specifications.



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