Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the TDoA engine for TDoA2 #556

Closed
krichardsson opened this issue Feb 21, 2020 · 1 comment
Closed

Use the TDoA engine for TDoA2 #556

krichardsson opened this issue Feb 21, 2020 · 1 comment
Milestone

Comments

@krichardsson
Copy link
Contributor

The TDoA engine was designed when we developed TDoA3, but the design is fairly generic and should work for TDoA2 as well. The benefit would be to have one code base for TDoA where improvements are added for both algorithms. One example would be the clock correction that has a better implementation in the tdoa engine compared to the TDoA2 implementation.

Some things that should be considered:

  1. The tdoa engine chooses anchor pairs based on a randomized algorithm while tdoa 2 uses the youngest data.
  2. Tdoa 2 supports logging of all consecutive anchor pairs (both anchor-to-anchor distance as well as tdoa value) while the tdoa engine only supports one (configurable) pair.
krichardsson added a commit that referenced this issue Feb 21, 2020
Moved the tdoa engine state instance from the tdoa3 implementation to a new file to make it possible to share the same instance between tdoa 2 and 3.
Also added support for multiple anchor matching algorithms.
krichardsson added a commit that referenced this issue Feb 21, 2020
…bility break: log and param group names are changed from "tdoa3" to "todaEngine".
krichardsson added a commit that referenced this issue Feb 21, 2020
krichardsson added a commit that referenced this issue Feb 25, 2020
krichardsson added a commit that referenced this issue Feb 26, 2020
@krichardsson krichardsson added this to the next-release milestone Feb 26, 2020
@krichardsson
Copy link
Contributor Author

Note: some parameter names has changed

cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant