Example: Sensor configuration file for radar

Updated: May 06, 2022

In this example, radar is connected directly to the target. The packet_size parameter for radar specifies the number of tracks (or tracked objects). The number you specify must be a multiple of 64.

Here's what the configuration file looks like:

begin SENSOR_UNIT_1
    type = radar
    name = front
    direction = 0,0,0
    position = 3760,0,0
    address = /dev/usb/io-usb-otg, -1, -1, -1, -1, 0, delphi_esr
    packet_size = 64
    data_format =SENSOR_FORMAT_RADAR_POLAR
end SENSOR_UNIT_1