CSharpRoboticsLib.Drive.Interfaces.GyroscopeDriveExtensions.TurnForAngle C# (CSharp) Method

TurnForAngle() public static method

Turns the robot for a relative angle amount using a IMotionController
public static TurnForAngle ( this d, IMotionController controller, double angle, double tolerance, bool brake, double interval = 0.02 ) : void
d this
controller IMotionController
angle double
tolerance double
brake bool
interval double
return void
        public static void TurnForAngle(this IGyroscopeDrive d, IMotionController controller, double angle, double tolerance, bool brake, double interval = 0.02)
        {
            d.TurnToAngle(controller, d.Gyroscope.GetAngle() + angle, tolerance, brake, interval);
        }

Same methods

GyroscopeDriveExtensions::TurnForAngle ( this d, double power, double angle, bool brake, double interval = 0.02 ) : void