Page 1 of 1

lighthouse with 2018/2019 Christmas video

Posted: Sun Sep 20, 2020 7:04 am
by Snidel
Hi all.

I'm impressed with light show using lighthouse on your blog and now trying to reproduce it.
I want to know which functionalities / apis are used in this tutorial.

1) At the beginning of the video, what feature does the animation of the drone swinging from side to side use?

2) Animation of drawing a circle around a tree with 7 crazyflies.
I think you use `define_trajectory()` and `start_trajectory()` instead of `go_to()`.
What I'm not sure is how to change the color of the drone's LED while drawing the trajectory.
Is this extending the firmware and uploading the LED colors along with the trajectory?

We probably have a lot to learn from this program, but are you planning to publish it?
That way, like the other samples, we can get a better understanding for each python api ;)


Re: lighthouse with 2018/2019 Christmas video

Posted: Mon Sep 21, 2020 11:56 am
by arnaud
The trajectories where made using the CrazyDance software by Ben. The drones where controlled by LaMouchFolle. The firmware used was 'stock'. As far as I can remember (and tell from the code), LaMoucheFolle is sending high-level position GoTo commands at high frequency (~60Hz), this was not the intended use of the goto command but it work well enough. It is also possible to send goto commands a bit less fast but interrupt one goto by another to get nice trajectories.

To answer your questions:

1) GoTo commands that moves the drone left and right 'quickly'

2) Same as above, it was made using high speed goto commands, using trajectories would be more reliable though. When sending real-time commands, the led ring can be controlled by setting parameters. The "fadeColorEffect" is very well suited for this purpose since it allows to set the full color of the ledring using a single parameter set (ie. using a single radio packet), the RGB values are packed in a uint32. However, If you use trajectories, you cannot set the ledring from the trajectory itself yet.

We where planning on publishing the Crazydance file and even to make a making-off video, but then 2020 happened and we did not have time to do it. I will look at recovering and pushing the file somewhere, I can keep this thread updated when I have done it.

Re: lighthouse with 2018/2019 Christmas video

Posted: Thu Oct 15, 2020 4:07 am
by Snidel
Hi Arnaud.

I see.
If you have a time, could you share the exported file from CrazyDance with us by email or here?

I tried to make the animation from scratch but it's honestly tough for us. So if you push that file, it would be helpful.