Circle Sequences with loco positioning system

All discussions related to the Loco Positioning system
Post Reply
ciccio
Beginner
Posts: 9
Joined: Mon Dec 04, 2017 7:59 am

Circle Sequences with loco positioning system

Post by ciccio »

Hi,

we are trying to use the script swarmSequenceCircle.py in crazyflie-lib-python/examples but we read that we must use the flow deck but we haven't it. We want to know if we can use this script with the loco positioning system. if so, what should we do?

Thanks a lot for your answer.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Circle Sequences with loco positioning system

Post by arnaud »

In theory you should be able to run any of these script our of the box with the loco positioning system. Though for this particular one there will be one fundamental problem: in the LPS you should start all your Crazyflies facing X, the swarm circle sequence assumes the Crazyflie are started with different orientations.

Added to that, pure velocity control is not always working very well in the LPS.

What I could suggest is to reprogram a similar sequence but sending position setpoint instead. You can see how to send position setpoint in the autonomousSequence script.
ciccio
Beginner
Posts: 9
Joined: Mon Dec 04, 2017 7:59 am

Re: Circle Sequences with loco positioning system

Post by ciccio »

Thank you for your answer Arnaud, we will try it and we will give you a feedback soon.
Post Reply