Using only the Loco Positioning nodes for positioning

All discussions related to the Loco Positioning system
Post Reply
clabaut_didier
Beginner
Posts: 1
Joined: Thu Jun 14, 2018 7:23 pm

Using only the Loco Positioning nodes for positioning

Post 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
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Using only the Loco Positioning nodes for positioning

Post 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.
Post Reply