Copter: disable OPTFLOW for PX4/Pixhawk

This commit is contained in:
Randy Mackay 2014-01-13 12:01:38 +09:00
parent 63586e3e23
commit 61f319ce38
1 changed files with 3 additions and 0 deletions

View File

@ -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
//////////////////////////////////////////////////////////////////////////////