AP_NavEKF: index out of range due to incorrect assignment
This commit is contained in:
parent
d2b103b323
commit
e2fde36ec6
@ -2910,7 +2910,7 @@ void NavEKF::FuseOptFlow()
|
||||
Vector3f velNED_local;
|
||||
Vector3f relVelSensor;
|
||||
|
||||
uint8_t &obsIndex = flow_state.obsIndex;
|
||||
uint8_t obsIndex = flow_state.obsIndex;
|
||||
ftype &q0 = flow_state.q0;
|
||||
ftype &q1 = flow_state.q1;
|
||||
ftype &q2 = flow_state.q2;
|
||||
|
Loading…
Reference in New Issue
Block a user