Communication problem Between Anchors and Tag
Posted: Tue Mar 27, 2018 8:29 am
Hi everyone,
I have a problem that I hope you will help. I use the TDoA positioning method in the project. When I use the Bitcraze positioning code , I face a problem about communication between devices ( anchor and tag ) .
My Tag that I want to track is not correctly communicate with anchors. I expected that my tag communicate with anchor alternate. For instance, I expected that the "state_packet" I define to hold communication packages is given the following values ; [0.Anchor 1.Anchor TdoaDist_0n1], [0.Anchor 2.Anchor TdoaDist_0n2], [1.Anchor 3.Anchor TdoaDist_1n2] . I use the 4 Anchor and 1 Tag. Anchors name is "0,1,2,3". TdoaDist value is hold the distance difference anchors ( For Example ; TdoaDist_0n2 , distance difference between 0. and 2. anchors ) .
After a while, While I am waiting for such communication packages , I face the wrong packet like [0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1]. In here, 0. and 1. anchor communication with each other. However, I do not want to do this. I expect to have packages with different communications.
How can I solve this problem ? Please help.
Best Regards,
Ege
I have a problem that I hope you will help. I use the TDoA positioning method in the project. When I use the Bitcraze positioning code , I face a problem about communication between devices ( anchor and tag ) .
My Tag that I want to track is not correctly communicate with anchors. I expected that my tag communicate with anchor alternate. For instance, I expected that the "state_packet" I define to hold communication packages is given the following values ; [0.Anchor 1.Anchor TdoaDist_0n1], [0.Anchor 2.Anchor TdoaDist_0n2], [1.Anchor 3.Anchor TdoaDist_1n2] . I use the 4 Anchor and 1 Tag. Anchors name is "0,1,2,3". TdoaDist value is hold the distance difference anchors ( For Example ; TdoaDist_0n2 , distance difference between 0. and 2. anchors ) .
After a while, While I am waiting for such communication packages , I face the wrong packet like [0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1],[0.Anchor 1.Anchor TdoaDist_0n1]. In here, 0. and 1. anchor communication with each other. However, I do not want to do this. I expect to have packages with different communications.
How can I solve this problem ? Please help.
Best Regards,
Ege