OCCRA
Go to Post ...and part of being Graciously Professional is knowing what your job is and how to perform the duties of it accurately. - jamie_1930 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 01-12-2007, 06:50 PM
paulcd2000's Avatar
paulcd2000 paulcd2000 is offline
Accidentally speaks in C
AKA: Paul Dagnelie
FRC #1719 (The Umbrella Corp.)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore
Posts: 368
paulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the rough
Send a message via AIM to paulcd2000
2007 camera code

where is the camera code for 2007? Is it in http://kevin.org/frc/ or is it somewhere else? how does one include it in one's code? Thanks!
__________________
"People don't say 'It's just a game' when their team is winning!" -- Scott Adams

5.5 students (on average)* $7/h *210 hours/student= $8085 of labor, all volunteered (not counting mentors', who are each that much)

We have blades on our robot?! ***sweeeeeet***

There are 11 types of people in the world. Those who can read binary, those who can't, and those who say this joke is supposed to be, "There are 10 types of people in the world. Those who can read binary and those who have a life."
  #2   Spotlight this post!  
Unread 01-13-2007, 06:29 PM
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 950
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31 Send a message via Skype™ to chris31
Re: 2007 camera code

Are you using MPlab or EasyC?
  #3   Spotlight this post!  
Unread 01-15-2007, 09:35 AM
Ghosty Ghosty is offline
El Geeko Diablo
FRC #1357
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Loveland, Colorado
Posts: 6
Ghosty is an unknown quantity at this point
Re: 2007 camera code

Yeah, I was wondering where this was. I thought Kevin was working on it this weekend. Does anybody know where this is?
  #4   Spotlight this post!  
Unread 01-15-2007, 11:32 AM
Ghosty Ghosty is offline
El Geeko Diablo
FRC #1357
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Loveland, Colorado
Posts: 6
Ghosty is an unknown quantity at this point
Re: 2007 camera code

Yeah, I don't mean to be rude, but we can't really work on the camera if we don't have default code for it. So it would be nice if somebody could get us something to work on.
__________________
"Let's sing a song about safety, because safety is pretty important."-Bob the Ball
  #5   Spotlight this post!  
Unread 01-15-2007, 12:53 PM
jtdowney's Avatar
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 299
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: 2007 camera code

The camera code is on http://kevin.org/frc scroll down until you see "2007 FRC-RC Example Code and Utilities." Despite the last updated date this code will search for and track the green light used in this years game. Just make sure to read the readme files so you set it up correctly.
  #6   Spotlight this post!  
Unread 01-15-2007, 02:36 PM
Ghosty Ghosty is offline
El Geeko Diablo
FRC #1357
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Loveland, Colorado
Posts: 6
Ghosty is an unknown quantity at this point
Re: 2007 camera code

But does Kevin's code from last year track multiple targets. That's basically what I'm wondering is whether or not we actually need a new camera code to work off of.
__________________
"Let's sing a song about safety, because safety is pretty important."-Bob the Ball
  #7   Spotlight this post!  
Unread 01-15-2007, 02:40 PM
jtdowney's Avatar
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 299
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: 2007 camera code

There was a discussion on http://www.chiefdelphi.com/forums/sh...ad.php?t=51048 about how there is no real way to track multiple targets you can only tell if you get a huge blob size that you have more then one target in view.
  #8   Spotlight this post!  
Unread 01-15-2007, 02:58 PM
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,332
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: 2007 camera code

Quote:
Originally Posted by Ghosty View Post
But does Kevin's code from last year track multiple targets. That's basically what I'm wondering is whether or not we actually need a new camera code to work off of.
As has been said elsewhere, the camera can only track one object at a time. You can, however, infer what is in the cameras view by examining the data present in the t-packet. This has been discussed elsewhere.

-Kevin

Edit: There is a video, done by FRC engineering staff, that shows you how the camera deals with multiple green objects. There is a copy on my website.
__________________
Kevin Watson
Engineer at Virgin Galactic
http://kevin.org

Last edited by Kevin Watson : 01-15-2007 at 03:01 PM.
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
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 02-10-2007 03:34 PM
2007 Default Code? Binome Programming 52 01-11-2007 01:27 PM
problems using gyro/adc code with camera default code tanstaafl Programming 7 01-22-2006 10:09 PM
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 01-10-2006 05:07 PM
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 01-31-2005 09:28 PM


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

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


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