View Single Post
  #5   Spotlight this post!  
Unread 22-01-2008, 10:32
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Camera Works Well with the Balls!

Quote:
Originally Posted by JHale View Post
Hey all!

However, when we turn over control of the camera to the controller (instead of my computer) we were dissappointed to see absolutely no activity (the code stalls). This lead us to realize that Kevin's code does not work well...no offense to him.
-James
I suspect that you aren't calling the Camera_Handler() in the Process_Data_From_Master_uP() loop....

But the easiest way to see what's going on is to turn degugging on in the camera.h file.... as per Kevin's comment:

// To view debugging information on the terminal screen, uncomment the
// "#define _DEBUG" line below.
#define _DEBUG

This will show you the process of initializing the camera and reading data. If this doesn't run then the problem is hardware, or how you are calling the code.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor