Go to Post An opportunity is always there waiting to be discovered, we just have to look and then see what we can do to help create change. - JaneYoung [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 13-11-2006, 17:35
cdennisxlx2's Avatar
cdennisxlx2 cdennisxlx2 is offline
Team San Diego Web Liaison
AKA: Cameron Dennis
FRC #1266 (The Devil Duckies)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: San Diego
Posts: 188
cdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to behold
Question Autonomous CMU Cam help.......

Ok all other problems have been fixed now im faced with the challenge of programming it. I am using a code from a thread i started about a year ago and ive adapted it to my program, when i run the bot in autonomous the cam doesnt do anything (ie. track or search) ive attached my program in a zip format can i get some one to over look it and see why its not working. Im also unclear on how to make it tell the wheels where to go in user mode. Thank you
__________________
Team San Diego Robotics Web Liaison
Webmaster and Technical Advisor for the San Diego Regional Planning Committee.
Official Score Keeper for the San Diego Regional
www.sandiegoregional.com
www.frc1266.com
  #2   Spotlight this post!  
Unread 13-11-2006, 18: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: Autonomous CMU Cam help.......

Quote:
Originally Posted by ghhs_1527
Ok all other problems have been fixed now im faced with the challenge of programming it. I am using a code from a thread i started about a year ago and ive adapted it to my program, when i run the bot in autonomous the cam doesnt do anything (ie. track or search) ive attached my program in a zip format can i get some one to over look it and see why its not working. Im also unclear on how to make it tell the wheels where to go in user mode. Thank you
Hello,

Some questions:

What other problems?
What code are you using?
Nothing is attached. (I cheated, thats not a question )
Have you looked over the How to ask a question thread?

-Mike
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 13-11-2006, 18:53
cdennisxlx2's Avatar
cdennisxlx2 cdennisxlx2 is offline
Team San Diego Web Liaison
AKA: Cameron Dennis
FRC #1266 (The Devil Duckies)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: San Diego
Posts: 188
cdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to beholdcdennisxlx2 is a splendid one to behold
Re: Autonomous CMU Cam help.......

OOPS ........ here is the code, sorry about that.
Attached Files
File Type: zip frc_cam-s2_1527.zip (494.4 KB, 23 views)
__________________
Team San Diego Robotics Web Liaison
Webmaster and Technical Advisor for the San Diego Regional Planning Committee.
Official Score Keeper for the San Diego Regional
www.sandiegoregional.com
www.frc1266.com
  #4   Spotlight this post!  
Unread 13-11-2006, 19:56
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Autonomous CMU Cam help.......

When your robot enters autonomous it does not leave until the autonomous flag clears. You must call the camera_handler, terminal, and tracking code must be recreated in the autonomous function.

If you add the same code you used in the Process_Data_From_Master_uP to User_Autonomous_Code it will work.

By user mode do you mean Autonomous or remote control?
Attached Files
File Type: zip frc_camera_s_2.zip (506.0 KB, 17 views)
__________________
Eric Haskins KC9JVH
  #5   Spotlight this post!  
Unread 07-12-2006, 18:23
FoxWil's Avatar
FoxWil FoxWil is offline
The world is mine!-Stewie Griffin
AKA: Fox
FRC #1646 (Precision Guessworks)
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Indiana
Posts: 4
FoxWil is an unknown quantity at this point
Send a message via Yahoo to FoxWil
Re: Autonomous CMU Cam help.......

Quick Question: can you use the CMU Cam to track mulitple colors?
__________________
The death of one man is a tradegy, the death of a million men is a statistic.-Joesph Stalin.
  #6   Spotlight this post!  
Unread 07-12-2006, 18:48
Noah Kleinberg Noah Kleinberg is offline
Registered User
FRC #0395 (2TrainRobotics)
Team Role: Driver
 
Join Date: Jan 2006
Rookie Year: 2006
Location: New York
Posts: 196
Noah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to behold
Send a message via AIM to Noah Kleinberg
Re: Autonomous CMU Cam help.......

Quote:
Originally Posted by FoxWil
Quick Question: can you use the CMU Cam to track mulitple colors?
The quick answer is no... While it can only track one color at a time (if you're using the track_color command, as I presume most people are), you could switch between more than one color by calling Track_Color each time so that you recieve feedback from the camera for each color that you're interested in, but I've heard that it takes too long for the camera to switch colors for this to be feasible
  #7   Spotlight this post!  
Unread 08-12-2006, 18:11
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Autonomous CMU Cam help.......

Quote:
Originally Posted by Noah Kleinberg
The quick answer is no... While it can only track one color at a time (if you're using the track_color command, as I presume most people are), you could switch between more than one color by calling Track_Color each time so that you recieve feedback from the camera for each color that you're interested in, but I've heard that it takes too long for the camera to switch colors for this to be feasible
The CMUcam2 is incapable at the lowest level to track multiple colors at once.

And rapidly switching between two colors is quite inefficient.
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
CMU Cam Autonomy code? NEED HELP B4 FRIDAY! cdennisxlx2 Programming 4 08-12-2006 15:03
CMU cam Booger Programming 3 18-07-2006 00:00
CMU Cam on an EDU-RC Redneck Programming 2 11-02-2006 14:55
grrr need help with my cmu cam lilrican13 Programming 6 18-01-2006 00:14
CMU Cam GUI Arc736UV Programming 2 15-03-2005 19:26


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

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