Go to Post You want to be treated like a professional, so you need to continue to act like one even if the odds are against you. - Eugenia Gabrielov [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 08-02-2005, 23:22
logicalhippo logicalhippo is offline
Registered User
AKA: Russell McClellan
#0213 (Dirty Birds)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Keene, NH
Posts: 11
logicalhippo is an unknown quantity at this point
Send a message via AIM to logicalhippo
Re: servos and the camera

Our team is doing the tracking without the servos. So far the robot rotates in place to line up with the blob. We wrote our own camera code using the FIRST serial driver. Basically we scale the x-value (data byte 1 of the T packet) of the blob from 3-158 to 0-255, then feed it into the x-value of a one joystick algorithm. It works quite nicely.

unfortunately, you cannot just send the pan servo out to the rc. The algorithm the camera uses assumes that when it sends a value, it will be rotated to the corresponding heading. If you wanted to use these values, you could detect changes in the servo output and then rotate the robot the corresponding angle. Overall, it's more trouble than it is worth, because the x-value of the blob (sent in the serial stream) is usable in a one-joystick algorithm.
 


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
Calabrating the servos rust710 Motors 9 25-12-2002 20:41
Need help in creating program to use servo's to shift drive archiver 2001 19 24-06-2002 00:35


All times are GMT -5. The time now is 19:16.

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