-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query related twr_tag_nranges_tdma #19
Comments
Hi Shivmohith, Note the rng numbers are IEEE 754 floating-point type cast to a UINT32 and encapulate this within the JSON string. So [1047851887] is 0.2392m. For example In matlab
|
Hi Paul, {"utime": 18724444,"nrng": {"seq": 133,"mask": 1,"rng": [1047851887],"tdoa": [0]}} Can you tell me in which file this statement is executed and also line number if possible? Regards |
Hi Shivmohith, Regards Paul. |
Hello @shivmohith Were you able to get this output using UART or using RTT? regards |
Hello @AsmitaJha Regards, |
Hello @shivmohith asmita@asmita-Lenovo-G50-80:~$ telnet localhost 19021 After this nothing is happening, I am unable to see any ranging information. I am unable to understand where am I doing wrong. Regards |
Hello @AsmitaJha I ran https://github.com/Decawave/mynewt-dw1000-apps/tree/master/apps/twr_tag_nranges_tdma and I also did not get the output for twr_node_tdma and twr_tag_tdma. Regards and thanks, |
Hello @shivmohith I am running the twr_tag_nranges_tdma with correct configuration of Console_RTT=1 and Console_UART=0 4 pieces have been configured as anchors (1 master node and 3 slave node) with twr_node_nranges_tdma and 5th piece is used as Tag with twr_tag_nranges_tdma. The tag is connected to PC running using newt run command and another terminal open with telnet localhost 19021. |
Hello @AsmitaJha Regards |
Hello @shivmohith Regards |
Hello @pkettle , @shivmohith |
Hello As per Survey.h file, it is given as: ccp->seq number to determine what node make use of this slot. - (there are 4 nodes but seq is sequentially increasing) |
I ran the main.c of the twr_tag_nranges_tdma application. I used 1 tag and 1 node.
I'm getting the expected output.
OUTPUT:
{"utime": 18724444,"nrng": {"seq": 133,"mask": 1,"rng": [1047851887],"tdoa": [0]}}
{"utime": 18737894,"nrng": {"seq": 134,"mask": 1,"rng": [1042658236],"tdoa": [0]}}
{"utime": 18751337,"nrng": {"seq": 135,"mask": 1,"rng": [1044546836],"tdoa": [0]}}
{"utime": 18764774,"nrng": {"seq": 136,"mask": 1,"rng": [1046907587],"tdoa": [0]}}
{"utime": 18791667,"nrng": {"seq": 138,"mask": 1,"rng": [1044074686],"tdoa": [0]}}
{"utime": 18805103,"nrng": {"seq": 139,"mask": 1,"rng": [1041713936],"tdoa": [0]}}
{"utime": 18818546,"nrng": {"seq": 140,"mask": 1,"rng": [1041399169],"tdoa": [0]}}
{"utime": 18845439,"nrng": {"seq": 142,"mask": 1,"rng": [1045648520],"tdoa": [0]}}
{"utime": 18858876,"nrng": {"seq": 143,"mask": 1,"rng": [1042973003],"tdoa": [0]}}
{"utime": 18872319,"nrng": {"seq": 144,"mask": 1,"rng": [1044704220],"tdoa": [0]}}
{"utime": 18885769,"nrng": {"seq": 145,"mask": 1,"rng": [1042658236],"tdoa": [0]}}
{"utime": 18899206,"nrng": {"seq": 146,"mask": 1,"rng": [1044389453],"tdoa": [0]}}
{"utime": 18926099,"nrng": {"seq": 148,"mask": 1,"rng": [1041871319],"tdoa": [0]}}
{"utime": 18939542,"nrng": {"seq": 149,"mask": 1,"rng": [1040612252],"tdoa": [0]}}
{"utime": 18966422,"nrng": {"seq": 151,"mask": 1,"rng": [1044389453],"tdoa": [0]}}
My query is I'm not able to find the print statement which outputs the above statement in the code. I tried searching everywhere. I don't know where the twr calculation is being done.
I'm a beginner, please forgive if the query is unintelligent.
The text was updated successfully, but these errors were encountered: