mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 10:28:52 +08:00
fix(drvers/ins): InertialLabs INS driver fix name-collision (#26874)
This commit is contained in:
@@ -485,7 +485,7 @@ void ILabs::processData(InertialLabs::SensorsData *data) {
|
||||
|
||||
sensor_gps.jamming_state = data->gps.jamStatus;
|
||||
sensor_gps.jamming_indicator = (sensor_gps.jamming_state != InertialLabs::JammingStatus::UNKOWN_OR_DISABLED) &&
|
||||
(sensor_gps.jamming_state != InertialLabs::JammingStatus::OK);
|
||||
(sensor_gps.jamming_state != InertialLabs::JammingStatus::NO_SIGNIFICANT);
|
||||
sensor_gps.spoofing_state = data->gps.spoofingStatus;
|
||||
|
||||
sensor_gps.vel_m_s =
|
||||
|
||||
@@ -188,7 +188,7 @@ enum NewAidingData {
|
||||
|
||||
enum JammingStatus : uint8_t {
|
||||
UNKOWN_OR_DISABLED = 0,
|
||||
OK = 1, // No significant jamming
|
||||
NO_SIGNIFICANT = 1, // No significant jamming
|
||||
WARNING = 2, // Interference visible but fix ok
|
||||
CRITICAL = 3, // Interference visible and no fix
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user