Configure a Velodyne Camera

A velodyne camera uses velodyne lidar. The velodyne must be running locally at address 127.0.0.1.

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

Creation of a velodyne camera in the Viam app config builder.

Fill in the attributes for your velodyne camera:

Configuration of a velodyne camera in the Viam app config builder.
{
    "name": "<camera_name>",
    "type": "camera",
    "model" : "velodyne",
    "attributes": {
        "port": <integer>,
        "ttl_ms": <integer>,
    }
}

The following attributes are available for velodyne cameras:

NameInclusionDescription
portRequiredSpecify the port the velodyne camera is running on.
ttl_msRequiredSpecify the milliseconds ???.

View the camera stream

Once your camera is connected, go to the CONTROL tab, and click on the camera’s dropdown menu. Toggle “View Camera”. If everything is configured correctly, you will see the live video feed from your camera.

Example Camera view inside Viam app

Next Steps