View Single Post
  #2   Spotlight this post!  
Unread 18-02-2012, 22:18
alicia635769 alicia635769 is offline
Registered User
FTC #0310
 
Join Date: Nov 2011
Location: NYC
Posts: 8
alicia635769 is an unknown quantity at this point
Re: [FTC]: PID control questions

We're having a similar problem. We want to sync 4 TETRIX motors up exactly, and thought PID control was the best for it. All four motors have encoders on them.

So far we've tried:
  1. nMotorPIDSpeedCtrl[motorX] = mtrSpeedReg;
  2. nSyncedMotors = synch BC;

From what I've seen, the motors still turn at different rates. I suspect that these built-in RobotC functions only work with NXT motors; is this true?

And also, is the function "nMotorEncoderTarget[]" only for NXT motors or TETRIX motors, too? (I tried it; TETRIX motor did not stop once it reached the target)
Reply With Quote