// defines adapted from Inertial Sense data_sets.h
publicstaticintDID_NULL=0;/** NULL (INVALID) */
publicstaticintDID_DEV_INFO=1;/** (dev_info_t) Device information */
publicstaticintDID_SYS_FAULT=2;/** (system_fault_t) System fault information */
publicstaticintDID_PIMU=3;/** (pimu_t) Preintegrated IMU (a.k.a. Coning and Sculling integral) in body/IMU frame. Updated at IMU rate. Also know as delta theta delta velocity, or preintegrated IMU (PIMU). For clarification, the name "Preintegrated IMU" or "PIMU" throughout our User Manual. This data is integrated from the IMU data at the IMU update rate (startupImuDtMs, default 1ms). The integration period (dt) and output data rate are the same as the NAV rate (startupNavDtMs) and cannot be output at any other rate. If a faster output data rate is desired, DID_IMU_RAW can be used instead. PIMU data acts as a form of compression, adding the benefit of higher integration rates for slower output data rates, preserving the IMU data without adding filter delay and addresses antialiasing. It is most effective for systems that have higher dynamics and lower communications data rates. The minimum data period is DID_FLASH_CONFIG.startupImuDtMs or 4, whichever is larger (250Hz max). The PIMU value can be converted to IMU by dividing PIMU by dt (i.e. IMU = PIMU / dt) */
publicstaticintDID_INS_1=4;/** (ins_1_t) INS output: euler rotation w/ respect to NED, NED position from reference LLA. */
publicstaticintDID_INS_2=5;/** (ins_2_t) INS output: quaternion rotation w/ respect to NED, ellipsoid altitude */
publicstaticintDID_GPS1_UBX_POS=6;/** (gps_pos_t) GPS 1 position data from ublox receiver. */
publicstaticintDID_SYS_CMD=7;/** (system_command_t) System commands. Both the command and invCommand fields must be set at the same time for a command to take effect. */
publicstaticintDID_ASCII_BCAST_PERIOD=8;/** (ascii_msgs_t) Broadcast period for ASCII messages */
publicstaticintDID_RMC=9;/** (rmc_t) Realtime Message Controller (RMC). The data sets available through RMC are driven by the availability of the data. The RMC provides updates from various data sources (i.e. sensors) as soon as possible with minimal latency. Several of the data sources (sensors) output data at different data rates that do not all correspond. The RMC is provided so that broadcast of sensor data is done as soon as it becomes available. All RMC messages can be enabled using the standard Get Data packet format. */
publicstaticintDID_SYS_PARAMS=10;/** (sys_params_t) System parameters / info */
publicstaticintDID_SYS_SENSORS=11;/** (sys_sensors_t) System sensor information */
publicstaticintDID_GPS1_POS=13;/** (gps_pos_t) GPS 1 position data. This comes from DID_GPS1_UBX_POS or DID_GPS1_RTK_POS, depending on whichever is more accurate. */
publicstaticintDID_GPS2_POS=14;/** (gps_pos_t) GPS 2 position data */
publicstaticintDID_GPS1_SAT=15;/** (gps_sat_t) GPS 1 GNSS and sat identifiers, carrier to noise ratio (signal strength), elevation and azimuth angles, pseudo range residual. */
publicstaticintDID_GPS2_SAT=16;/** (gps_sat_t) GPS 2 GNSS and sat identifiers, carrier to noise ratio (signal strength), elevation and azimuth angles, pseudo range residual. */
publicstaticintDID_GPS1_VERSION=17;/** (gps_version_t) GPS 1 version info */
publicstaticintDID_GPS2_VERSION=18;/** (gps_version_t) GPS 2 version info */
publicstaticintDID_COMMUNICATIONS_LOOPBACK=56;/** INTERNAL USE ONLY - Unit test for communications manager */
publicstaticintDID_IMU3_UNCAL=57;/** INTERNAL USE ONLY (imu3_t) Uncalibrated triple IMU data. We recommend use of DID_IMU or DID_PIMU as they are calibrated and oversampled and contain less noise. Minimum data period is DID_FLASH_CONFIG.startupImuDtMs or 4, whichever is larger (250Hz max). */
publicstaticintDID_IMU=58;/** (imu_t) Inertial measurement unit data down-sampled from IMU rate (DID_FLASH_CONFIG.startupImuDtMs (1KHz)) to navigation update rate (DID_FLASH_CONFIG.startupNavDtMs) as an anti-aliasing filter to reduce noise and preserve accuracy. Minimum data period is DID_FLASH_CONFIG.startupNavDtMs (1KHz max). */
publicstaticintDID_GPS_BASE_RAW=60;/** (gps_raw_t) GPS raw data for base station (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticintDID_GPS_RTK_OPT=61;/** (gps_rtk_opt_t) RTK options - requires little endian CPU. */
publicstaticintDID_REFERENCE_PIMU=62;/** (pimu_t) Reference or truth IMU used for manufacturing calibration and testing */
publicstaticintDID_MANUFACTURING_INFO=63;/** INTERNAL USE ONLY (manufacturing_info_t) Manufacturing info */
publicstaticintDID_BIT=64;/** (bit_t) System built-in self-test */
publicstaticintDID_INS_3=65;/** (ins_3_t) Inertial navigation data with quaternion NED to body rotation and ECEF position. */
publicstaticintDID_INS_4=66;/** (ins_4_t) INS output: quaternion rotation w/ respect to ECEF, ECEF position. */
publicstaticintDID_INL2_NED_SIGMA=67;/** (inl2_ned_sigma_t) Standard deviation of INL2 EKF estimates in the NED frame. */
publicstaticintDID_STROBE_IN_TIME=68;/** (strobe_in_time_t) Timestamp for input strobe. */
publicstaticintDID_GPS1_RAW=69;/** (gps_raw_t) GPS raw data for rover (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticintDID_GPS2_RAW=70;/** (gps_raw_t) GPS raw data for rover (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticintDID_WHEEL_ENCODER=71;/** (wheel_encoder_t) Wheel encoder data to be fused with GPS-INS measurements, set DID_GROUND_VEHICLE for configuration before sending this message */
publicstaticintDID_SURVEY_IN=73;/** (survey_in_t) Survey in, used to determine position for RTK base station. Base correction output cannot run during a survey and will be automatically disabled if a survey is started. */
publicstaticintDID_CAL_SC_INFO=74;/** INTERNAL USE ONLY (sensor_cal_info_t) */
publicstaticintDID_PORT_MONITOR=75;/** (port_monitor_t) Data rate and status monitoring for each communications port. */
publicstaticintDID_RTK_STATE=76;/** INTERNAL USE ONLY (rtk_state_t) */
publicstaticintDID_RTK_PHASE_RESIDUAL=77;/** INTERNAL USE ONLY (rtk_residual_t) */
publicstaticintDID_RTK_CODE_RESIDUAL=78;/** INTERNAL USE ONLY (rtk_residual_t) */
publicstaticintDID_RTK_DEBUG=79;/** INTERNAL USE ONLY (rtk_debug_t) */
publicstaticintDID_EVB_STATUS=80;/** (evb_status_t) EVB monitor and log control interface. */
// public static int DID_UNUSED_84 = 84; /** Unused */
publicstaticintDID_IMU_MAG=85;/** (imu_mag_t) DID_IMU + DID_MAGNETOMETER. Only one of DID_IMU_MAG or DID_PIMU_MAG should be streamed simultaneously. */
publicstaticintDID_PIMU_MAG=86;/** (pimu_mag_t) DID_PIMU + DID_MAGNETOMETER. Only one of DID_IMU_MAG or DID_PIMU_MAG should be streamed simultaneously. */
publicstaticintDID_GROUND_VEHICLE=87;/** (ground_vehicle_t) Static configuration for wheel transform measurements. */
publicstaticintDID_POSITION_MEASUREMENT=88;/** (pos_measurement_t) External position estimate */
publicstaticintDID_RTK_DEBUG_2=89;/** INTERNAL USE ONLY (rtk_debug_2_t) */
publicstaticintDID_CAN_CONFIG=90;/** (can_config_t) Addresses for CAN messages*/
publicstaticintDID_GPS2_RTK_CMP_REL=91;/** (gps_rtk_rel_t) Dual GNSS RTK compassing / moving base to rover (GPS 1 to GPS 2) relative info. */
publicstaticintDID_GPS2_RTK_CMP_MISC=92;/** (gps_rtk_misc_t) RTK Dual GNSS RTK compassing related data. */
publicstaticintDID_EVB_DEV_INFO=93;/** (dev_info_t) EVB device information */
publicstaticintDID_INFIELD_CAL=94;/** (infield_cal_t) Measure and correct IMU calibration error. Estimate INS rotation to align INS with vehicle. */
publicstaticintDID_REFERENCE_IMU=95;/** (imu_t) Raw reference or truth IMU used for manufacturing calibration and testing. Input from testbed. */
publicstaticintDID_IMU3_RAW=96;/** (imu3_t) Triple IMU data calibrated from DID_IMU3_UNCAL. We recommend use of DID_IMU or DID_PIMU as they are oversampled and contain less noise. */
publicstaticintDID_IMU_RAW=97;/** (imu_t) IMU data averaged from DID_IMU3_RAW. Use this IMU data for output data rates faster than DID_FLASH_CONFIG.startupNavDtMs. Otherwise we recommend use of DID_IMU or DID_PIMU as they are oversampled and contain less noise. */
publicstaticfinalintDID_DEV_INFO=1;/** (dev_info_t) Device information */
publicstaticfinalintDID_SYS_FAULT=2;/** (system_fault_t) System fault information */
publicstaticfinalintDID_PIMU=3;/** (pimu_t) Preintegrated IMU (a.k.a. Coning and Sculling integral) in body/IMU frame. Updated at IMU rate. Also know as delta theta delta velocity, or preintegrated IMU (PIMU). For clarification, the name "Preintegrated IMU" or "PIMU" throughout our User Manual. This data is integrated from the IMU data at the IMU update rate (startupImuDtMs, default 1ms). The integration period (dt) and output data rate are the same as the NAV rate (startupNavDtMs) and cannot be output at any other rate. If a faster output data rate is desired, DID_IMU_RAW can be used instead. PIMU data acts as a form of compression, adding the benefit of higher integration rates for slower output data rates, preserving the IMU data without adding filter delay and addresses antialiasing. It is most effective for systems that have higher dynamics and lower communications data rates. The minimum data period is DID_FLASH_CONFIG.startupImuDtMs or 4, whichever is larger (250Hz max). The PIMU value can be converted to IMU by dividing PIMU by dt (i.e. IMU = PIMU / dt) */
publicstaticfinalintDID_INS_1=4;/** (ins_1_t) INS output: euler rotation w/ respect to NED, NED position from reference LLA. */
publicstaticfinalintDID_INS_2=5;/** (ins_2_t) INS output: quaternion rotation w/ respect to NED, ellipsoid altitude */
publicstaticfinalintDID_GPS1_UBX_POS=6;/** (gps_pos_t) GPS 1 position data from ublox receiver. */
publicstaticfinalintDID_SYS_CMD=7;/** (system_command_t) System commands. Both the command and invCommand fields must be set at the same time for a command to take effect. */
publicstaticfinalintDID_ASCII_BCAST_PERIOD=8;/** (ascii_msgs_t) Broadcast period for ASCII messages */
publicstaticfinalintDID_RMC=9;/** (rmc_t) Realtime Message Controller (RMC). The data sets available through RMC are driven by the availability of the data. The RMC provides updates from various data sources (i.e. sensors) as soon as possible with minimal latency. Several of the data sources (sensors) output data at different data rates that do not all correspond. The RMC is provided so that broadcast of sensor data is done as soon as it becomes available. All RMC messages can be enabled using the standard Get Data packet format. */
publicstaticfinalintDID_SYS_PARAMS=10;/** (sys_params_t) System parameters / info */
publicstaticfinalintDID_SYS_SENSORS=11;/** (sys_sensors_t) System sensor information */
publicstaticfinalintDID_GPS1_POS=13;/** (gps_pos_t) GPS 1 position data. This comes from DID_GPS1_UBX_POS or DID_GPS1_RTK_POS, depending on whichever is more accurate. */
publicstaticfinalintDID_GPS2_POS=14;/** (gps_pos_t) GPS 2 position data */
publicstaticfinalintDID_GPS1_SAT=15;/** (gps_sat_t) GPS 1 GNSS and sat identifiers, carrier to noise ratio (signal strength), elevation and azimuth angles, pseudo range residual. */
publicstaticfinalintDID_GPS2_SAT=16;/** (gps_sat_t) GPS 2 GNSS and sat identifiers, carrier to noise ratio (signal strength), elevation and azimuth angles, pseudo range residual. */
publicstaticfinalintDID_GPS1_VERSION=17;/** (gps_version_t) GPS 1 version info */
publicstaticfinalintDID_GPS2_VERSION=18;/** (gps_version_t) GPS 2 version info */
publicstaticfinalintDID_DEBUG_ARRAY=39;/** INTERNAL USE ONLY (debug_array_t) */
publicstaticfinalintDID_SENSORS_MCAL=40;/** INTERNAL USE ONLY (sensors_w_temp_t) Temperature compensated and motion calibrated IMU output. */
publicstaticfinalintDID_GPS1_TIMEPULSE=41;/** INTERNAL USE ONLY (gps_timepulse_t) */
publicstaticfinalintDID_CAL_SC=42;/** INTERNAL USE ONLY (sensor_cal_t) */
publicstaticfinalintDID_CAL_TEMP_COMP=43;/** INTERNAL USE ONLY (sensor_tcal_group_t) */
publicstaticfinalintDID_CAL_MOTION=44;/** INTERNAL USE ONLY (sensor_mcal_group_t) */
publicstaticfinalintDID_UNUSED_45=45;/** used to be internal DID_SYS_SENSORS_SIGMA */
publicstaticfinalintDID_SENSORS_ADC_SIGMA=46;/** INTERNAL USE ONLY (sys_sensors_adc_t) */
publicstaticfinalintDID_REFERENCE_MAGNETOMETER=47;/** (magnetometer_t) Reference or truth magnetometer used for manufacturing calibration and testing */
publicstaticfinalintDID_COMMUNICATIONS_LOOPBACK=56;/** INTERNAL USE ONLY - Unit test for communications manager */
publicstaticfinalintDID_IMU3_UNCAL=57;/** INTERNAL USE ONLY (imu3_t) Uncalibrated triple IMU data. We recommend use of DID_IMU or DID_PIMU as they are calibrated and oversampled and contain less noise. Minimum data period is DID_FLASH_CONFIG.startupImuDtMs or 4, whichever is larger (250Hz max). */
publicstaticfinalintDID_IMU=58;/** (imu_t) Inertial measurement unit data down-sampled from IMU rate (DID_FLASH_CONFIG.startupImuDtMs (1KHz)) to navigation update rate (DID_FLASH_CONFIG.startupNavDtMs) as an anti-aliasing filter to reduce noise and preserve accuracy. Minimum data period is DID_FLASH_CONFIG.startupNavDtMs (1KHz max). */
publicstaticfinalintDID_GPS_BASE_RAW=60;/** (gps_raw_t) GPS raw data for base station (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticfinalintDID_GPS_RTK_OPT=61;/** (gps_rtk_opt_t) RTK options - requires little endian CPU. */
publicstaticfinalintDID_REFERENCE_PIMU=62;/** (pimu_t) Reference or truth IMU used for manufacturing calibration and testing */
publicstaticfinalintDID_MANUFACTURING_INFO=63;/** INTERNAL USE ONLY (manufacturing_info_t) Manufacturing info */
publicstaticfinalintDID_BIT=64;/** (bit_t) System built-in self-test */
publicstaticfinalintDID_INS_3=65;/** (ins_3_t) Inertial navigation data with quaternion NED to body rotation and ECEF position. */
publicstaticfinalintDID_INS_4=66;/** (ins_4_t) INS output: quaternion rotation w/ respect to ECEF, ECEF position. */
publicstaticfinalintDID_INL2_NED_SIGMA=67;/** (inl2_ned_sigma_t) Standard deviation of INL2 EKF estimates in the NED frame. */
publicstaticfinalintDID_STROBE_IN_TIME=68;/** (strobe_in_time_t) Timestamp for input strobe. */
publicstaticfinalintDID_GPS1_RAW=69;/** (gps_raw_t) GPS raw data for rover (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticfinalintDID_GPS2_RAW=70;/** (gps_raw_t) GPS raw data for rover (observation, ephemeris, etc.) - requires little endian CPU. The contents of data can vary for this message and are determined by dataType field. RTK positioning or RTK compassing must be enabled to stream this message. */
publicstaticfinalintDID_WHEEL_ENCODER=71;/** (wheel_encoder_t) Wheel encoder data to be fused with GPS-INS measurements, set DID_GROUND_VEHICLE for configuration before sending this message */
publicstaticfinalintDID_SURVEY_IN=73;/** (survey_in_t) Survey in, used to determine position for RTK base station. Base correction output cannot run during a survey and will be automatically disabled if a survey is started. */
publicstaticfinalintDID_CAL_SC_INFO=74;/** INTERNAL USE ONLY (sensor_cal_info_t) */
publicstaticfinalintDID_PORT_MONITOR=75;/** (port_monitor_t) Data rate and status monitoring for each communications port. */
publicstaticfinalintDID_RTK_STATE=76;/** INTERNAL USE ONLY (rtk_state_t) */
publicstaticfinalintDID_RTK_PHASE_RESIDUAL=77;/** INTERNAL USE ONLY (rtk_residual_t) */
publicstaticfinalintDID_RTK_CODE_RESIDUAL=78;/** INTERNAL USE ONLY (rtk_residual_t) */
publicstaticfinalintDID_RTK_DEBUG=79;/** INTERNAL USE ONLY (rtk_debug_t) */
publicstaticfinalintDID_EVB_STATUS=80;/** (evb_status_t) EVB monitor and log control interface. */
// public static final int DID_UNUSED_84 = 84; /** Unused */
publicstaticfinalintDID_IMU_MAG=85;/** (imu_mag_t) DID_IMU + DID_MAGNETOMETER. Only one of DID_IMU_MAG or DID_PIMU_MAG should be streamed simultaneously. */
publicstaticfinalintDID_PIMU_MAG=86;/** (pimu_mag_t) DID_PIMU + DID_MAGNETOMETER. Only one of DID_IMU_MAG or DID_PIMU_MAG should be streamed simultaneously. */
publicstaticfinalintDID_GROUND_VEHICLE=87;/** (ground_vehicle_t) Static configuration for wheel transform measurements. */
publicstaticfinalintDID_POSITION_MEASUREMENT=88;/** (pos_measurement_t) External position estimate */
publicstaticfinalintDID_RTK_DEBUG_2=89;/** INTERNAL USE ONLY (rtk_debug_2_t) */
publicstaticfinalintDID_CAN_CONFIG=90;/** (can_config_t) Addresses for CAN messages*/
publicstaticfinalintDID_GPS2_RTK_CMP_REL=91;/** (gps_rtk_rel_t) Dual GNSS RTK compassing / moving base to rover (GPS 1 to GPS 2) relative info. */
publicstaticfinalintDID_GPS2_RTK_CMP_MISC=92;/** (gps_rtk_misc_t) RTK Dual GNSS RTK compassing related data. */
publicstaticfinalintDID_EVB_DEV_INFO=93;/** (dev_info_t) EVB device information */
publicstaticfinalintDID_INFIELD_CAL=94;/** (infield_cal_t) Measure and correct IMU calibration error. Estimate INS rotation to align INS with vehicle. */
publicstaticfinalintDID_REFERENCE_IMU=95;/** (imu_t) Raw reference or truth IMU used for manufacturing calibration and testing. Input from testbed. */
publicstaticfinalintDID_IMU3_RAW=96;/** (imu3_t) Triple IMU data calibrated from DID_IMU3_UNCAL. We recommend use of DID_IMU or DID_PIMU as they are oversampled and contain less noise. */
publicstaticfinalintDID_IMU_RAW=97;/** (imu_t) IMU data averaged from DID_IMU3_RAW. Use this IMU data for output data rates faster than DID_FLASH_CONFIG.startupNavDtMs. Otherwise we recommend use of DID_IMU or DID_PIMU as they are oversampled and contain less noise. */
// Adding a new data id?
// 1] Add it above and increment the previous number, include the matching data structure type in the comments
...
...
@@ -125,12 +125,12 @@ public class Imx5 {
// 6] Test!
/** Count of data ids (including null data id 0) - MUST BE MULTPLE OF 4 and larger than last DID number! */
publicstaticintDID_COUNT=120;// Used in SDK
publicstaticintDID_COUNT_UINS=100;// Used in uINS
publicstaticfinalintDID_COUNT=120;// Used in SDK
publicstaticfinalintDID_COUNT_UINS=100;// Used in uINS