|
|
|
@ -25,10 +25,10 @@
@@ -25,10 +25,10 @@
|
|
|
|
|
|
|
|
|
|
extern const AP_HAL::HAL& hal; |
|
|
|
|
|
|
|
|
|
AP_OpticalFlow_SITL::AP_OpticalFlow_SITL(OpticalFlow &_frontend) :
|
|
|
|
|
OpticalFlow_backend(_frontend)
|
|
|
|
|
AP_OpticalFlow_SITL::AP_OpticalFlow_SITL(OpticalFlow &_frontend) : |
|
|
|
|
OpticalFlow_backend(_frontend), |
|
|
|
|
_sitl(AP::sitl()) |
|
|
|
|
{ |
|
|
|
|
_sitl = (SITL::SITL *)AP_Param::find_object("SIM_"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void AP_OpticalFlow_SITL::init(void) |
|
|
|
|