I would like to get Position + Distance from a tag.
However, I could only get Position for anchors and Distances for a tag.
I would like to get both of them from a tag.
How can I do that ?
Is there any condition for getting both data?
I use 4 anchors and a tag, DWM1001.
In addition the mode is “2”, Position + Distance.
With distance details you can calculate the position
Look into ‘dwm-simple.c’ inside DWM1001_DWM1001-DEV_MDEK1001_Sources_and_Docs_v9\DWM1001\Source_Code\DWM1001_on_board_package\DWM1001_on_board_package_R2.0\dwm\examples\dwm-simple
Inside void on_dwm_evt(dwm_evt_t *p_evt) you can see printing the location of tag and respective anchors. Hopefully it will help.
Hi Nav , how did you setup segger studio and ran the source code?
i am getting this error
Decawave/DWM1001/Source_Code/DWM1001_on_board_package/dwm/examples/dwm-simple/output/compiler/dwm-simple.o: No such file or directory
can you help!!
Thanks for your reply.
The article is about 2d position, (x,y).
I want to calculate 3d position, (x,y,z).
It’s more difficult to calculate the position for me.
I couldn’t find good algorithm. Do you have information about that?.