C# Class RemoteTech.FlightComputer.Commands.DriveCommand

Inheritance: AbstractCommand
Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Abort ( ) : void
Résultat void

Coord() public static méthode

public static Coord ( float steerClamp, float latitude, float longitude, float speed ) : DriveCommand
steerClamp float
latitude float
longitude float
speed float
Résultat DriveCommand

Distance() public static méthode

public static Distance ( float distance, float steerClamp, float speed ) : DriveCommand
distance float
steerClamp float
speed float
Résultat DriveCommand

DistanceHeading() public static méthode

public static DistanceHeading ( float distance, float heading, float steerClamp, float speed ) : DriveCommand
distance float
heading float
steerClamp float
speed float
Résultat DriveCommand

Execute() public méthode

public Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
f FlightComputer
fcs FlightCtrlState
Résultat bool

Off() public static méthode

public static Off ( ) : DriveCommand
Résultat DriveCommand

Pop() public méthode

public Pop ( FlightComputer f ) : bool
f FlightComputer
Résultat bool

Turn() public static méthode

public static Turn ( float steering, float degrees, float speed ) : DriveCommand
steering float
degrees float
speed float
Résultat DriveCommand