Open JakobOvergaard opened 1 year ago
You should probably read the DW3000’s datasheet.
I am also interested in collaborating with a double sided two way ranging - you can PM me at lordxxbyron@gmail.com
Hey @JakobOvergaard and @lordxxbyron did you ever succeeded with a working example?
@Gurkengewuerz Unfortunately not. I ended up doing singled sided two way ranging from one target to multiple anchors, which worked decently, however it had troubles estimating the position of fast moving targets accurately.
Hi, I'm currently doing my master thesis in computer science and I'm trying to create a system to test the accuracy of UWB ranging. \ I'm trying to perform double sided two-way ranging using the ESP32 Dw3000 from makerfabs. - Eventually the goal is to perform asymmetric DB TWR with multiple anchors. \ The code base is written in c++ inspired by QORVOS own example code 'ds_twr_responder' and 'ds_twr_initiator'. \ I'm using the Arduino IDE and this library.
However I'm having some issues with the code, as the final message from the initator to the responder gives me an error, which I cannot decode. When the responder polls for the final message it reads the system status register for errors, which includes checking the following subregisters: \
All RX error masks:
User defined RX error masks:
and the RXFCG subregister.
Printing the system status register gives me the following output: "131312" which is the decimal representation of the hex value 200F0 and the binary representation of 100000000011110000. \ I know it should be possible to decode which subregister the error is coming from, however I have a hard time figuring it out.\
The code for the intiator and responder is attached below.
Does anyone have any idea what the error could be and how to fix it?
Additionally, I'm very interested in getting in contact with anybody having experience with the ESP32 Dw3000 from makerfabs.
Initator code:
Responder code: