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

nMotorPIDSpeedCtrl[] - what do TMotorRegulation values do?
http://robotc.net/forums/viewtopic.php?f=1&t=10353
Page 1 of 1

Author:  tullynyguy [ Sun Jan 25, 2015 10:21 pm ]
Post subject:  nMotorPIDSpeedCtrl[] - what do TMotorRegulation values do?

Hi,

I'm a new mentor to an FTC team. The team is driving a tetrix motor with a HiTechic DC motor controller. They want to programmatically control turning the PID on and off for a certain motor, even though the pragma for the motor sets the PID on. nMotorPIDSpeedCtrl[] seems like it should do the trick. Looking at this page for the possible TMotorRegulation values: http://www.robotc.net/wikiarchive/Data_ ... Regulation, there are a number of possible values. The meaning of some are obvious, but what do the others mean?
mtrNoReg - Turn PID off
mtrSpeedReg - PID on, regulating motor speed
mtrSyncRegMaster - ??
mtrSyncRegSlave - ??
mtrEncoderReg - ?? - this one might be very interesting to us

By looking on the columns, it appears to indicate that tetrix supports all of these values. Anyone know if this is the case?

FTC 8863 - Precision Cut-Ups

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