Page 1 of 1

Using only the Loco Positioning nodes for positioning

Posted: Thu Jun 14, 2018 7:28 pm
by clabaut_didier
Hi,

Is it possible to only use the positioning nodes without the flie? I want to test positioning hardware where I use a couple of the nodes as anchor and one as a tag.

The tag would be attached to an object that needs to be tracked.

Thanks for any help

Didier

Re: Using only the Loco Positioning nodes for positioning

Posted: Thu Jul 05, 2018 11:39 am
by arnaud
Yes you can but it requires you to calculate the position from raw ranging information.

For TWR, you can set the node in TWR tag mode using the virtual serial port and it will output the range to 6 anchors on the same serial port.

For TDoA, you need to set the node in sniffer mode, then there is a couple of script that decodes the packet: https://github.com/bitcraze/lps-node-fi ... ls/sniffer. Unfortunatly there is no script yet that does calculate the TDoA distances so you would have to do that by yourself.

One possible way forward, depending of what you want to do, would be to extract the required algorithm from the Crazyflie firmware. All the code that does the positioning is part of the Crazyflie 2.0 firmware and it should be possible to compile that for your platform.