Go to Post The only shame is if you are too proud to ask for help and to learn. - Mc Kenna [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 19-05-2007, 09:12
Chief Samwize Chief Samwize is offline
Registered User
AKA: Sam
FRC #0051 (Wings of Fire)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Pontiac, MI
Posts: 171
Chief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud ofChief Samwize has much to be proud of
Programming Camera in Easy C

I'm a realitivly new programmer and have been using easy C to program our robot this year. We did not use the camera this year but we are trying to experiment with it in the off season.

I was wondering if any teams programmed their robot with a camera using easy C and if so how you did so. What we want to do is determine the pan to adjust our drive train and then determine the tilt to determine how far we need to drive. If anyone could help, thanks in advance

-Sam
  #2   Spotlight this post!  
Unread 19-05-2007, 11:53
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Programming Camera in Easy C

Sam

Check this thread out

http://www.chiefdelphi.com/forums/sh...ad.php?t=52003

Good luck!
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #3   Spotlight this post!  
Unread 19-05-2007, 16:00
Stephen Kowski's Avatar
Stephen Kowski Stephen Kowski is offline
BSEE, MSEE, JD
AKA: employed
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Saint Petersburg, FL
Posts: 1,144
Stephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond repute
Send a message via AIM to Stephen Kowski
Re: Programming Camera in Easy C

1369/1902 used easyC to track the light with great success this year. Our camera was statically mounted and we tracked the height of the light and as we got closer it moved upward in the field of view. Once we got to a certain height in the field of view we knew we were at the correct distance to cap in autonomous.

If I remember we started with the 2007 kickoff demo code and worked from there.

good luck.
  #4   Spotlight this post!  
Unread 19-05-2007, 20:37
SgtMillhouse648's Avatar
SgtMillhouse648 SgtMillhouse648 is offline
Registered User
AKA: Malhon Godwin
FRC #0648 (QC Elite)
Team Role: Engineer
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Davenport, IA
Posts: 153
SgtMillhouse648 has a spectacular aura aboutSgtMillhouse648 has a spectacular aura about
Send a message via MSN to SgtMillhouse648
Re: Programming Camera in Easy C

QC Elite used the camera for the first time this year, also with easyC. Although we did not score in auto at atlanta, we were the only team to score in auto at midwest. We mounted the camera using the pan tilt assy, and wrote a search routine similar to kevins. Once the camera found the light, it tracked it, and we then kept track of the servo outputs to the camera. We used the pan to drive the robot, and the tilt to tell when we were close enough. When the camera angle was high enough, the robot stopped and went through an unloading sequence. The distance worked, but we had a hard time driving the robot straight to the light.
Good luck,
Malhon
__________________
2007-
Midwest Regional-
Regional Finalists with 1000 and 447
Rockwell Automation Inspiration in Control Award
Regional Woodie Flowers - Ed Wegscheid



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
Easy C Relay Programming Team_486 Programming 1 26-03-2007 15:01
Easy C programming Problem fredliu168 FIRST Tech Challenge 6 19-11-2006 22:44
Using Easy C to program the camera. Tazlikesrobots Programming 5 19-02-2006 21:33
Easy C programming , Worth teaching? Nine9cracker Programming 16 19-01-2006 00:45
Easy-C Programming CD Jeff K. Programming 2 09-01-2006 02:20


All times are GMT -5. The time now is 01:21.

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