Error in terminal when trying to connect

Post here to get support
Post Reply
skionski
Beginner
Posts: 1
Joined: Thu May 23, 2013 9:15 pm

Error in terminal when trying to connect

Post by skionski »

I am trying to set up the CF and radio on a MacBook. I've completed all of the instructions in the wiki. When I press "Connect" in the client, I get the following error message in the terminal. I'm not sure what to do next. Thanks!

INFO:cflib.crazyflie:Callback->Connection initialized[debug://0/0]
INFO:cflib.crazyflie:We are connected[debug://0/0], request connection setup
INFO:cflib.crtp.debugdriver:TOC access on port 5
INFO:cflib.crtp.debugdriver:TOC[5]: Requesting TOC CRC, sending back fake stuff: 15
INFO:cflib.crtp.debugdriver:TOC access on port 5
INFO:cflib.crazyflie:Callback->Connected to [debug://0/0]
INFO:cflib.crtp.debugdriver:TOC[5]: Requesting TOC CRC, sending back fake stuff: 15
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.crtp.debugdriver:TOC access on port 2
INFO:cflib.crtp.debugdriver:TOC[2]: Requesting TOC CRC, sending back fake stuff: 15
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 [debug://0/0]
INFO:cflib.crtp.debugdriver:LOG:Adding block id=1
INFO:root:FakeDataLoggingThread created for blockid=1
INFO:cflib.crtp.debugdriver:LOG:Adding block id=2
INFO:root:FakeDataLoggingThread created for blockid=2
INFO:cflib.crtp.debugdriver:LOG:Adding block id=3
INFO:root:FakeDataLoggingThread created for blockid=3
INFO:cflib.crtp.debugdriver:LOG:Adding block id=4
INFO:root:FakeDataLoggingThread created for blockid=4
INFO:cflib.crtp.debugdriver:LOG:Starting block 1
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=1] at period 0
INFO:cflib.crtp.debugdriver:LOG:Started block=1
INFO:cflib.crtp.debugdriver:LOG:Starting block 2
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=2] at period 0
INFO:cflib.crtp.debugdriver:LOG:Started block=2
INFO:cflib.crtp.debugdriver:LOG:Starting block 3
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=3] at period 0
INFO:cflib.crtp.debugdriver:LOG:Started block=3
INFO:cflib.crtp.debugdriver:LOG:Starting block 4
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=4] at period 0
INFO:cflib.crtp.debugdriver:LOG:Started block=4
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.crtp.debugdriver:PARAM: Getting value for 1
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 0
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 5
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 4
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 6
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 2
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 7
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 3
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 11
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 10
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 12
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 8
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 13
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 9
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 14
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 15
objc[14076]: Object 0x7fbeae94ba20 of class NSConcreteMapTable autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
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: Error in terminal when trying to connect

Post by tobias »

It looks like you are connecting to the debug driver (debug://) and not the radio driver (radio://).

Could you try the latest version (2013.4.2) that is available here. This version contains some extra debugdata that can be seen if you go to Help->About and have a look at the Debug tab. Could you cut and paste the text that's there?
TheFrog4u
Expert
Posts: 113
Joined: Fri Feb 08, 2013 6:59 pm
Location: Bremen, Germany

Re: Error in terminal when trying to connect

Post by TheFrog4u »

After clicking connect in the upper right first select "[radio://10/250]" and than connect.
Post Reply