Go to Post A few years of stress is worth a lifetime of opportunity. - omegasis25 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2005, 11:30
Obi's Avatar
Obi Obi is offline
Registered User
#0870
 
Join Date: Jan 2004
Location: Southold
Posts: 18
Obi is an unknown quantity at this point
Camera Servo

In my custom code, I have three positions I set the pan and tilts to. None of them are the 127,127 position, but wheneverI change them, they immediately move back to 127,127. Is there code in other parts that set the servos to 127,127 after initializing or anything? Thanks.

Edit:
Also, is there a way to use the camera_set_servo command and not have to do camera_init again? Everytime, after I initialize the camera and tell it to go to a specific servo position, I don't get any camera feedback. And if I try to initialize again, it goes back to 127,127. Thanks.
__________________
[hr]
Southold Robotics Team #870 (RICE)

Last edited by Obi : 29-01-2005 at 13:40.
  #2   Spotlight this post!  
Unread 29-01-2005, 15:33
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Camera Servo

From my experience with calibrating the cam, it always rotates back to home after its done. Not sure how to change that though =/
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 30-01-2005, 17:09
kutty18 kutty18 is offline
Registered User
#0234 (Cyberblue)
Team Role: Programmer
 
Join Date: Jun 2004
Location: Indianapolis, IN
Posts: 23
kutty18 is on a distinguished road
Send a message via AIM to kutty18 Send a message via Yahoo to kutty18
Re: Camera Servo

If you enable autoServo() & call findColor(), will the camera automatically start searching (I mean, panning horizontally & tilting vertically) the field? If so, can you restrict the amount (46-210) of panning and tiliting so that we can save time by searching only "useful" places? If not, how do you move servo horizontally and vertically to search the field? We tried to manually set servos, but it seemed to be really slow...Thanks.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Have you gotten your robot to go towards the vision tetra? Bharat Nain Programming 20 25-02-2005 20:18
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
Camera Range Finding russell Programming 9 31-01-2005 19:54
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11


All times are GMT -5. The time now is 03:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi