AP_NavEKF3: Fix use of incorrect ballistic coefficient parameter
This commit is contained in:
parent
7370cd9f00
commit
342e6b35fa
@ -461,7 +461,7 @@ void NavEKF3_core::FuseDragForces()
|
||||
{
|
||||
// drag model parameters
|
||||
const float bcoef_x = frontend->_ballisticCoef_x;
|
||||
const float bcoef_y = frontend->_ballisticCoef_x;
|
||||
const float bcoef_y = frontend->_ballisticCoef_y;
|
||||
const float mcoef = frontend->_momentumDragCoef.get();
|
||||
const bool using_bcoef_x = bcoef_x > 1.0f;
|
||||
const bool using_bcoef_y = bcoef_y > 1.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user