Browse Source

Copter: disable OPTFLOW for PX4/Pixhawk

mission-4.1.18
Randy Mackay 11 years ago
parent
commit
61f319ce38
  1. 3
      ArduCopter/config.h

3
ArduCopter/config.h

@ -74,6 +74,7 @@ @@ -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 @@ @@ -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 @@ @@ -88,6 +90,7 @@
# define CONFIG_ADC DISABLED
# define MAGNETOMETER ENABLED
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
# define OPTFLOW DISABLED
#endif
//////////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save