Go to Post FIRST doesn't end after high school, for some of us, it is only beginning. - David Kelly [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 24-01-2006, 07:44
AL_E AL_E is offline
Registered User
AKA: Al Evangelista
None #0703 (Phoenix)
Team Role: Coach
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Saginaw, MI
Posts: 5
AL_E is an unknown quantity at this point
camera auto mode pwm contention?

Team, We are using Kevin's 'bells and whistles' code. It works great in RC mode, we are able to acquire and track the target at a distance using the default settings. We have defined the pan and tilt servos to be pwm08 and pwm09 respectively. When tracking in RC mode we display the pan servo value and it shows expected readings, changing as the camera pan angle changes.

When we try to use the camera in autonomous mode the pan servo seems to be getting conflicting commands. It shudders and does not move normally. When we display the pwm08 value it shows as zero. We are only using the following 3 functions within the autonomous mode loop, at the position indicated by the "add your autonomous code here" comment.

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

When we display the pwm08 value via printf it shows as zero.

The pwm outputs for pan and tilt are commanded from the Servo_Track function, called from Camera_Handler and should remain set while in autonomous mode, correct? Am I missing something obvious? Naturally, we were able to command pwm outputs in autonomous mode in the past.

Thanks in advance for your help.

-Al
 


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
How To Use the Google Camera generalbrando Kit & Additional Hardware 2 07-02-2006 16:00
Using camera PWM out Cuog Programming 2 28-11-2005 14:17
Did you use Auto Servo Mode? Greg Marra Programming 8 27-04-2005 15:35
Trying to import Camera code into program without. Kingofl337 Programming 1 18-02-2005 00:43
Pins to insert into PWM Header on Camera Sscamatt Programming 1 29-01-2005 02:06


All times are GMT -5. The time now is 16:58.

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