Skip to content

Instantly share code, notes, and snippets.

View takeoffdemo.py
import logging
import sys
import time
import cflib.crtp
from cflib.crazyflie import Crazyflie
from cflib.crazyflie.syncCrazyflie import SyncCrazyflie
View avoidtrigger.py
import logging
import sys
import time
import cflib.crtp
from cflib.crazyflie import Crazyflie
from cflib.crazyflie.syncCrazyflie import SyncCrazyflie
URI = 'radio://0/80/2M'
View swarmdemogbug.py
import math
import time
import cflib.crtp
from cflib.crazyflie.swarm import CachedCfFactory
from cflib.crazyflie.swarm import Swarm
# Change uris according to your setup
URI0 = 'radio://0/70/2M/E7E7E7E7E7'
@knmcguire
knmcguire / lighthouse_trace_logo.py
Created Mar 18, 2019
Demo to make the crazyflie with the LED ring to fly the logo of Bitcraze
View lighthouse_trace_logo.py
#!/usr/bin/env python3
# Demo to make the crazyflie with the LED ring to fly the logo of bitcraze
import sys
import time
import math
import numpy
import cflib.crtp
from cflib.crazyflie import Crazyflie
@knmcguire
knmcguire / lighthouse_concentric_circles.py
Created Mar 18, 2019
Demo that makes the crazyflie with the LED-ring fly 3 concentric circles in the colors: red, blue and green.
View lighthouse_concentric_circles.py
#!/usr/bin/env python3
#Demo that makes the crazyflie fly 3 concentric circles in the colors: red, blue and green.
import sys
import time
import math
import numpy
import cflib.crtp
You can’t perform that action at this time.