Page 4 of 4
Re: Problem with the Crazyflie
Posted: Tue Jun 04, 2013 1:06 pm
by tobias
The software is not able to damage the gyro but e.g. electrostatic discharge or mechanical stress are and if the MPU6050 broke it is very hard to tell why.
What software did you flash? You can try flashing the
old software again to rule that out. Also as I said I can make a custom version that prints more information from the self-test.
Re: Problem with the Crazyflie
Posted: Tue Jun 04, 2013 4:37 pm
by KOschi
i flashed the cflie-2013.4.bin Firmware from
https://bitbucket.org/bitcraze/crazyfli ... /downloads which results in Self test failed.
The strange now is the following: I flashed back to the "Old" cflie_ProductionV2.bin also from that bitbucket page and it is connecting again without problems. Also the Flightdata screen is rotating in all directions i move the flie with my hands.
Re: Problem with the Crazyflie
Posted: Wed Jun 05, 2013 8:32 am
by tobias
Hmm, this is really strange. Can you try the attached firmware (rename it to bin) which will print something similar to this:
Code: Select all
MPU6050: Self test gyro X. low: 10.0, high: 105.0, measured: 43.33
MPU6050: Self test gyro Y. low: -105.0, high: -10.0, measured: -43.88
MPU6050: Self test gyro Z. low: 10.0, high: 105.0, measured: 52.12
MPU6050: Self test acc X. low: 0.30, high: 0.95, measured: 0.61
MPU6050: Self test acc Y. low: 0.30, high: 0.95, measured: 0.51
MPU6050: Self test acc Z. low: 0.30, high: 0.95, measured: 0.58
MPU6050: Self test [OK].
And make sure to have the Crazyflie on a stable surface while powering it on and post the result here.
Re: Problem with the Crazyflie
Posted: Wed Jun 05, 2013 3:33 pm
by KOschi
here we go:
Code: Select all
bitcraze@bitcraze-ubuntu:~$ cd /home/bitcraze/projects/crazyflie-pc-client/bin/
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client/bin$ cfclient
Info: Using config path: /home/bitcraze/.local/cfclient
Info: sys.path= ['/usr/local', '/home/bitcraze/.local/cfclient', '/usr/local/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
INFO:cfclient.cfclient:Disabling STL printouts
INFO:cfclient.utils.config:Dist config read from /usr/local/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/bitcraze/.local/cfclient/config.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1_linux.json]
INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.logconfigreader:Parsing [stabilizer.json]
INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal
INFO:cfclient.ui.tabs.FlightTab:Clientside X-mode enabled: True
INFO:cflib.crtp.radiodriver:v0.5 dongle with serial N/A found
INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/10/250K]
INFO:cflib.crazyflie:We are connected[radio://0/10/250K], request connection setup
INFO:cflib.crazyflie:Callback->Connected to [radio://0/10/250K]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [5]
INFO:cflib.crazyflie.toc:TOC for port [5] found in cache
INFO:cflib.crazyflie:Log TOC finished updating
INFO:cflib.crazyflie.toc:TOC for port [2] found in cache
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [radio://0/10/250K]
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x97ec5ac>
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x97ec5cc>
<cfclient.ui.widgets.rtplotwidget.PlotDataSet instance at 0x97ec5ec>
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crazyflie.log:Have successfully logging for block=1
INFO:cflib.crazyflie.log:Have successfully logging for block=2
INFO:cflib.crazyflie.log:Have successfully logging for block=3
INFO:cflib.crazyflie.log:Have successfully logging for block=4
INFO:cflib.crazyflie.log:Have successfully logging for block=5
INFO:cflib.crazyflie:Closing link
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/10/250K]
INFO:cflib.crazyflie:Closing link
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/10/250K]
INFO:cfclient.utils.config:Config file saved to [/home/bitcraze/.local/cfclient/config.json]
Code: Select all
ng!
SYS: Build 37:75f398b2283a (tip) CLEAN
SYS: I am 0x8713352554568549671FF50 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883L I2C connection [FAIL].
IMU: MS5611 I2C connection [FAIL].
MPU6050: Self test gyro X. low: 10.0, high: 105.0, measured: 44.25
MPU6050: Self test gyro Y. low: -105.0, high: -10.0, measured: -43.82
MPU6050: Self test gyro Z. low: 10.0, high: 105.0, measured: 54.44
MPU6050: Self test acc X. low: 0.30, high: 0.95, measured: 0.59
MPU6050: Self test acc Y. low: 0.30, high: 0.95, measured: 0.51
MPU6050: Self test acc Z. low: 0.30, high: 0.95, measured: 0.71
MPU6050: Self test [OK].
Re: Problem with the Crazyflie
Posted: Fri Jun 07, 2013 6:32 am
by tobias
Good news, your Crazyflie seems perfectly fine. Can you try the
latest stable release again, or maybe you already done that?
Re: Problem with the Crazyflie
Posted: Fri Jun 07, 2013 7:13 am
by KOschi
You are right. I allready done that after i replaced the motor which was not working AND the Fly is working again. But i have strange disconnects every now and then when flying. Its not even far away from the crazyradio, its like 3-4 meters away.
Re: Problem with the Crazyflie
Posted: Fri Jun 07, 2013 9:09 am
by tobias
It can be due to interfering wifi networks. Have a look
here.