Example: Sensor configuration file for USB camera

Updated: May 06, 2022

The following configuration file is for one USB camera connected the target.

When there's only one USB camera connected to the board, you can use wildcards in the address parameter, which are denoted by four -1 values. Here's what the configuration file looks like:
begin SENSOR_UNIT_1
    type = usb_camera
    name = front
    position = 0, 0, 0
    direction = 0, 0, 1
    address = /dev/usb/io-usb-otg, -1, -1, -1, -1
end SENSOR_UNIT_1