Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: Motor Trim (http://www.chiefdelphi.com/forums/showthread.php?t=72197)

nate15810 15-01-2009 18:53

[FTC]: Motor Trim
 
does anybody know any codes for trim for some of the motors?
we have an arm and 2 DC motors do not have enough torque to keep it up.

it needs to keep some power on the motors on all times.

gdo 15-01-2009 21:30

Re: [FTC]: Motor Trim
 
try giving the motor a tiny bit of power. we did the same thing last year with the vex stuff.

with the vex equipement sending a value of +/- 5 under load would keep the motor powered enough to no long fall.

I'm sure someone out there has a more eligant way to solve this problem though. In robotC I'm guessing nate?

ttldomination 15-01-2009 21:30

Re: [FTC]: Motor Trim
 
Define Trim and what exactly you are trying to do with the code...

Also the programming language would be nice as well.

Overyourhead 15-01-2009 22:41

Re: [FTC]: Motor Trim
 
He is using Robot C. Basically there is an arm with plenty of torque to go up and down, but once the arm goes down; it just keeps going unless the up button is hit. Last year with Vex we used trim on the remotes to to control the down motion.

What we want to know is: Is there a way using robot C to add trim to the DC motors? Or any other way?

Thanks

emmell 16-01-2009 00:33

Re: [FTC]: Motor Trim
 
It's probably just as simple as reading the value from the joysticks. If the value is between -5 and +5 (which would normally be a good dead zone range), then send a +5 (or -5) power to the motors. That way when you release the joysticks, they'll still have power to keep the arm raised.

nate15810 17-01-2009 10:53

Re: [FTC]: Motor Trim
 
thanks guys! going to test some of this out tuesday

Overyourhead 17-01-2009 11:19

Re: [FTC]: Motor Trim
 
Hey Yeah, You do that Nate.

nate15810 20-01-2009 12:44

Re: [FTC]: Motor Trim
 
yeah i will


All times are GMT -5. The time now is 18:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi