connection to copter errors

Post here to get support
Post Reply
bstott
Beginner
Posts: 25
Joined: Tue Mar 12, 2013 8:00 pm

connection to copter errors

Post by bstott »

I have recently updated the firmware via radio link and the bootloader. Cool feature. The CF Client connects to the copter and the copter attitude is displayed.
I am using Win 8.

Edit: In the below Error messages there is a spelling error --- "whas" should be "was".

Errors - What do they mean? When I power up the copter and connect to the CF Client I receive the following errors in the monitor:

Info: Using config path: C:\Users\Dad\AppData\Roaming\cfclient
Info: sys.path= ['C:\\Program Files (x86)\\Crazyflie client', 'C:\\Users\\Dad\\AppData\\Roamin
g\\cfclient', 'C:\\Program Files (x86)\\Crazyflie client\\.']
INFO:cfclient.utils.config:Dist config read from C:\Program Files (x86)\Crazyflie client/cfcli
ent/configs/config.json
INFO:cfclient.utils.config:Config file read from [C:\Users\Dad\AppData\Roaming\cfclient/config
.json]
INFO:cfclient.utils.input:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.input:Parsing [PS3_Mode_1.json]
INFO:cfclient.utils.input:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.input:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.logconfigreader:Parsing [battery.json]
INFO:cfclient.utils.logconfigreader:Parsing [imu_acc.json]
INFO:cfclient.utils.logconfigreader:Parsing [imu_gyro.json]
INFO:cfclient.utils.logconfigreader:Parsing [memlogtest.json]
INFO:cfclient.utils.logconfigreader:Parsing [mem_and_toc.json]
INFO:cfclient.utils.logconfigreader:Parsing [stabalizer.json]
INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal
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
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
INFO:cflib.crazyflie:Callback->Connected to [radio://0/10/250K]
ERROR:cflib.crazyflie.toc:Got packet that was not on TOC channel, TOC fetch will probably not
succeed
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]
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
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [2]
INFO:cflib.crazyflie.log:Have successfully logging for block=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=3
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [2]
INFO:cflib.crazyflie.log:Have successfully logging for block=4
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.toc:Unable to find variable [sys.battery]
WARNING:cflib.crazyflie.log:Log: sys.battery not in TOC, this block cannot be used!
WARNING:cfclient.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:cfclient.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:cfclient.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:cfclient.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:cfclient.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:cfclient.ui.tabs.PlotTab:Could not setup log configuration!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: connection to copter errors

Post by tobias »

Hi bstott,

I think it is a problem with the configuration files when updating the cfclient. What version of the cfclient are you using an on what operating system? I think it can be bacause of old configuration files that are left when updating the cfclient.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: connection to copter errors

Post by marcus »

Hi Scott,
bstott wrote: WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one
on [5]
These warnings has to do with the mechanism for making sure that the clients gets the requested answers back from the Crazyflie. It's working even though there's warnings but we have a bug-report for this.
bstott wrote: 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:cfclient.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:cfclient.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:cfclient.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:cfclient.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:cfclient.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:cfclient.ui.tabs.PlotTab:Could not setup log configuration!
These logging configurations has been removed from the new distribution that uses the installer. They are old and contain variable names that are no longer used in the firmware so that's why the warning shows up. If you would like to get rid of them just go into your C:\Users\your_user\AppData\Roaming\cfclient and delete the logging directory.

/Marcus
Post Reply