Configure a fake encoder

The fake encoder is an encoder model for testing code without any hardware.

On the COMPONENTS subtab, navigate to the Create Component menu. Enter a name for your encoder, select the type encoder, and select the fake model.

Creation of a fake encoder in the Viam app config builder.

Fill in the attributes for your encoder:

Configuration of a fake encoder in the Viam app config builder.
{
    "name": "<encoder_name>",
    "type": "encoder",
    "model" : "fake",
    "attributes": {}
}