mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_OpticalFlow: BBBmini remove onboard OpticalFlow
This commit is contained in:
parent
81da61a68d
commit
ad208cab56
@ -20,8 +20,7 @@
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX &&\
|
||||
(CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP ||\
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE ||\
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI)
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE)
|
||||
|
||||
#ifndef OPTICALFLOW_ONBOARD_DEBUG
|
||||
#define OPTICALFLOW_ONBOARD_DEBUG 0
|
||||
|
@ -95,8 +95,7 @@ void OpticalFlow::init(void)
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
backend = new AP_OpticalFlow_SITL(*this);
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP ||\
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE ||\
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE
|
||||
backend = new AP_OpticalFlow_Onboard(*this);
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
backend = AP_OpticalFlow_PX4Flow::detect(*this);
|
||||
|
Loading…
Reference in New Issue
Block a user