|
Re: Acceleration based on position
PID control describes the means to control a process (elevator motion) by it's measured position (encoder) and your desired position (setpoint). You can use the PID code provided in Labview or the C++ or Java libraries, starting with only a Proportional constant.
So, you must choose a setpoint for the elevator to go to. If you are changing it with the joystick, then the elevator will simply go to that value.
__________________
Jon Mittelman
Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
|