View unanswered posts | View active topics It is currently Wed Jun 26, 2019 2:03 am






Reply to topic  [ 1 post ] 
nMotorPIDSpeedCtrl[] - what do TMotorRegulation values do? 
Author Message
Rookie

Joined: Fri Sep 05, 2014 6:05 pm
Posts: 2
Post 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


Sun Jan 25, 2015 10:21 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.