// last_update() - returns system time of last sensor update
// last_update() - returns system time of last sensor update
uint32_tlast_update()const{return_last_update;}
uint32_tlast_update()const{return_last_update;}
@ -85,10 +82,9 @@ protected:
// internal variables
// internal variables
uint8_t_device_id;// device id
uint8_t_device_id;// device id
uint8_t_surface_quality;// image quality (below 15 you can't trust the dx,dy values returned)
uint8_t_surface_quality;// image quality (below TBD you can't trust the dx,dy values returned)
Vector2i_raw;// raw x,y values from sensor
Vector2f_flowRate;// optical flow angular rate in rad/sec measured about the X and Y body axis. A RH rotation about a sensor axis produces a positive rate.
Vector2f_velocity;// x, y velocity in m/s
Vector2f_bodyRate;// body inertial angular rate in rad/sec measured about the X and Y body axis. A RH rotation about a sensor axis produces a positive rate.
float_ground_distance_m;// ground distance in m
uint32_t_last_update;// millis() time of last update
uint32_t_last_update;// millis() time of last update