Page 1 of 1

Can the Loco positioning deck be a node?

Posted: Fri Jun 29, 2018 12:58 am
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!

Re: Can the Loco positioning deck be a node?

Posted: Thu Jul 05, 2018 9:40 am
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.