thotro / arduino-dw1000

A library that offers functionality to use Decawave's DW1000 chips/modules with Arduino.
Apache License 2.0
528 stars 287 forks source link

Apparent internal limitation of four anchors? #341

Open jremington opened 9 months ago

jremington commented 9 months ago

I implemented a 3D positioning system with a slightly modified version of the DW1000 library, but ran into what appears to be a bug, preventing use of more than four fixed anchors. It works very well three or four anchors, but fails completely with five.

I have increased the "active devices" array dimension from 4 to 7, i.e. defined constant MAX_DEVICES in DW1000Ranging.h, so that is not the problem.

See this issue (and #7) as well: https://github.com/jremington/UWB-Indoor-Localization_Arduino/issues/14

I think there must be some other limitation or array dimension in the library, but am unable to find it. Any suggestions appreciated!

pizzo00 commented 2 months ago

Update for anyone who encounter this problem You can find an updated version that fixes this and other problems here: https://github.com/jremington/UWB-Indoor-Localization_Arduino/tree/main/DW1000_library_pizzo00