Thread: Camera Jitters
View Single Post
  #2   Spotlight this post!  
Unread 28-01-2006, 15:24
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,335
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: Camera Jitters

Quote:
Originally Posted by Team905Animator
With the streamlined version of Kevin's code loaded into the FRC Controller, the camera will sweep as it looks for the target. When the camera.c/h terminal.c/h and tracking.c/h is added to our code and

Tracking_Info_Terminal();
Camera_Handler();
Servo_Track();

is called in the Process_Data_From_Master_uP in user_routines.c. With the code loaded into the FRC Controller, the camera will only jitter in place. Any help would be appreciated.
Sounds like your code is trying to use the PWM outputs assigned to the pan and tilt servos. Do a global search on pwm01 and pwm02 to see they appear outside of ifi_aliases.h and tracking.h.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org