|
|
|
@ -1609,7 +1609,7 @@ void NavEKF3::writeWheelOdom(float delAng, float delTime, uint32_t timeStamp_ms,
@@ -1609,7 +1609,7 @@ void NavEKF3::writeWheelOdom(float delAng, float delTime, uint32_t timeStamp_ms,
|
|
|
|
|
void NavEKF3::convert_parameters() |
|
|
|
|
{ |
|
|
|
|
// exit immediately if param conversion has been done before
|
|
|
|
|
if (sources.configured_in_storage()) { |
|
|
|
|
if (sources.configured()) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1646,12 +1646,12 @@ void NavEKF3::convert_parameters()
@@ -1646,12 +1646,12 @@ void NavEKF3::convert_parameters()
|
|
|
|
|
case 3: |
|
|
|
|
default: |
|
|
|
|
// EK3_GPS_TYPE == 3 (No GPS) we don't know what to do, could be optical flow, beacon or external nav
|
|
|
|
|
sources.mark_configured_in_storage(); |
|
|
|
|
sources.mark_configured(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
// mark configured in storage so conversion is only run once
|
|
|
|
|
sources.mark_configured_in_storage(); |
|
|
|
|
sources.mark_configured(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// use EK3_ALT_SOURCE to set EK3_SRC1_POSZ
|
|
|
|
|