Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Autonomous CMU Cam help....... (http://www.chiefdelphi.com/forums/showthread.php?t=49960)

cdennisxlx2 13-11-2006 17:35

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

Mike 13-11-2006 18:33

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 :p)
Have you looked over the How to ask a question thread?

-Mike

cdennisxlx2 13-11-2006 18:53

Re: Autonomous CMU Cam help.......
 
1 Attachment(s)
OOPS ........ here is the code, sorry about that.

EHaskins 13-11-2006 19:56

Re: Autonomous CMU Cam help.......
 
1 Attachment(s)
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?

FoxWil 07-12-2006 18:23

Re: Autonomous CMU Cam help.......
 
Quick Question: can you use the CMU Cam to track mulitple colors?

Noah Kleinberg 07-12-2006 18:48

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

Astronouth7303 08-12-2006 18:11

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.


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

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