PID On or Off

I recently started using PID in my autonomous for base controlling to increase accuracy.
But problems occurred in user-control that a much higher relay after I used some algorithms to prevent conflict of joystick and PID control.


#pragma config(Motor,  port9,           right,         tmotorVex393HighSpeed_MC29, openLoop, reversed, driveRight, encoderPort, I2C_2) 

I’m using vex cortex, not natural language nor graphics, so although I discovered something like “bool setPIDCtrlSpeed]”, but it didn’t work.
Is there a way to have PID on in autonomous but off for user control?

I’m not a programmer but from what I understand, there are separate places in the RobotC competition template to put the auton and user control code. Just put the PID only in auton.

I believe he is talking about the built in PID not his own PID code. And yes you can turn it off for driver control.

http://www.robotc.net/forums/viewtopic.php?p=37496&sid=cf04102cc1dbc4dd3ddf4237e6abb29a