Page 1 of 1

Edit code '' for using multi-cf2

Posted: Mon Mar 11, 2019 5:43 am
by song
Hi, there
I've tried to use multi Crazyflie(more than one) with a single radio dongle.
So i searched forums to get how to do, and i found a similar question on Forums. Here's the link.

What i want to know is what version of python code is adequate to be edited.
I mean, I'm using now the latest version of Crazyflies and firmware, but that Post of the forum doesn't seem to in the same environment.
Is it okay just add some code (as marked '+' pictured below) into my ''(It's up-to-date)?
이미지 4.png
I really want to make my project to be succeeded.
I'm looking forward to your reply. Thank you!

Re: Edit code '' for using multi-cf2

Posted: Mon Mar 11, 2019 7:13 am
by arnaud
That post is very old and thinks have evolved since then.

The lib is not capable to connect multiple Crazyflie out of the box, using one or multiple radios. There is a couple of example showing how to connect multiple Crazyflie with a single Crazyradio in the Crazyflie lib python repos. The most basic is multiramp: ... Depending of what you want to achieve there is also higher level lib like the swarm class: ...

Re: Edit code '' for using multi-cf2

Posted: Mon Mar 11, 2019 7:37 am
by song
How fast reply! Thank you!

Unfortunately, i'm not familiar with Python language. So i need a little bit more your help.
In '', There's a comment and that would be a help to me.
but i don't understand exactly how to use it.
I mean, 1) How to change address 2) Tools that i should use, etc.
The final goal of my project is using 10 Crazyflie with 6 (or 4)anchors.
So the step(sequence) to set-up for 'multiramp' is what i really need.

I already succeed to change each Cf2 address with ''
but i don't know the next step.

Thank you.