Example: Sensor configuration file for GPS (XSens)

Updated: October 28, 2024

In this example, an XSens global positioning system (GPS) is connected directly to the target. The vendorID and deviceID identifies the Kvaser CAN cable that's supported for this release.

Here's what the configuration file looks like:

begin SENSOR_UNIT_1
    type = gps
    name = GpsLocation
    position = 0, 0, 0
    direction = 0, 0, 0
    address = /dev/usb/io-usb-otg, -1, -1, 0x2639, 0x17, xsens_mti-g-710
    packet_size = 1
    data_format = SENSOR_FORMAT_GPS
    sample_frequency = 10
    filter_profile = general
end SENSOR_UNIT_1

begin SENSOR_UNIT_2
    type = imu
    name = ImuLocation
    position = 0, 0, 0
    direction = 0, 0, 0
    address = /dev/usb/io-usb-otg, -1, -1, 0x2639, 0x17, xsens_mti-g-710
    packet_size = 1
    data_format = SENSOR_FORMAT_IMU
    driver_path = /dev/usb/io-usb-otg
    sample_frequency = 10
end SENSOR_UNIT_2
  翻译: