Go to Post Being the GDC is not an easy job, anything can happen. Lunacy happened ::rtm:: - Conor Ryan [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
  #10   Spotlight this post!  
Unread 15-02-2006, 08:02
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: Camera isn't working

Okay, I was talking to bombadier337 yesterday. He was telling me this would work fine but I would need it to have a bigger dead zone otherwise the motor will be jumping back and forth tryign to land right on the target. Also, he said I should make it so the farther away the target, the faster the turret spins. So maybe something like...

Code:
if (PAN_SERVO > 210) TURRET = 255;
else if (PAN_SERVO > 170) pwm01 = 180;
else if (PAN_SERVO > 150) pwm01 = 150;
else if (PAN_SERVO > 140) pwm01 = 140;
else if (PAN_SERVO < 114) pwm01 = 110;
else if (PAN_SERVO < 100) pwm01 = 100;
else if (PAN_SERVO < 60) pwm01 = 60;
else if (PAN_SERVO < 40) pwm01 = 30;
else pwm01 = 127;

Okay, that should be something like that. And it does need to be before PutData... right? Ill have to try it today after school. THANK YOU bombadier337!! And the rest of you.

Now for the Tilt. We were talking.... with the setup I have... would the Geartooth work for making the tilt of the gun. We have the threaded pole and it turns to raise and lower.
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
 


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
Who has the camera working? cvbritton Programming 43 28-01-2007 13:46
Camera shows no love to drive motors anifinder Programming 4 13-02-2006 10:31
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Camera stops working when we use camera_set_servos()... SeanCassidy Programming 16 13-02-2005 03:08


All times are GMT -5. The time now is 02:11.

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