Battle with the raspberry
Its vision processing future looks bleak. With no preview video, it does a single 640x480 camera at 28fps. With preview video, it does 24fps. That's with it at 1Ghz, consuming 0.6A. Usage is evenly divided between JPEG decompression & blob detection.
The easiest solution is less resolution or downsampling to 640x240. 640x240 barely goes at 30fps with preview. 320x240 would be the maximum for stereo.
To get the CPU frequency in khz:
To list the available governors:
For comparing CPU usage of the different modes, fix it at the highest speed:
echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
It does occasionally crash. It could be a flaky molex connector for power or the LM317 overheating. The servos aren't even being used, yet.
Last edited by Jack Crossfire; Dec 07, 2012 at 05:05 AM.
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Discussion||Raspberry Pi for multi rotor||360walt||Multirotor Drone Talk||15||Apr 15, 2013 09:33 AM|
|Discussion||Anyone want to ride with me to DAK (scale tank battle) mid morning Saturday?||rampman||Arizona Model Aviators||9||Apr 25, 2012 10:53 AM|
|Cool||This is different, Battle of the Atlantic video with models||ken_nj||Dock Talk||8||Feb 29, 2012 09:40 AM|