Optical flow - updated standard frame rate to 2000hz and increased resolution to 1600cpi

This commit is contained in:
Randy Mackay 2012-01-25 21:53:20 +09:00
parent 99506accf4
commit 4434ddf389
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ static void init_optflow()
SendDebug("\nFailed to Init OptFlow ");
}
optflow.set_orientation(OPTFLOW_ORIENTATION); // set optical flow sensor's orientation on aircraft
optflow.set_frame_rate(2000); // set minimum update rate (which should lead to maximum low light performance
optflow.set_resolution(OPTFLOW_RESOLUTION); // set optical flow sensor's resolution
optflow.set_field_of_view(OPTFLOW_FOV); // set optical flow sensor's field of view
// setup timed read of sensor
//timer_scheduler.register_process(&AP_OpticalFlow::read);