Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Delay in StandardRTLS TWR Examples #188

Open
johntylerrupert opened this issue Nov 16, 2020 · 1 comment
Open

Delay in StandardRTLS TWR Examples #188

johntylerrupert opened this issue Nov 16, 2020 · 1 comment

Comments

@johntylerrupert
Copy link

Step 1: What do you want?

  • Understand the intentions of the code

Step 3: Describe the problem

In the files StandardRTLSAnchor[B,C]_TWR.ino, there is a delay(2) and delay(4) with a comment saying "Tweak based on your hardware"

  1. What is the purpose of this delay?
  2. What aspect of my hardware should I be interested in when tweaking these delays?
@Anacron-sec
Copy link
Contributor

Anacron-sec commented Nov 17, 2020

The delay is basically used to reduce the possibility of overlapping data transmitted in the air. We found out that a delay improves errors in our examples (in a production system you will not use UWB to report data so there shouldn't be the need).

If you find problems just play with the values or even try to remove them.

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

No branches or pull requests

2 participants