Method | Description | |
---|---|---|
DriveForTime ( this d, double lPower, double rPower, double time, bool brake, double interval = 0.02 ) : void |
Drives both motors at a set speed for a set time
|
|
DynamicDriveForTime ( this d, Action |
Drives accordingly to an action
|
|
DynamicDriveForTime ( this d, bool>.Func |
Drives according to a function given the time
|
|
StraightForTime ( this d, double power, double time, bool brake, double interval = 0.02 ) : void |
Drives at a speed for a set time
|
|
TurnForTime ( this d, double power, double time, bool brake, double interval = 0.02 ) : void |
Turns the robot in place for a set time
|
public static DriveForTime ( this d, double lPower, double rPower, double time, bool brake, double interval = 0.02 ) : void | ||
d | this | |
lPower | double | |
rPower | double | |
time | double | |
brake | bool | Set motors to zero when this is finished? |
interval | double | |
return | void |
public static DynamicDriveForTime ( this d, Action |
||
d | this | |
expression | Action |
Parameter: Time elapsed |
time | double | |
interval | double | |
return | void |
public static DynamicDriveForTime ( this d, bool>.Func |
||
d | this | |
expression | bool>.Func | Returns: done driving | Arg1: Time elapsed |
interval | double | |
return | void |
public static StraightForTime ( this d, double power, double time, bool brake, double interval = 0.02 ) : void | ||
d | this | |
power | double | |
time | double | |
brake | bool | Set motors to zero when this is finished? |
interval | double | |
return | void |
public static TurnForTime ( this d, double power, double time, bool brake, double interval = 0.02 ) : void | ||
d | this | |
power | double | |
time | double | |
brake | bool | Set motors to zero when this is finished? |
interval | double | |
return | void |