ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

AP_NavEKF2/3: do not check the second range finder if RANGEFINDER_MAX_INSTANCES is 1

Open tatsuy opened this issue 3 years ago • 2 comments

EKF always checks two rangefinders even if RANGEFINDER_MAX_INSTANCES is 1. I added the RANGEFINDER_MAX_INSTANCES check.

tatsuy avatar Jun 06 '22 02:06 tatsuy

@peterbarker Thank you for your review. Would you confirm that this change is what you intended.

tatsuy avatar Sep 16 '22 01:09 tatsuy

@peterbarker Thank you for your review. Would you confirm that this change is what you intended.

Yep, exactly, thanks :-)

peterbarker avatar Sep 16 '22 02:09 peterbarker

@priseborough,

This is a mostly mechanical replace but could you confirm you're OK with this? PeterBarker and I have both reviewed it.

rmackay9 avatar Dec 18 '22 23:12 rmackay9