[SOLVED] Crazyflie cannot fly, ERROR! Older timer found

Post here to get support
Post Reply
luisruiz
Beginner
Posts: 14
Joined: Fri May 31, 2013 7:39 am

[SOLVED] Crazyflie cannot fly, ERROR! Older timer found

Post by luisruiz »

Hello,

I have a Crazyflie, I already followed the installation intructions. I have the following:

-- A 10 DOF CrazyFlie assembled, I guess it is well assembled, since when I turn it on the rotors turn in the right directions and the leds blink as described.
-- Crazyflie PC Client running on Windows 7.
-- I have installed Microsoft Visual Studio 2012 for Desktop.
-- I am using an Elecom PS3 like controller.
-- Crazyradio installed.

So, this is happening:

-- I open the PC client
-- Click on connect
-- The client shows:

radio://0/10/250K
debug://0/0 - Debugdriver for UI testing

-- At this point if I click scan, the green led on the Crazyflie blinks, that makes me think the Crazyradio is working right.
-- I click connect.

After connecting I am not able to fly the Crazyflie. The controller is responding since I move the joysticks and I can see the target values moving accordingly to the controller configuration.

Then looking at the output window I always get the same messages, which are below, I get an error related to an old timer and a warning related to an stabalizer.roll, but I cannot find the cause of them, can anyone help me??

Thanks!!!
--Luis

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Info: Using config path: C:\Users\wanglab\AppData\Roaming\cfclient
Info: sys.path= ['C:\\Program Files (x86)\\Crazyflie client', 'C:\\Users\\wanglab\\AppData\\Roaming\\cfclient', 'C:\\Program Files (x86)\\Crazyflie client\\.']
INFO:cfclient.utils.config:Dist config read from C:\Program Files (x86)\Crazyflie client/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [C:\Users\wanglab\AppData\Roaming\cfclient/config.json]
INFO:cfclient.utils.input:Parsing [ELECOM.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 [stabalizer.json]
INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal
Saving Elecom Wireless Gamepad
INFO:cflib.crtp.radiodriver:v0.5 dongle with serial N/A found
*************** AT THIS POINT I HAVE SCANNED THE CRAZYFLIE AND AFTER IT I CLICK CONNECT ***********************
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.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:Callback->Connected to [debug://0/0]
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:cflib.crtp.debugdriver:LOG:Starting block 1
INFO:root:FakeDataLoggingThread created for blockid=2
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=1] at period 0
INFO:cflib.crtp.debugdriver:LOG:Started block=1
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.crazyflie.log:Have successfully logging for block=1
INFO:cflib.crtp.debugdriver:LOG:Starting block 2
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 1
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:cflib.crtp.debugdriver:PARAM: Getting value for 0
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=3] at period 0
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:LOG:Started block=3
INFO:cflib.crtp.debugdriver:LOG:Starting block 4
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 5
INFO:root:_FakeLoggingDataThread: Enable thread [Fakelog block=4] at period 0
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:LOG:Started block=4
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 4
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
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 6
INFO:cflib.crazyflie.log:Have successfully logging for block=3
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 2
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 7
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]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 3
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 11
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
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 13
INFO:cflib.crtp.debugdriver:PARAM: Getting value for 9
WARNING:cflib.crazyflie:ExpectAnswer: ERROR! Older timer whas running while scheduling new one on [2]
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
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!
*************** I CANNOT MAKE IT FLY, THEN I CLICK DISCONNECT ***********************
INFO:cflib.crazyflie:Closing link
INFO:cflib.crtp.debugdriver:Closing debugdriver
INFO:cflib.crazyflie:Callback->Disconnected from [debug://0/0]
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie cannot fly, ERROR! Older timer found

Post by tobias »

I think it might be software mismatch. Can you try updating to the most recent versions.

Also make sure the red led is blinking about 2 times a second. That means it is calibrated and ready to fly. If it is only blinking once a second it is not calibrated and won't fly.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Crazyflie cannot fly, ERROR! Older timer found

Post by marcus »

Hi,

Before you click Connect you should select the row that says "radio://0/10/250K". Looking at the log you attached you are connecting to the other URI, the "debug://0/0" and using this you cannot fly (this is only for debug purposes).

/Marcus
luisruiz
Beginner
Posts: 14
Joined: Fri May 31, 2013 7:39 am

Re: Crazyflie cannot fly, ERROR! Older timer found

Post by luisruiz »

Hello,

I was not selecting "radio://0/10/250K" before conecting. Now it is flying, thanks!

--Luis
totzkie81392
Beginner
Posts: 1
Joined: Mon Jan 13, 2014 3:32 am

Re: [SOLVED] Crazyflie cannot fly, ERROR! Older timer found

Post by totzkie81392 »

i cannot see the URI when conneting to crazyflie..anyone knows how to solve this problem?
pls help..its for educational purpuses..thank you
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: [SOLVED] Crazyflie cannot fly, ERROR! Older timer found

Post by tobias »

The Crazyradio driver is probably not working. If you open the bootloader dialog in the cfclient do you get an error for the Crazyradio shown besides the status:?

If you will use it for educational purposes I suggest you start out with the virtual machine as it will get you going quickly.
Post Reply