View Single Post
  #3   Spotlight this post!  
Unread 20-03-2016, 16:03
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Setting Mechanism Position with Button

Can you provide more details on the mechanism that you are trying to control? Is it a requirement that the PID loop runs then quits?

An arm on a motor for example should probably keep the PID loop running. Position control on a drive train probably shouldn't, or if you must change to 'manual' (open loop) control.

In the case you describe, how do you decide when your PID loop is 'done'. Is a timer like in FRC358's example sufficient?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote