Open hdineth opened 7 years ago
@thotro @frwck can you please help
@hdineth I had the same issue even with TWR using Arduino Pro Mini. So i moved to ESP with the anchors running at 80mhz and the tag running at 160mhz. The localization is done on a PC though.
@werty37 How do you change the mode to TWR? Also what is mean by 80mHz and 160 mhz? How did you change it? I tried to setup delay time by changing DEFAULT_DELAY_TIME in dw1000ranging.h. Did you try it?
@hdineth I haven't checked the update frequency of TWR itself but i changed the clock speed of ESP. By default it runs at 80Mhz but you have an option of changing it to 160Mhz. I am using Arduino IDE to do the same. Check "Tools > CPU Frequency" in Arduino IDE.
@hdineth I think what you are looking for is dw1000.deepSleep() method.
@hdineth how did you implement least square for this positioning application? I have used trilateration algorithm and I am getting MSE of +-20cms.
I am using 3 anchores with one tag. Tags has given hardcoded as 1,2, & 3. I receive measurements from 1,2 &3 in order. Also I have impelemted a least square algorithm for better accuracy. I attached the algorithmin to the TAG code. The measurement process is as follows.
Th issue i have is when algorithm is running in the TAG code, It does not run smoothly. It does not provide position continuously. I think the issue is with the delaying process. When i add a delay time in TAG code (e.g, delay (1000)) it starts to misbehave and does not provide measurements continuously. I think when adding the algorithm, processor (pro mini ATMEGA 328) cannot handle the calculations with the receiving speed of the data . Are there any way to slow down the measurements receiving speed from the anchors? ( to at least one measurement set for 30 seconds)