Configure a Fake Base

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

Configure a fake base as follows:

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

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

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

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

Test the base

After you configure the base, go to the Control tab and expand the base component to view the controls to enable keyboard or discrete control over your robot’s movement. If your base makes use of a camera component, the Control tab for your base will also display a Live Feeds section. This section contains buttons to toggle cameras on or off and to arrange how you view the camera feeds.

The base component in control tab

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.