Go to Post Blasphemy! Everyone knows Mountain Dew is roboteer fuel. - Racer26 [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 17-01-2007, 23:14
Team 849 Team 849 is offline
Registered User
FRC #0849
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Canada
Posts: 7
Team 849 is an unknown quantity at this point
Servo & Tracking Problems

We're having problems with the servos and our camera can't track. We tried using the demo program and it still doesn't work. What's wrong? The camera can move with the joystick but the autonomous doesn't work either.
  #2   Spotlight this post!  
Unread 17-01-2007, 23:19
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Servo & Tracking Problems

Quote:
Originally Posted by Team 849 View Post
We're having problems with the servos and our camera can't track. We tried using the demo program and it still doesn't work. What's wrong? The camera can move with the joystick but the autonomous doesn't work either.
Are you using EasyC or Kevin Watson's camera code?

What pwm output ports do you have the servos connected to? The 2007 easyC demo code expects pan and tilt to be on pwm 10 and 11 by default, respectively. You can change this with the macros and constants dialog by hitting F6 in easyC. Kevin's code by default has pan and tilt on pwm 01 and pwm 02. That can be changed by editing the values defined in tracking.h.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
  #3   Spotlight this post!  
Unread 18-01-2007, 16:20
Team 849 Team 849 is offline
Registered User
FRC #0849
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Canada
Posts: 7
Team 849 is an unknown quantity at this point
Re: Servo & Tracking Problems

We are using Easy C.
The macros and constants are empty when we press F6. We are using pwm 10 and 11.
How do we activate the autonomous mode?
Also, is there a seperate chip that is needed to pan and tilt the camera?
  #4   Spotlight this post!  
Unread 25-01-2007, 10:12
sniggel sniggel is offline
Registered User
FRC #2051
 
Join Date: Jan 2007
Location: A.W. Beattie
Posts: 28
sniggel is an unknown quantity at this point
Re: Servo & Tracking Problems

Quote:
Originally Posted by Team 849 View Post
We are using Easy C.
The macros and constants are empty when we press F6. We are using pwm 10 and 11.
How do we activate the autonomous mode?
Also, is there a seperate chip that is needed to pan and tilt the camera?
We figured out that you can enter autonomous mode by jumping pins 5 and 8 on the competition port. We got the info from the 2005 operator interface guide from FIRST, page 12.
Be careful, you don't want to fry the brain, at least a dozen teams fry them each year.
  #5   Spotlight this post!  
Unread 28-01-2007, 01:28
htwiz2002's Avatar
htwiz2002 htwiz2002 is offline
Htwizard
AKA: Anthony Takata Bawahawba
#1290
Team Role: Engineer
 
Join Date: Jan 2004
Location: Chandler, AZ
Posts: 23
htwiz2002 will become famous soon enough
Unhappy Re: Servo & Tracking Problems

We are attempting to use the onboard pwms on the camera. Our last-year's programmer had got this to work, but since he is gone (and also the laptop) I can't seem to figure it out. I am using Kevin's camera code (streamlined?)
Any ideas?

Edit:

I just read Rule <R28> revision #2 which stated that i could not use the 2006 camera! Oops . Well, I guess i need to get longer pwm cables! . Oh well, just go with the flow...
__________________
TsAuKpAeTrA (Anthony)

Last edited by htwiz2002 : 28-01-2007 at 02:34. Reason: Updated in
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
Problems with tracking Shinsa Programming 2 07-02-2010 14:35
Quetion about servo tracking function in easyC pro itsme Programming 5 31-01-2007 11:30
Camera Servo Problems pi_guy578 Programming 2 28-01-2006 13:17
Tracking beacon without servo Paul Marshall Technical Discussion 17 10-02-2004 20:58
servo problems lpramo55 Programming 5 20-01-2004 22:23


All times are GMT -5. The time now is 23: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