AP_NavEKF2: CorrectExtNavForSensorOffset made const
This commit is contained in:
parent
7470bc9994
commit
35dcb0d752
@ -278,7 +278,7 @@ void NavEKF2_core::CorrectGPSForAntennaOffset(gps_elements &gps_data) const
|
||||
}
|
||||
|
||||
// correct external navigation earth-frame position using sensor body-frame offset
|
||||
void NavEKF2_core::CorrectExtNavForSensorOffset(Vector3f &ext_position)
|
||||
void NavEKF2_core::CorrectExtNavForSensorOffset(Vector3f &ext_position) const
|
||||
{
|
||||
#if HAL_VISUALODOM_ENABLED
|
||||
AP_VisualOdom *visual_odom = AP::visualodom();
|
||||
|
@ -780,7 +780,7 @@ private:
|
||||
void CorrectGPSForAntennaOffset(gps_elements &gps_data) const;
|
||||
|
||||
// correct external navigation earth-frame position using sensor body-frame offset
|
||||
void CorrectExtNavForSensorOffset(Vector3f &ext_position);
|
||||
void CorrectExtNavForSensorOffset(Vector3f &ext_position) const;
|
||||
|
||||
// Length of FIFO buffers used for non-IMU sensor data.
|
||||
// Must be larger than the time period defined by IMU_BUFFER_LENGTH
|
||||
|
Loading…
Reference in New Issue
Block a user