I wrote the following email to bitcraze support, and they suggested to post here as well for they do not have an immediate answer. So here we go:
Thanks,Hello,
I am writing this email because my crazyflie radio signal is not found on cfclient, and I am wondering if this is a hardware defect on either crazyflie or crazyradio.
Here is what I did (I have not soldered the motors as I could not confirm the board is working):
I went to this page, and follow the instruction in "Check the electronics" section:
http://wiki.bitcraze.se/projects:crazyf ... s:assembly
I first connected crazyflie to my computer with a micro USB cable. This seemed to have gone well: It powered up and blinked 5 times with the green LED, and after that the green LED was fully on and the red LED kept blinking.
Then I attached the antenna to the crazyradio, and connected to my computer via USB (USB 2) port. The green and red LEDs on the crazyradio lit for a second and both went off.
Then I started cfclient software. The software seems to be working normally. I clicked connect button, expecting the radio from my crazyflie appears. But I only see "debug://0/0 - Debugdriver for UI testing".
The red LED on crazyflie kept on blinking while the blue and green LEDs are lit through out this session.
I also tried to click Scan button but no improvement.
I don't think there is radio interference when I tried this, and the crazyflie and crazyradio are very close to each other.
So, I am wondering if this is a hardware issue either on crazyflie or crazyradio.
Just to note that the above session was done on Mac OSX 10.7 (Lion) with USB 2.0 ports. I followed this blog to make cfclient work on Mac (http://crazyflie.blogspot.com/) I also tried the headless client on Raspberry Pi (using the custom SD-card image downloaded from here: http://wiki.bitcraze.se/projects:crazyf ... aspberrypi ). I could not make it work on Raspberry Pi either (the red LED on the crazyflie did not stop blinking. lsusb lists crazyradio.) I also tried with xubuntu 12.04 on VM: The same symptom, and not working. I do not have a Windows machine.
Can you help me?
Here is the console ouput from the session with Mac:Code: Select all
cfclient-2013.4.2$ python bin/cfclient Info: Using config path: /Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/lib/../conf Info: sys.path= ['/Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/lib', '/Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/lib/../conf', '/Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/bin', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python27.zip', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/plat-darwin', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/plat-mac', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/daigotanaka/Projects/bitcraze/venv/Extras/lib/python', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/lib-tk', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/lib-old', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/daigotanaka/Projects/bitcraze/venv/lib/python2.7/site-packages'] INFO:cfclient.cfclient:Disabling STL printouts INFO:cfclient.utils.config:Dist config read from /Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/lib/cfclient/configs/config.json INFO:cfclient.utils.config:Config file read from [/Users/daigotanaka/Projects/bitcraze/cfclient-2013.4.2/lib/../conf/config.json] INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json] INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json] INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json] INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json] INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1_linux.json] INFO:cfclient.utils.logconfigreader:Parsing [stabilizer.json] INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal 2013-10-19 19:17:56.827 python[42660:60b] _createMenuRef called with existing principal MenuRef already associated with menu 2013-10-19 19:17:56.828 python[42660:60b] ( 0 CoreFoundation 0x00007fff854e7f56 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff8b2a2d5e objc_exception_throw + 43 2 CoreFoundation 0x00007fff854e7d8a +[NSException raise:format:arguments:] + 106 3 CoreFoundation 0x00007fff854e7d14 +[NSException raise:format:] + 116 4 AppKit 0x00007fff8419a94b -[NSCarbonMenuImpl _createMenuRef] + 64 5 AppKit 0x00007fff8419a236 -[NSCarbonMenuImpl _instantiateCarbonMenu] + 148 6 AppKit 0x00007fff8416eecf -[NSApplication finishLaunching] + 878 7 AppKit 0x00007fff8416e860 -[NSApplication run] + 125 8 QtGui 0x0000000103497473 _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 365 9 QtCore 0x000000010281521d _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE + 79 10 QtCore 0x000000010281537b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 341 11 QtCore 0x0000000102817dbc _ZN16QCoreApplication4execEv + 188 12 QtGui.so 0x0000000102e80b67 meth_QApplication_exec_ + 81 13 .Python 0x0000000101b8ed77 PyEval_EvalFrameEx + 13861 14 .Python 0x0000000101b91df7 PyEval_EvalCode + 224 15 .Python 0x0000000101b8ee0a PyEval_EvalFrameEx + 14008 16 .Python 0x0000000101b91cd8 PyEval_EvalCodeEx + 1996 17 .Python 0x0000000101b91d4d PyEval_EvalCode + 54 18 .Python 0x0000000101ba908f Py_CompileString + 62 19 .Python 0x0000000101ba914f PyRun_FileExFlags + 157 20 .Python 0x0000000101baa2a2 PyRun_SimpleFileExFlags + 392 21 .Python 0x0000000101bba2af Py_Main + 2715 22 python 0x0000000101b00e88 python + 3720 )
Daigo