Decawave / mynewt-dw1000-apps

[DEPRECATED] Use https://github.com/Decawave/uwb-apps for new designs.
Apache License 2.0
30 stars 22 forks source link

about the NODE_END_SLOT_ID of twr_tag_nranges_tdma #12

Open ihuajiu opened 5 years ago

ihuajiu commented 5 years ago

I would like to test the TDOA application, in the process of using mynewt-dw1000-apps\apps\twr_tag_nranges_tdma example, the configuration of tag at compile time is as follows: Newt target amend tag syscfg=NRNG_NNODES=16:NRNG_NFRAMES=32:NODE_START_SLOT_ID=0:NODE_END_SLOT_ID=8 I have 4 nodes now, I will set NRNG_NNODES=4:NRNG_NFRAMES=8, NODE_END_SLOT_ID should I set it to 4?

RNG has 7 data and tdoa has 7 data. When set to 4, RNG only has 4 data sets. Is there any difference?

Looking forward to your reply.

ihuajiu commented 5 years ago

I have a project that needs to use tdoa-related applications. It needs time synchronization, TDOA ranging, wireless communication. What test cases can be used to achieve these functions?

pkettle commented 5 years ago

@ihuajiu, The mynewt-dw1000-apps\apps\twr_tag(node)_nranges_tdma is the closest fit to your requirements.

Regards Paul

ftianf commented 5 years ago

Hi Paul, mynewt-dw1000-apps\apps\twr_tag(node)_nranges_tdma is still two way ranging, right? It's not TDOA ranging.

Regards Feng

pkettle commented 5 years ago

Hi Feng,

twr_tag(node)_nranges_tdma is still slotted TWR, however, with WCS enabled you can also do Reverse-TDOA with the same examples. With WCS enabled all timestamps are converted to the clock master reference frame.

Regards Paul.

ghost commented 5 years ago

Hello, @ihuajiu since you have already run this nranges example, I hope you can help me in some way. Kindly check this thread. Hope to get your response

https://github.com/Decawave/mynewt-dw1000-apps/issues/18

Thanks & regards Asmita