code/WPILib/CANJaguar.cpp
/**
 * Change the control mode of this Jaguar object.
 * 
 * After changing modes, configure any PID constants or other settings needed
 * and then EnableControl() to actually change the mode on the Jaguar.
 * 
 * @param controlMode The new mode.
 */
Change the control mode of this Jaguar object.

After changing modes, configure any PID constants or other settings needed
and then EnableControl() to actually change the mode on the Jaguar.

@param controlMode The new mode.
Change the control mode of this Jaguar object . After changing modes configure any PID constants or other settings needed and then EnableControl () to actually change the mode on the Jaguar . @param controlMode The new mode .
void CANJaguar::ChangeControlMode(ControlMode controlMode)
{
	DisableControl();
	m_controlMode = controlMode;
}
void CANJaguar :: ChangeControlMode ( ControlMode controlMode ) { DisableControl ( ) ; m_controlMode = controlMode ; }
Change the control mode of this Jaguar object.
Change the control mode of this Jaguar object .
// Disable the previous mode // Update the local mode