47 float cosYaw = cosf(yawAngleRad);
48 float sinYaw = sinf(yawAngleRad);
51 v.
x = cosYaw * x - sinYaw * y;
52 v.
y = sinYaw * x + cosYaw * y;
void _applyYaw(Vector2f &v)
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
virtual Semaphore * new_semaphore(void)
void _update_frontend(const struct OpticalFlow::OpticalFlow_state &state)
virtual ~OpticalFlow_backend(void)
bool is_zero(const T fVal1)
OpticalFlow_backend(OpticalFlow &_frontend)
struct OpticalFlow_state _state
float _yawAngleRad(void) const