Asked — Edited

Another Pan/Tilt Question For Camera Control

Hi folks,

I've searched this forum and found some information related to my question, but I'm still experiencing some problems.

The vertical on my pan/tilt camera set-up is having some problems. It still bobs and flops up and down. Sometimes it locks in an up or down position. I don't know if the blue servo just isn't strong enough, or if there's a problem with my set-up.

I replaced the horizontal blue servo with one from the EZ kit, because the first seemed too flimsy. The horizontal tracking for face and color works great.

I uploaded my project file in-case anyone has time to investigate. But it seems fairly simple. I attached a picture of my set-up too. Many thanks!

My1stEZRobot.EZB

User-inserted image

User-inserted image

User-inserted image


ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

PRO
Synthiam
#9  

@alphapepper I should also add that you may need to tweak the grids. When the resolution is changed, the grid's will be wacky. You want each grid to occupy 1/3 of the screen. When an object is across any grid, the servos will move to keep the object in the center of the grids.

Also, not sure if i need to tell you this... but Movement and servo tracking both enabled will not work. Moving the head while moving the body is impossible to do together... Unless Relative servo tracking is used with a stationary camera.

#10  

DJ, thanks for getting back to me. So to test my understanding: I have the radar enabled which is controlling my movement (object avoidance). That works great. But I can't operate that and the Camera servo Tracking (Pan, Tilt) at the same time?

PRO
Synthiam
#11  

If your robot is moving while it is trying to follow and object with the head, can you imagine what will happen?:) The object is moving, the robot head is also trying to keep it centered. It's like running while reading a book

#12  

Okay, got it. The problem I'm seeing with the vertical tracking is while it's stationary. I'm going to tinker with it tonight. Thanks again.

PRO
Synthiam
#13  

Have you adjusted the Grid's to be 1/3 of the screen for each one?

I can assure you that once you have adjusted the grids, specified the min and max positions, adjusted the object color brightness... that it just works - like magic:)

What object are you attempting to track?

If you're sitting very close to the camera, some objects won't be tracked because they are too close. For example, if you hold a basketball in front of my face, i have no reason to move my eyes or my head to look at it - because it's right there in front of me:)

I hope that's making sense

United Kingdom
#14  

hi, i had the same problem and you have done what i done, you have the pan tilt on backwards. so i turned it around and it solved the problem. hope this helps

simon

#15  

I'm having a similary issue. I have blue 9g servos in a pan/tilt setup with brackets. The pan servo on D16 (the X axis) works great, I can track my face or color objects and (once I configured the grids) when objects are moved the tracking will center the camera on the objected.

The tilt servo on D17 (the Y axis) does not work as well. If I manually control the servo (via a vertical servo control element in ARC) I can move the head up and down pretty well. When the servo has to tilt during camera tracking it will move a little bit up to track an object but that's about it, then it pooters out and won't tilt up or down. Also when setting the min-max values in the camera control for D17 the tilt servo I can make the servo move to the extremes, but not back to a middle position. For example say I set my min position to 10 and my max to 90, but then change the max to 50 the servo does not go back up, it just make noise like it's trying.

But, if I switch to a vertical control servo element I can make the tilt servo move up and down and back to center.

My gut tells me the issue is in the 9g blue servo.

United Kingdom
#16  

It sounds like it could be that the servo isn't powerful enough, I had similar issues in Melvin's arms. I upgraded to Tower Pro MG90s with 6v external power and it worked much better.

Those 9g servos aren't all that strong. Pan will be fine but lifting anything, you may struggle.

Try an MG90 (or similar) and see if that's any better.