Decawave / mynewt-dw1000-apps

[DEPRECATED] Use https://github.com/Decawave/uwb-apps for new designs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nranges/nranges.h

horst-m opened this issue · comments

hello,
trying to work with the examples, I wanted to run the twr_nranges_tdma with double-sided-rangig.
I changed a line in twr_nrages_tdma/pkg.yml
from:

  • "@mynewt-dw100-core/lib/twr_ss_nrng"
    to
  • "@mynewt-dw100-core/lib/twr_ds_nrng"
    , naively hoping it would do the trick.

But lib/twr_ds_nrg depends on:

  • "@mynewt-dw100-core/lib/nranges"
    which does not exist...

I tried to change the calls to existing #include <nrng/nrng.h>
but got loads of compiler-errors showing me that one does not fit.

any sugestions?

regards horst

Hi Horst,

The DS nrange does take a bit longer so I'm not sure if it would fit in the tdma slot length without adjusting the number of anchors or the number of overall tdma slots. However, that is not the problem you're facing now.
We've phased out the nranges library but I've obviously not done so everywhere :P Let me have a look at it.

Cheers,
Niklas