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

Non-default UWB radio modes for TWR #42

Open
da-phil opened this issue Nov 12, 2018 · 1 comment
Open

Non-default UWB radio modes for TWR #42

da-phil opened this issue Nov 12, 2018 · 1 comment

Comments

@da-phil
Copy link

da-phil commented Nov 12, 2018

I just noticed this warning in the UWB radio settings config:

NOTE: only change if you use TDoA3. Other modes will stop working if changed from the default mode.

I actually successfully tested TWR with the 3rd mode (low bitrate, long preamble) and wondered about this warning and which problem - I didn't see yet - it implies. Is there really an issue with other UWB radio modes (other than normal bitrate, normal preamble ) and how could it be addressed/fixed?

@krichardsson
Copy link
Contributor

That is interesting findings!

When I implemented the low bitrate/long preamble modes I was experimenting with TDoA3. I did not have the time to investigate the effects on TDoA2 or TWR but my gut feeling was that it probably would mess up the timing of the time slotted protocols. I added the note as a disclaimer to avoid users ending up with non-functional systems.

I think the work required to remve the note would be something on the lines of:

  1. Verify that the settings actually are used in all modes, both in the anchors and the Crazyflie. I would examine the code to make sure this is the case, and also sniff the packets to see what is actually transmitted.
  2. Verify that it works in all modes
  3. ++ task: investigate precision/accuracy and range

Doing it for one of the modes would be a great step as well :-)

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

No branches or pull requests

3 participants