Méthode | Description | |
---|---|---|
DriveStraightForTime ( this d, IMotionController correction, double power, double time, bool brake, double interval = 0.02 ) : void |
Drives the robot in a straight line for a set time using a IMotionController to correct heading
|
|
DynamicGyroscopeDrive ( this d, bool>.Func |
Drives the robot according to a function
|
|
DynamicGyroscopeDrive ( this d, bool>.Func |
Drives the robot according to a function
|
|
TurnForAngle ( this d, IMotionController controller, double angle, double tolerance, bool brake, double interval = 0.02 ) : void |
Turns the robot for a relative angle amount using a IMotionController
|
|
TurnForAngle ( this d, double power, double angle, bool brake, double interval = 0.02 ) : void |
Turns the robot at a set speed for a relative angle amount
|
|
TurnToAngle ( this d, IMotionController controller, double angle, double tolerance, bool brake, double interval = 0.02 ) : void |
Turns the robot to an absolute angle using a SimplePID
|
|
TurnToAngle ( this d, double power, double angle, bool brake, double interval = 0.02 ) : void |
Turns the robot to an absolute angle as reported by the gyroscope.
|
public static DriveStraightForTime ( this d, IMotionController correction, double power, double time, bool brake, double interval = 0.02 ) : void | ||
d | this | |
correction | IMotionController | |
power | double | |
time | double | |
brake | bool | |
interval | double | |
Résultat | void |
public static DynamicGyroscopeDrive ( this d, bool>.Func |
||
d | this | |
expression | bool>.Func | Returns : done driving | Arg1: robot's gyroscope |
interval | double | |
Résultat | void |
public static DynamicGyroscopeDrive ( this d, bool>.Func |
||
d | this | |
expression | bool>.Func | Returns: done driving | Arg1: gyroscope angle |
interval | double | |
Résultat | void |
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 | |
Résultat | void |
public static TurnForAngle ( this d, double power, double angle, bool brake, double interval = 0.02 ) : void | ||
d | this | |
power | double | |
angle | double | |
brake | bool | |
interval | double | |
Résultat | void |
public static TurnToAngle ( 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 | |
Résultat | void |
public static TurnToAngle ( this d, double power, double angle, bool brake, double interval = 0.02 ) : void | ||
d | this | |
power | double | |
angle | double | |
brake | bool | |
interval | double | |
Résultat | void |