USA
Asked — Edited

Servo Controlled Camera Question

Just a quick question:

I'm having an issue with the face tracking in that if a face moves off screen too quickly, it is, of course, lost. It would seem iRobot's head need to move more quickly to keep up (with a reasonably moving face) but if I set the servo speed over 2 it gets jerky and kind of scary. My frame rate is pretty slow. I don't remember the exact rate but it's under the lowest setting. I have the camera resolution set to 160x120, the lowest res. Would a faster computer help? I'm running it on an old quad-core, win 7 unit. I have an i7 Asus laptop but the vid card went belly-up (I think). I may risk the $70 for a used vid card replacement. I'm assuming the camera is a processor intensive process and that more RAM or better graphics won't help. Thanks:)


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

PRO
USA
#17  

Remind me is "0" fastest or slowest ? I understand 1 would be faster than 9, but I think I remember reading 0 was slowest?! Not sure why that's stuck in my head?!

Also would it be reasonable to have a drop down in each window for setting up the servo speed?

#18  

@fxrtst 0 is default (fastest speed) and 10 being the slowest... So the higher the ServoSpeed number the slower the servo speed... 1 is slower than 0 and two is slower than 1 and so on...


ServoSpeed(D0,0) #default fastest speed
#....
ServoSpeed(D0,10) #slowest servo speed

#19  

Accordong to an old v3 ezb video I just watched from a few years back it looks like 0 is the fastest speed. I don't remember if that changed when the v4 came out.

#21  

I just assumed that the "jerk" was the program initializing the servo at 0 speed, before the servo reads the programmed speed. 0 is pretty darn fast, at least in my case.

Of course DJ is the uber expert. I'm just pretending to know anything about all this, lol. FYI, let's not worry about hijacking and what-not. This is good info.