Go to Post The energy source of the future is brain power. - Michael R. Lee [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 28-01-2006, 14:39
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
Camera Jitters

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.
  #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
  #3   Spotlight this post!  
Unread 30-01-2006, 16:07
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
Re: Camera Jitters

Thank you for your support. Our camera is now operating as it should.
  #4   Spotlight this post!  
Unread 30-01-2006, 16:09
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
Thank you for your support. Our camera is now operating as it should.
Was it the gain setting?

Edit: Or was something else trying to use those PWM outputs?

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

Last edited by Kevin Watson : 30-01-2006 at 16:13.
  #5   Spotlight this post!  
Unread 30-01-2006, 17:43
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
Re: Camera Jitters

Quote:
Originally Posted by Kevin Watson
Was it the gain setting?

Edit: Or was something else trying to use those PWM outputs?

-Kevin
No, it wasn't the gain setting. The default code mapped the pwm 1/2 to joysticks, commenting them out fixed the problem since we weren't using those two for the robot control.
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 Camera kills robot controller if not found. Chris_Elston Programming 21 27-03-2006 14:30
How To Use the Google Camera generalbrando Kit & Additional Hardware 2 07-02-2006 16:00
Camera Is Spazzing Out! BrittanyV Programming 15 04-02-2006 13:39
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11


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

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