After installing all the required drivers and python requirements, I am having an odd problem where the crazyradio scan function won't pick up my crazyflie. This is odd because when I open the cfclient and scan I find the crazyflie easily.
My code is below, I don't think that it is a specific coding issue as this is from the ramp.py example folder. Any thoughts or ways I can better figure out what might be going on?
Code: Select all
import sys
sys.path.append("../lib")
import cflib.crtp
cflib.crtp.init_drivers(enable_debug_driver=False)
print "Scanning interfaces for Crazyflies..."
available = cflib.crtp.scan_interfaces()
print "Crazyflies found:"
for i in available:
print i[0]
if len(available) > 0:
print "Crazyflies located - have fun!"
else:
print "No Crazyflies found, cannot run example"