Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Reset to optical flow data is using outdated data #791

Open
kamilritz opened this issue Apr 2, 2020 · 0 comments
Open

Reset to optical flow data is using outdated data #791

kamilritz opened this issue Apr 2, 2020 · 0 comments

Comments

@kamilritz
Copy link
Contributor

If a reset to optical flow velocity is performed for the first time, the velocity will be always reset to zero. Even if we are in air and get reasonable flow data. The issue is that the _flow_compensated_XY_rad which is used inside resetVelocity() will be updated after the call to resetVelocity() inside controlOpticalFlowFusion(). Also if a later reset to the flow sensor happends, the velocity resets to something depending on the last stored value in _flow_compensated_XY_rad, which can be already outdated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants