Reading LPS Anchor Points

All discussions related to the Loco Positioning system
Post Reply
stupid_moron
Beginner
Posts: 22
Joined: Tue Jan 21, 2020 7:05 am

Reading LPS Anchor Points

Post by stupid_moron » Fri Apr 10, 2020 3:28 pm

From the Bitcraze exmaple. I am able to write the loco anchor points via the python script.

I was wondering which func should i sue to read the loco anchor points via python script?



kimberly
Bitcraze
Posts: 314
Joined: Fri Jul 06, 2018 11:13 am

Re: Reading LPS Anchor Points

Post by kimberly » Tue Apr 14, 2020 11:47 am

Hi and sorry for the delay due to the easter holiday!

Which example are you referring to? Could you post an URL of that here?

stupid_moron
Beginner
Posts: 22
Joined: Tue Jan 21, 2020 7:05 am

Re: Reading LPS Anchor Points

Post by stupid_moron » Mon May 11, 2020 7:33 am

I am using the "lopo.setposition(x,y,z)" functions from lpslib.lopoanchor

kristoffer
Bitcraze
Posts: 256
Joined: Tue Jun 30, 2015 7:47 am

Re: Reading LPS Anchor Points

Post by kristoffer » Mon May 11, 2020 12:34 pm

You should use the LocoMemory2 class in the python lib to read anchor data from the Crazyflie.

There is a (slightly messy) example in the client https://github.com/bitcraze/crazyflie-c ... ab.py#L272

Post Reply