Crazyflie clear cache/errors
Posted: Tue Aug 26, 2014 8:25 pm
Hey everyone!
I am currently coding the Crazyflie to be continuously controlled, but I found that there is a delay between the time the command is sent and when it is actually being executed by the quad itself (I am sending commands to the crazyflie around 20 times per second). I presume this is due to the cache of the crazyflie filling up and not being read at the same rate (possibly due to the 500ms execution time?), and was wondering if there was any way to clear the cache of the crazyflie in Python or somehow reduce that latency? Also, when running the program (on different computers with different dongles/crazyflies), I found that there were cache-related errors such as "WARNING:root:[2]: Was expecting 22 but got 17" and "WARNING:cflib.crazyflie.toccache: Could not save cache, no writable directory" that occurred in groups of 5-10 (in a row) occasional throughout each iteration of the program that might be possibly related.
Thanks so much
I am currently coding the Crazyflie to be continuously controlled, but I found that there is a delay between the time the command is sent and when it is actually being executed by the quad itself (I am sending commands to the crazyflie around 20 times per second). I presume this is due to the cache of the crazyflie filling up and not being read at the same rate (possibly due to the 500ms execution time?), and was wondering if there was any way to clear the cache of the crazyflie in Python or somehow reduce that latency? Also, when running the program (on different computers with different dongles/crazyflies), I found that there were cache-related errors such as "WARNING:root:[2]: Was expecting 22 but got 17" and "WARNING:cflib.crazyflie.toccache: Could not save cache, no writable directory" that occurred in groups of 5-10 (in a row) occasional throughout each iteration of the program that might be possibly related.
Thanks so much
