A visual odometry framework robust to motion blur