Are the used scripts for the very nice swarm drone show on github?
https://www.youtube.com/watch?v=ZFve_X3VD5o
Thank you for your great work, crazyflie is really awesome!!!
Drone Show Scripts on github?
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: Drone Show Scripts on github?
Unfortunately not, it is pretty hackish and would be hard to understand or change.
If you want to do something similar, the best starting point is probably examples/swarm/swarmSequence.py in the python lib.
If you want to do something similar, the best starting point is probably examples/swarm/swarmSequence.py in the python lib.
Re: Drone Show Scripts on github?
Hi Kristoffer,
thank you for your quick reply.
By hackish you mean lots unstructured of code highly optimised for the given environment?
My problem in understanding is that I think it is not enough to simply let the drones fly to specific points but also define the path in between as smooth as possible by maybe using becier curves or sth. alike. How did you overcome this kind of problematic?
thank you for your quick reply.
By hackish you mean lots unstructured of code highly optimised for the given environment?
My problem in understanding is that I think it is not enough to simply let the drones fly to specific points but also define the path in between as smooth as possible by maybe using becier curves or sth. alike. How did you overcome this kind of problematic?
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: Drone Show Scripts on github?
Something like that. And also modified without clean up a couple of times which makes it hard to understand.By hackish you mean lots unstructured of code highly optimised for the given environment?
The script actually only uses straight line movements (go_to in the high level commander).My problem in understanding is that I think it is not enough to simply let the drones fly to specific points but also define the path in between as smooth as possible by maybe using becier curves or sth. alike. How did you overcome this kind of problematic?
It is possible to do more complex trajectories using the polynomial format (there is some information in this blog post https://www.bitcraze.io/2019/08/creatin ... er-curves/) but I did not have the time when I wrote my script.
There is another video with (almost) the same script but with the lighthouse positioning system instead of LPS https://youtu.be/BggnSDj3baE
It might be easier to see the movements in this video
Re: Drone Show Scripts on github?
Ah ok awesome, nice to hear. I did not imagine you used "straight lines" for those videos.
Yeah, I think Lighthouse is the future
I would like to get some Base Stations but I might wait for v2.0 to be supported
Yeah, I think Lighthouse is the future
I would like to get some Base Stations but I might wait for v2.0 to be supported