Example: Sensor configuration file for NovAtel GPS and IMU sensors

Updated: May 06, 2022

In this example, a NovAtel GPS and IMU sensor are connected to the board.

Here's what the configuration file looks like:

begin SENSOR_UNIT_1
    type = gps
    name = novatel_oem6_gps
    packet_size = 1
    sample_frequency = 20
    data_format = SENSOR_FORMAT_GPS
    position = 0,0,0
    direction = 0,0,0
    address = /dev/serusb1, oem6
end SENSOR_UNIT_1

begin SENSOR_UNIT_2
    type = imu
    name = novatel_oem6_imu
    packet_size = 1
    sample_frequency = 50
    data_format = SENSOR_FORMAT_IMU
    position = 0,0,0
    direction = 0,0,0
    address = /dev/serusb1, oem6
end SENSOR_UNIT_2