Configure a Velodyne Camera

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

Navigate to the CONFIGURE tab of your machine’s page in the Viam app. Click the + icon next to your machine part in the left-hand menu and select Component. Select the camera type, then select the velodyne model. Enter a name or use the suggested name for your camera and click Create.

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

Edit and fill in the attributes as applicable.

{
  "name": "<your-camera-name>",
  "model": "velodyne",
  "type": "camera",
  "namespace": "rdk",
  "attributes": {
    "port": <int>,
    "ttl_ms": <int>,
  }
}

The following attributes are available for velodyne cameras:

NameTypeInclusionDescription
portintRequiredThe port the Velodyne camera is running on. Try 2368 if you are unsure.
ttl_msintRequiredFrequency in milliseconds to output the TTL signal from the camera.

View the camera stream

Once your camera is configured and connected, go to the CONTROL tab, and click on the camera’s dropdown menu. Then toggle the camera or the Point Cloud Data view to ON. If everything is configured correctly, you will see the live video feed from your camera. You can change the refresh frequency as needed to change bandwidth.

Example Camera view inside Viam app

Next steps



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.