Example: Sensor configuration file for file camera

Updated: May 06, 2022

This is a configuration file for file cameras. File cameras aren't real cameras, but a configuration that plays a video.

In this example, the MP4 files reside on the target. Your camera application must have access to the files that you configure. Here's what the configuration file looks like:
begin SENSOR_UNIT_1
    type = file_camera
    name = front
    position = 0, 0, 0
    direction = 0, 0, 1
    address = /accounts/1000/shared/videos/frontviewvideo1.mp4
end SENSOR_UNIT_1

begin SENSOR_UNIT_2
    type = file_camera
    name = rear
    position = 0, 0, 0
    direction = 0, 0, 1
    address = /accounts/1000/shared/videos/rearviewvideo2.mp4
end SENSOR_UNIT_2