Re: Problem with the Crazyflie
Posted: Wed May 29, 2013 10:19 am
Yes, now I get the same error in the console everytime I connect.
The Bitcraze web forum
https://forum.bitcraze.io/
Code: Select all
SYS: Crazyflie is up and running!
SYS: Build 26:5f65b66e004d(Production-V2)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[OK]
Sorry, I was a bit unclear. Could you paste the text from the windows terminal that the application launches in instead?KOschi wrote:Here is the Output from the Console when the Fly connects.
Code: Select all
SYS: Crazyflie is up and running! SYS: Build 26:5f65b66e004d(Production-V2)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[OK]
Code: Select all
bitcraze@bitcraze-ubuntu:~$ cd ~/projects/crazyflie-pc-client/cfclient/
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client/cfclient$ python cfclient.py
INFO:__main__:Disabling STL printouts
INFO:utils.input:Parsing [Koschi_1.json]
INFO:utils.input:Parsing [Generic_OS_X.json]
INFO:utils.input:Parsing [PS3_Mode_2.json]
INFO:utils.input:Parsing [PS3_Mode_1.json]
INFO:utils.logconfigreader:Parsing [battery.json]
INFO:utils.logconfigreader:Parsing [memlogtest.json]
INFO:utils.logconfigreader:Parsing [mem_and_toc.json]
INFO:utils.logconfigreader:Parsing [imu_gyro.json]
INFO:utils.logconfigreader:Parsing [imu_acc.json]
INFO:utils.logconfigreader:Parsing [stabalizer.json]
INFO:ui.tabs.FlightTab:Changed flightmode to Crazy :)
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]
INFO:cflib.crazyflie:Log TOC finished updating
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [radio://0/10/250K]
WARNING:cflib.crazyflie.toc:Unable to find variable [sys.battery]
WARNING:cflib.crazyflie.log:Log: sys.battery not in TOC, this block cannot be used!
WARNING:ui.main:Could not setup loggingblock!
WARNING:cflib.crazyflie.toc:Unable to find variable [sys.battery]
WARNING:cflib.crazyflie.log:Log: sys.battery not in TOC, this block cannot be used!
WARNING:ui.main:Could not setup loggingblock!
WARNING:cflib.crazyflie.toc:Unable to find variable [stabalizer.roll]
WARNING:cflib.crazyflie.log:Log: stabalizer.roll not in TOC, this block cannot be used!
WARNING:ui.tabs.FlightTab:Could not setup logconfiguration after connection!
WARNING:cflib.crazyflie.toc:Unable to find variable [sys.battery]
WARNING:cflib.crazyflie.log:Log: sys.battery not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
WARNING:cflib.crazyflie.toc:Unable to find variable [imu.acc_x]
WARNING:cflib.crazyflie.log:Log: imu.acc_x not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
WARNING:cflib.crazyflie.toc:Unable to find variable [imu.acc_x]
WARNING:cflib.crazyflie.log:Log: imu.acc_x not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
WARNING:cflib.crazyflie.toc:Unable to find variable [imu.gyro_x]
WARNING:cflib.crazyflie.log:Log: imu.gyro_x not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
WARNING:cflib.crazyflie.toc:Unable to find variable [imu.acc_x]
WARNING:cflib.crazyflie.log:Log: imu.acc_x not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
WARNING:cflib.crazyflie.toc:Unable to find variable [stabalizer.roll]
WARNING:cflib.crazyflie.log:Log: stabalizer.roll not in TOC, this block cannot be used!
WARNING:ui.tabs.PlotTab:Could not setup log configuration!
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: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]
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client/cfclient$
Code: Select all
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client/cfclient$ python cfclient.py
INFO:__main__:Disabling STL printouts
INFO:utils.input:Parsing [Koschi_1.json]
INFO:utils.input:Parsing [Generic_OS_X.json]
INFO:utils.input:Parsing [PS3_Mode_2.json]
INFO:utils.input:Parsing [PS3_Mode_1.json]
INFO:utils.logconfigreader:Parsing [battery.json]
INFO:utils.logconfigreader:Parsing [memlogtest.json]
INFO:utils.logconfigreader:Parsing [mem_and_toc.json]
INFO:utils.logconfigreader:Parsing [imu_gyro.json]
INFO:utils.logconfigreader:Parsing [imu_acc.json]
INFO:utils.logconfigreader:Parsing [stabalizer.json]
INFO:ui.tabs.FlightTab:Changed flightmode to Crazy :)
Traceback (most recent call last):
File "/home/bitcraze/projects/crazyflie-pc-client/cfclient/ui/tabs/ServiceTab.py", line 244, in initiateColdBoot
if self.loader.coldBoot():
File "../cflib/bootloader/cloader.py", line 149, in coldBoot
if self.updateInfo():
File "../cflib/bootloader/cloader.py", line 171, in updateInfo
cpuid = struct.unpack("B"*12, pk.data[10:])
struct.error: unpack requires a string argument of length 12
Code: Select all
File "../cflib/bootloader/cloader.py", line 171, in updateInfo
cpuid = struct.unpack("B"*12, pk.data[10:])
struct.error: unpack requires a string argument of length 12