Go to Post I think we need a little more humour injected into topics such as these to diffuse whatever tension has been created by the original discussion threads. - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 05-02-2007, 12:53
Mark_Benedict Mark_Benedict is offline
Registered User
FRC #0612
 
Join Date: Jan 2007
Location: Northern VA
Posts: 3
Mark_Benedict will become famous soon enoughMark_Benedict will become famous soon enough
Re: Save the Gearbox, Save the Game

Depending on your gearing, you can change the aRate and dRate. 8 and 12 worked well for us. Feel free to change it to suit your needs.

To get more responive braking, put the Victor jumper on "B", the inner 2 pins. This will cause the robot to actually stop after you tell it to.

About the negative or >255 pwm outputs, you can put a limiter on the temporary pwm. something along the lines of (* is wildcard):

if (pwm**temp > 255)
pwm**temp = 255;
else if (pwm** < 0)
pwm** = 0;

If the bad pwm's give you a problem, put these lines of code before the pwm assignment, but after the if/else block, replacing th *'s with the approprate number.

Last edited by Mark_Benedict : 05-02-2007 at 13:07. Reason: to create a more clear message
 


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
[wiki]: how to save more than one prog. in the RC Edourdo FIRSTwiki 1 04-02-2007 17:29
Save a variable dawonn Programming 7 23-04-2005 08:30
SCRRF Save the Regional Redhead Jokes Southern California Regional Robotics Forum 0 03-05-2003 14:54
Duel on the Delaware - Save $$$ Now MOEWidow Off-Season Events 11 30-04-2003 21:28
Save the rookies!!! Please help us to design a crate... Eugene Technical Discussion 7 05-02-2002 20:22


All times are GMT -5. The time now is 22:19.

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