Gyroscope PID in Graphical RobotC

Hi everyone, I stabilized my X-drive with a gyroscope to prevent the yaw from changing without my command to do so, but this led to a problem. It works very well except for when I rotate, it will overshoot the stopping location and end up rocking back and forth for about 0.5 seconds. Is there a way to use the integrated PID settings in RobotC to correct this using the gyroscope or do I need motor or shaft encoders for this part of the software? Help would be appreciated as our competition is in 4 days. Thanks in advance!

I will be installing shaft or motor encoders in the future to track distance in the X and Y axis.