mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 23:33:34 +08:00
EKF : introduce new architechture for navigation limits
This commit is contained in:
committed by
Lorenz Meier
parent
8a713398cb
commit
b4d2b8c57d
@@ -382,7 +382,7 @@ void EstimatorInterface::setOpticalFlowData(uint64_t time_usec, flow_message *fl
|
||||
bool flow_magnitude_good = true;
|
||||
if (delta_time_good) {
|
||||
flow_rate_magnitude = flow->flowdata.norm() / delta_time;
|
||||
flow_magnitude_good = (flow_rate_magnitude <= _params.flow_rate_max);
|
||||
flow_magnitude_good = (flow_rate_magnitude <= _flow_max_rate);
|
||||
}
|
||||
|
||||
bool relying_on_flow = _control_status.flags.opt_flow
|
||||
|
||||
Reference in New Issue
Block a user