mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 05:37:35 +08:00
Remove not used code
This commit is contained in:
committed by
Paul Riseborough
parent
0fafd4d68b
commit
4872f2a545
@@ -99,10 +99,6 @@ void Ekf::resetHorizontalVelocityToOpticalFlow() {
|
||||
|
||||
void Ekf::resetVelocityToVision() {
|
||||
ECL_INFO_TIMESTAMPED("reset to vision velocity");
|
||||
Vector3f _ev_vel = _ev_sample_delayed.vel;
|
||||
if(_params.fusion_mode & MASK_ROTATE_EV){
|
||||
_ev_vel = _R_ev_to_ekf *_ev_sample_delayed.vel;
|
||||
}
|
||||
resetVelocityTo(getVisionVelocityInEkfFrame());
|
||||
P.uncorrelateCovarianceSetVariance<3>(4, getVisionVelocityVarianceInEkfFrame());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user