code/WPILib/CANJaguar.cpp
/**
 * Set the reference source device for position controller mode.
 * 
 * Choose between using and encoder and using a potentiometer
 * as the source of position feedback when in position control mode.
 * 
 * @param reference Specify a PositionReference.
 */
Set the reference source device for position controller mode.

Choose between using and encoder and using a potentiometer
as the source of position feedback when in position control mode.

@param reference Specify a PositionReference.
Set the reference source device for position controller mode . Choose between using and encoder and using a potentiometer as the source of position feedback when in position control mode . @param reference Specify a PositionReference .
void CANJaguar::SetPositionReference(PositionReference reference)
{
	UINT8 dataBuffer[8];
	dataBuffer[0] = reference;
	setTransaction(LM_API_POS_REF, dataBuffer, sizeof(UINT8));
}
void CANJaguar :: SetPositionReference ( PositionReference reference ) { UINT8 dataBuffer [ 8 ] ; dataBuffer [ 0 ] = reference ; setTransaction ( LM_API_POS_REF , dataBuffer , sizeof ( UINT8 ) ) ; }
Set the reference source device for position controller mode.
Set the reference source device for position controller mode .