VEX PID Control
| Line 1: | Line 1: | ||
<yambe:breadcrumb self="VEX PID Control">VEX2|VEX</yambe:breadcrumb> | <yambe:breadcrumb self="VEX PID Control">VEX2|VEX</yambe:breadcrumb> | ||
| − | |||
{| class="wikiText" | {| class="wikiText" | ||
| + | |- | ||
| + | |<br /> | ||
|- | |- | ||
|''For ROBOTC VEX PID Control ''Functions'', see: [[VEX_PID_Control_Functions|VEX PID Control Functions]].'' | |''For ROBOTC VEX PID Control ''Functions'', see: [[VEX_PID_Control_Functions|VEX PID Control Functions]].'' | ||
| + | |- | ||
| + | |<br /> | ||
| + | |- | ||
|} | |} | ||
| + | |||
| + | {{tl|1|1}} | ||
{| width = "740px" | {| width = "740px" | ||
| Line 22: | Line 28: | ||
== Enabling PID (Advanced) == | == Enabling PID (Advanced) == | ||
| + | |||
| + | '''Caution: Changing the default PID parameters may cause motor behavior which can potentially damage your robot with unexpected movements. As such, we advise that all PID testing be done in a safe area to help mitigate any possible damage.''' | ||
Revision as of 14:06, 6 December 2012
| For ROBOTC VEX PID Control Functions, see: VEX PID Control Functions. |
|
| |||||||
Getting StartedBefore you can start using PID control for the VEX Cortex in ROBOTC, you must make sure you have all of the required components. There are two main components required to get started: a VEX 269 or 369 motor with an Integrated Motor Encoder (IME) installed, and a copy of ROBOTC for Cortex/PIC version 3.6.1 or higher. If you wish to control more than one motor using PID (on a robot, for example), you will need to make sure each motor that is PID controlled has an IME installed and is connected to the Cortex correctly. If you are unsure of how to configure the IME's inside of ROBOTC, please see our IME programming guide before continuing. |
Enabling PID (Simple)
Enabling basic PID control in ROBOTC is simple; navigate to the 'Robot -> Motors and Sensors Setup' window, find the motor you wish to enable PID control on, and check the 'PID Control'

This will enable basic PID control for the specified motors using ROBOTC's default parameters.
Enabling PID (Advanced)
Caution: Changing the default PID parameters may cause motor behavior which can potentially damage your robot with unexpected movements. As such, we advise that all PID testing be done in a safe area to help mitigate any possible damage.