mirror of https://github.com/ArduPilot/ardupilot
IRLock: correct include paths
This commit is contained in:
parent
cf8ce867e6
commit
04c682542c
|
@ -8,4 +8,5 @@
|
|||
// @file AP_IRLock.h
|
||||
// @brief Catch-all headerthat defines all supported irlock classes.
|
||||
|
||||
#include "IRLock.h"
|
||||
#include "AP_IRLock_PX4.h"
|
||||
|
|
|
@ -19,15 +19,13 @@
|
|||
* Created on: Nov 16, 2014
|
||||
* Author: MLandes
|
||||
*/
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||
#include "AP_IRLock_PX4.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "AP_HAL.h"
|
||||
#include "drivers/drv_irlock.h"
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef __IRLOCK_H__
|
||||
#define __IRLOCK_H__
|
||||
|
||||
#include "AP_AHRS.h"
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
|
||||
#define IRLOCK_MAX_BLOCKS_PER_FRAME 5 // max number of blobs that can be detected by IR-LOCK sensor (should match PX4Firmware's irlock driver's IRLOCK_OBJECTS_MAX)
|
||||
#define IRLOCK_CENTER_X 159 // the center x pixel value
|
||||
|
|
Loading…
Reference in New Issue