UWB-Indoor-Localization_Arduino
UWB-Indoor-Localization_Arduino copied to clipboard
TWR Max Device Limitation
What can be done to use the code with too many devices? The maximum number of devices is defined as 7 within the code, but when it is increased to 10 or 11, the code still does not support it and the system freezes. What needs to be done to use the code with 10 or 11 nodes? Thank you for your supports.
As noted on the main page README, Thomas Trojer's DW1000 library appears to have a bug, and becomes confused if more than four anchors are used. I have looked through the code but have no idea where the problem lies. I posted an issue on his Github page, but have not seen a response.
I would welcome a fix!
Actually, I used 4 anchors initially. There was no issue with just one tag, but problems started arising when there were 2 tags. Then, I defined the max device count in the library from 7 to 10. However, the error persisted. I had thought that increasing the max device count would solve the issue. So, the issue arises even when there are 4 anchors.
The code I wrote is designed for one tag and four anchors, maximum and would need to be revised for more than four anchors. That is not a big problem, but I suspect the library issue has to do with the total number of devices. Since that is set at seven the dimension of that particular table is probably not the issue.
Thomas Trojer's library appears to assume 1 tag only, and I have not tried to modify it to add more.
How can we increase the tag count in the system? I was thinking we could increase the maximum device count to a higher value instead of 7.
You will have to modify Thomas Trojer's library, which currently assumes 1 tag.
Do you have any advice on how to do it?
Sure! Study the library code until you understand how the single tag is handled, then make whatever changes are required to accommodate more tags. Test thoroughly.
Have you ever seen an example of multiple tags being used?
No. But I would be thrilled if you could find or produce such an example.
Hello.I did some research and found some things. I would like to share them with you, maybe it could be useful for others too. I tried it myself but couldn't get a result. I'm putting the links here in case you want to take a look. https://github.com/thotro/arduino-dw1000/issues/181 https://docs.pozyx.io/creator/arduino
I set the delay in microseconds because there was no effect in milliseconds and the system got jammed. However, I couldn't achieve the desired effect in microseconds either; the system still worked in a nonsensical way. I'm curious about your ideas.