mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: BBBmini remove onboard OpticalFlow
This commit is contained in:
parent
2f8e9db606
commit
81da61a68d
@ -226,21 +226,6 @@
|
||||
#define HAL_COMPASS_HMC5843_I2C_BUS 2
|
||||
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||
#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2
|
||||
#define HAL_OPTFLOW_ONBOARD_VDEV_PATH "/dev/video0"
|
||||
#define HAL_OPTFLOW_ONBOARD_SENSOR_WIDTH 320
|
||||
#define HAL_OPTFLOW_ONBOARD_SENSOR_HEIGHT 240
|
||||
#define HAL_OPTFLOW_ONBOARD_OUTPUT_WIDTH 64
|
||||
#define HAL_OPTFLOW_ONBOARD_OUTPUT_HEIGHT 64
|
||||
#define HAL_OPTFLOW_ONBOARD_CROP_WIDTH 240
|
||||
#define HAL_OPTFLOW_ONBOARD_CROP_HEIGHT 240
|
||||
#define HAL_OPTFLOW_ONBOARD_NBUFS 8
|
||||
#define HAL_FLOW_PX4_MAX_FLOW_PIXEL 4
|
||||
#define HAL_FLOW_PX4_BOTTOM_FLOW_FEATURE_THRESHOLD 30
|
||||
#define HAL_FLOW_PX4_BOTTOM_FLOW_VALUE_THRESHOLD 5000
|
||||
/* ELP-USBFHD01M-L21
|
||||
* focal length 2.1 mm, pixel size 3 um
|
||||
* 240x240 crop rescaled to 64x64 */
|
||||
#define HAL_FLOW_PX4_FOCAL_LENGTH_MILLIPX (2.1 / (3.0 * 2.0 * 240 / 64))
|
||||
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
|
Loading…
Reference in New Issue
Block a user