Open sinakahnemouyi opened 8 years ago
Do you need to read from more than 4 at once, or do you just want lots of anchors to ensure good coverage? A (clunky) work around I have at the moment is to read the first 4 anchors the tag finds, then clear the devices (currently by just resetting). I don't need more than 4 range readings to get location, but this way I can have extra anchors around if there are dark spots.
Thanks for the quick reply Mike. Unfortunately I need all 5 anchor readings in real-time. I'm writing an algorithm that increases the accuracy of the calculated tag position with each extra anchor in the system. Do you happen to know what the issue is that prevents the code from being able to read more than 4 anchor ranging data?
Not at the moment, it is on my todo list though. I'll post here if I find anything.
Has any one completed this one?
hey sinakahnemouyi I am also working on localization project.....kindly share with me your code if possible
@sinakahnemouyi May I ask how you set you devices address to 1,2,3,4 ? I got Random address every time :( and I only got 3 Anchor and 1 Tag to play with
Hey all I was wondering what hardware you were using in addition to the DWM1000. Im having trouble getting more then two to range at the same time.
Hey all, @thotro @MikeS159 @jwzawadzki @valeros @ttaber @pascalbros @aacton @tommag @Rotzbua @leosayous21..I did a small experiment to check whether the no. of anchors can be increased.I changed the MAXDEVICES to 5 in the source code.Then at first I powered the tag and 4 anchors, everything worked as usual.As soon as I powered the 5th anchor ,I started getting range from it for a while after which the whole program just stopped working(I stopped getting any more data from the anchors).Does that mean the program ran out of memory..
A code snippet from DW1000Ranging.h ..
//Max devices we put in the networkDevices array ! Each DW1000Device is 74 Bytes in SRAM memory for now.
Does it mean if I try to add more devices it will run out of memory? After creating and allocating memory for 4 devices can I de-allocate the memory for a existing device and add a new one.Is it possible?If so,Which part of the code should I change?
Stop spamming. Do more experiments.
On Nov 3, 2016 9:24 AM, "raakeshkamal" notifications@github.com wrote:
Hey all, @thotro https://github.com/thotro @MikeS159 https://github.com/MikeS159 @jwzawadzki https://github.com/jwzawadzki @valeros https://github.com/valeros @ttaber https://github.com/ttaber @pascalbros https://github.com/pascalbros @aacton https://github.com/aacton @tommag https://github.com/tommag @Rotzbua https://github.com/Rotzbua @leosayous21 https://github.com/leosayous21..I did a small experiment to check whether the no. of anchors can be increased.I changed the MAXDEVICES to 5 in the source code.Then at first I powered the tag and 4 anchors, everything worked as usual.As soon as I powered the 5th anchor ,I started getting range from it for a while after which the whole program just stopped working(I stopped getting any more data from the anchors).Does that mean the program ran out of memory..
A code snippet from DW1000Ranging.h ..
//Max devices we put in the networkDevices array ! Each DW1000Device is 74 Bytes in SRAM memory for now.
define MAX_DEVICES 4
Does it mean if I try to add more devices it will run out of memory? After creating and allocating memory for 4 devices can I de-allocate the memory for a existing device and add a new one.Is it possible?If so,Which part of the code should I change?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thotro/arduino-dw1000/issues/81#issuecomment-258140856, or mute the thread https://github.com/notifications/unsubscribe-auth/AExz3d-Gk1dfmhUsALZaZxKmu9IEDkg9ks5q6eCcgaJpZM4IlHqs .
@raakeshkamal Learn c++, debugging,´and testing .. and by the way I do not work for free on others problems.
@raakeshkamal Do you even put your code/hardware on Github? Why do you want free help if you don't accept to share your work?
Did anyone solve this problem? I met the same problem when I added the fifth anchor. Also, I read the library code and changed the MAX_DEVICE from 4 to 5, it didn't get a better result. Are there some problems with power or submission frequency, even over the limit of SRAM
Did anyone solve this problem? How can we increase the anchors number? Unfortunately, we reached maximum 4 anchors.
I have same problem on my project, i need 8 anchors in one time. anyone solve this problem?
Hi,
First of all I wanted to thank you for the great work. I am using the DW1000 Ranging library for a localization project. Both DW1000RANGING_ANCHOR and DW1000RANGING_TAG work great for 1 tag and 4 anchors in the system. However, when adding one more anchor newRange() stops printing the ranging data.
I tried changing MAX_DEVICES in the DW1000Ranging.h from 4 to 5, but the problem persists. Do I need to change another number in the code for it to work with more than 4 anchors?
If this is a timing/frequency problem and the device is not fast enough to perform more than 4 ranging instances at a time, is there a way to slow down the ranging frequency?
Thank you.
The following shows the tag output reading ranging from 4 different anchors. As soon as the 5th is introduced there's an unusually large reading and then the readings stop.