Inertial sensor turn help

This is a standard PID notation for P- loop, inherited from the original post. Kp is the coefficient that scales velocity proportional to the gError, or angle to target from the current position.

Unlike the heading() that could jump between 0 and 359 deg, InertialSensor.rotation() returns continuous value.