VEX PID Control
| Line 8: | Line 8: | ||
{| width = "740px" | {| width = "740px" | ||
|- | |- | ||
| − | |||
| | | | ||
=== Getting Started === | === Getting Started === | ||
Before 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 [[Tutorials/Programming_with_the_new_VEX_Integrated_Encoder_Modules|see our IME programming guide]] before continuing. | Before 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 [[Tutorials/Programming_with_the_new_VEX_Integrated_Encoder_Modules|see our IME programming guide]] before continuing. | ||
| + | | | ||
| + | |[[Image:tut_vex-motor-encoders_1.jpg|left|thumb|VEX motors with IME's installed]] | ||
|} | |} | ||
| + | |||
| + | == 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' <br /> <br /> | ||
| + | [[File:PID_Checkbox.png]]<br /> <br /> | ||
| + | This will enable basic PID control for the specified motors using ROBOTC's default parameters. | ||
| + | |||
| + | == Enabling PID (Advanced) == | ||
Revision as of 13:45, 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.