AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Polar coordinate and SERVOs (pan-tilt).

The forum is to discuss topics related to robotics, like building robot, controlling it, its software and hardware, etc.

Polar coordinate and SERVOs (pan-tilt).

Postby mr.shutdown » Sat May 02, 2009 11:41 pm

I'd like to make a similar project to "Making a step to stereo vision" using only one CAM.
I've made a pan-tilt module and I've placed a webcam on it.
I'm using the same material (HiTec HS-322HD Standard Servo and PhidgetAdvancedServo 8-Motor) wich is used in the article.

How I must set the position?
Can you show me the solution, please?

Thank you.
mr.shutdown
 
Posts: 12
Joined: Fri Feb 27, 2009 10:29 am
Location: Italy

Re: Polar coordinate and SERVOs (pan-tilt).

Postby andrew.kirillov » Mon May 04, 2009 8:32 am

Hello,

Actually all you are looking for is already available. Take a look at these two articles:
1) Making a step to stereo vision;
2) Lego Pan Tilt Camera and Objects Tracking.

Both above articles come with attached applications, so you can study the source code.

What you need is just to combine some code from both: take the part, which is related to Phidgets, from the first article and the part, which is related to tracking object with single camera, from the second article.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3439
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: Polar coordinate and SERVOs (pan-tilt).

Postby mr.shutdown » Mon May 04, 2009 10:50 pm

Andrew, thank you!
I'll try to do it. :D
mr.shutdown
 
Posts: 12
Joined: Fri Feb 27, 2009 10:29 am
Location: Italy




Return to Robotics

cron