mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_VRBRAIN: add empty optical flow
No onboard optical flow on VRBRAIN
This commit is contained in:
parent
d8bcb36530
commit
736f78a7a2
|
@ -35,6 +35,7 @@ using namespace VRBRAIN;
|
|||
static Empty::Semaphore i2cSemaphore;
|
||||
static Empty::I2CDriver i2cDriver(&i2cSemaphore);
|
||||
static Empty::SPIDeviceManager spiDeviceManager;
|
||||
static Empty::OpticalFlow optflowDriver;
|
||||
//static Empty::GPIO gpioDriver;
|
||||
|
||||
static VRBRAINScheduler schedulerInstance;
|
||||
|
@ -116,7 +117,8 @@ HAL_VRBRAIN::HAL_VRBRAIN() :
|
|||
&rcinDriver, /* rcinput */
|
||||
&rcoutDriver, /* rcoutput */
|
||||
&schedulerInstance, /* scheduler */
|
||||
&utilInstance) /* util */
|
||||
&utilInstance, /* util */
|
||||
&optflowDriver) /* optflow */
|
||||
{}
|
||||
|
||||
bool _vrbrain_thread_should_exit = false; /**< Daemon exit flag */
|
||||
|
|
Loading…
Reference in New Issue