Configure a fake board

Configure a fake board to test integrating a board into your robot without physical hardware:

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 board, select the type board, and select the fake model.

Click Create component.

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

Edit and fill in the attributes as applicable.

{
  "components": [
    {
      "name": "your-fake-board",
      "type": "board",
      "model": "fake",
      "attributes": {
        "fail_new": false
      },
      "depends_on": []
    }
  ]
}

The following attributes are available for fake boards:

NameTypeInclusionDescription
fail_newboolRequiredIf the fake board should raise an error at robot start-up.


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