mirror of https://github.com/ArduPilot/ardupilot
Copter: disable OPTFLOW for PX4/Pixhawk
This commit is contained in:
parent
63586e3e23
commit
61f319ce38
|
@ -74,6 +74,7 @@
|
|||
# define CONFIG_BARO AP_BARO_PX4
|
||||
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
||||
# define MAGNETOMETER ENABLED
|
||||
# define OPTFLOW DISABLED
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||
# define CONFIG_IMU_TYPE CONFIG_IMU_FLYMAPLE
|
||||
# define CONFIG_BARO AP_BARO_BMP085
|
||||
|
@ -81,6 +82,7 @@
|
|||
# define CONFIG_ADC DISABLED
|
||||
# define MAGNETOMETER ENABLED
|
||||
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
||||
# define OPTFLOW DISABLED
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
# define CONFIG_IMU_TYPE CONFIG_IMU_L3G4200D
|
||||
# define CONFIG_BARO AP_BARO_BMP085
|
||||
|
@ -88,6 +90,7 @@
|
|||
# define CONFIG_ADC DISABLED
|
||||
# define MAGNETOMETER ENABLED
|
||||
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
||||
# define OPTFLOW DISABLED
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue