France
Asked — Edited

Vertical Camera Tracking Question

I do not know if i'm in the right section. I built a boxbot as in the tutorial.

User-inserted image

I have a problem with the tracking function of the camera. For horizontal tracking, it works well, but not for the vertical tracking. It detects the object down the area grid, the camera go directly to the maximum ("servo max" in config) position and minimum position ("servo min") if the camera detects the objet up, without stopping at intermediate position when the object enters the area. Despite the settings are identical to the tracking horizontal, and increment are 1.


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

United Kingdom
#1  

Check the inverted box for the Y axis, see if that solves it...

#2  

I had try, but it is not this.

United Kingdom
#3  

OK, check the relative position box, I had a similar issue and it was either invert or relative position that caused it.

My config looks like this and works perfectly... Highlighted the things I would check in red for you...

User-inserted image

#4  

my config is similar to yours, but it doesn't works:(

User-inserted image

when I click relative position, it does not change anything for the vertical tracking but also disturd horizontal tracking.

#5  

Just an idea... For your Vertical servo Port, the value in servo Min is higher than in servo Max. When I accidentally done that with my Ping Radar Servo, i had the same symptoms (servo went directly to maximum)... Maybe you could try to put 40 in servo Min and 60 in servo Max (and maybe then use Invert Direction?)

Edit (in french): Kalinox, je n'avais pas vu que tu étais français:D Donc, en français dans le texte, le problème vient peut-être d'avoir mis la valeur max dans servo Min et inversement. Pour le servo du radar Ping, ça ne marche pas et ça bloque aussi en position max... Ca vaut peut-être le coup d'essayer d'inverser.

United Kingdom
#6  

@fredebec you beat me to it, good catch. Swap the min and max figures around and it'll work (I would put money on it)

#7  

This is what's great about the forum! Good advice from good people.

#8  

Merci Fredebec, j'ai modifier les valeurs de facon a avoir la plus petite dans servo min et vice versa. Ca marche niquel. :) Merci beaucoup.

Thank you all !