C# Class RemoteTech.FlightComputer.Commands.DriveCommand

Inheritance: AbstractCommand
Show file Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
Coord ( float steerClamp, float latitude, float longitude, float speed ) : DriveCommand
Distance ( float distance, float steerClamp, float speed ) : DriveCommand
DistanceHeading ( float distance, float heading, float steerClamp, float speed ) : DriveCommand
Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
Off ( ) : DriveCommand
Pop ( FlightComputer f ) : bool
Turn ( float steering, float degrees, float speed ) : DriveCommand

Method Details

Abort() public method

public Abort ( ) : void
return void

Coord() public static method

public static Coord ( float steerClamp, float latitude, float longitude, float speed ) : DriveCommand
steerClamp float
latitude float
longitude float
speed float
return DriveCommand

Distance() public static method

public static Distance ( float distance, float steerClamp, float speed ) : DriveCommand
distance float
steerClamp float
speed float
return DriveCommand

DistanceHeading() public static method

public static DistanceHeading ( float distance, float heading, float steerClamp, float speed ) : DriveCommand
distance float
heading float
steerClamp float
speed float
return DriveCommand

Execute() public method

public Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
f FlightComputer
fcs FlightCtrlState
return bool

Off() public static method

public static Off ( ) : DriveCommand
return DriveCommand

Pop() public method

public Pop ( FlightComputer f ) : bool
f FlightComputer
return bool

Turn() public static method

public static Turn ( float steering, float degrees, float speed ) : DriveCommand
steering float
degrees float
speed float
return DriveCommand