AP_HAL_VRBRAIN: add empty optical flow

No onboard optical flow on VRBRAIN
This commit is contained in:
Julien BERAUD 2015-11-23 20:18:13 +01:00 committed by Andrew Tridgell
parent d8bcb36530
commit 736f78a7a2
1 changed files with 3 additions and 1 deletions

View File

@ -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 */