mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Copter: optflow instantiation format change
No functional change
This commit is contained in:
parent
c93c7af20c
commit
aba829678a
@ -314,11 +314,10 @@ AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission);
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Optical flow sensor
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#if OPTFLOW == ENABLED
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
#if OPTFLOW == ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
static AP_OpticalFlow_PX4 optflow(ahrs);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// gnd speed limit required to observe optical flow sensor limits
|
||||
static float ekfGndSpdLimit;
|
||||
// scale factor applied to velocity controller gain to prevent optical flow noise causing excessive angle demand noise
|
||||
|
Loading…
Reference in New Issue
Block a user