ROBOTC.net forums
http://www.robotc.net/forums/

mtrEncoderReg ??
http://www.robotc.net/forums/viewtopic.php?f=1&t=81
Page 1 of 1

Author:  Jesspepette [ Thu Mar 15, 2007 11:24 am ]
Post subject:  mtrEncoderReg ??

hi

When and where do we use mtrEncoderReg ?

I assume it's when you use nMotorEncoderTarget[]
and the PID fonctionality, but when I try this: (it's strange, I know...)

Code:
nMotorPIDSpeedCtrl[motorA] = mtrEncoderReg;


Nothing change but it's OK when I use mtrNoReg and the mtrSpeedReg.

Because when we use the standard
Code:
nMotorEncoderTarget[motorA] = 90;
for example, it always overshoot to 91 or 92 ??

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/