Can the Loco positioning deck be a node?

All discussions related to the Loco Positioning system
Post Reply
violet
Beginner
Posts: 2
Joined: Thu May 24, 2018 3:14 pm

Can the Loco positioning deck be a node?

Post by violet »

Hi,

I want to measure the distance between the drones only with Loco positioning deck attached to the drone.
I know SPI communication needs anchor. So I wonder if Loco positioning deck can be a node.

Thank you!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Can the Loco positioning deck be a node?

Post by arnaud »

Yes it is physically possible but it will require some software work :).

The algorithms in the node and Crazyflie are made in a quite similar way, so it should not be too hard to port code from one to another.

One way might be to port the TDoA3 anchor code to the crazyflie firmware: https://github.com/bitcraze/lps-node-fi ... _anchor3.c. This anchor mode is continiously ranging with neighbor anchors by sending packets at random, if you would have this code running in two Crazyflie they will be ranging with each-other.
Post Reply