C# Class RemoteTech.FlightComputer.Commands.AttitudeCommand

Inheritance: AbstractCommand
显示文件 Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Public Properties

Property Type Description
FormatAttitude String>.Dictionary
FormatMode String>.Dictionary
FormatReference String>.Dictionary

Public Methods

Method Description
Abort ( ) : void
Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
KillRot ( ) : AttitudeCommand
ManeuverNode ( double timetoexec ) : AttitudeCommand
Off ( ) : AttitudeCommand
Pop ( FlightComputer f ) : bool
WithAltitude ( float height ) : AttitudeCommand
WithAttitude ( FlightAttitude att, ReferenceFrame frame ) : AttitudeCommand
WithSurface ( double pitch, double yaw, double roll ) : AttitudeCommand
mapFlightMode ( ) : SimpleTypes.ComputerModeMapper

Convert this AttitudeCommand values to a ComputerMode

Method Details

Abort() public method

public Abort ( ) : void
return void

Execute() public method

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

KillRot() public static method

public static KillRot ( ) : AttitudeCommand
return AttitudeCommand

ManeuverNode() public static method

public static ManeuverNode ( double timetoexec ) : AttitudeCommand
timetoexec double
return AttitudeCommand

Off() public static method

public static Off ( ) : AttitudeCommand
return AttitudeCommand

Pop() public method

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

WithAltitude() public static method

public static WithAltitude ( float height ) : AttitudeCommand
height float
return AttitudeCommand

WithAttitude() public static method

public static WithAttitude ( FlightAttitude att, ReferenceFrame frame ) : AttitudeCommand
att FlightAttitude
frame ReferenceFrame
return AttitudeCommand

WithSurface() public static method

public static WithSurface ( double pitch, double yaw, double roll ) : AttitudeCommand
pitch double
yaw double
roll double
return AttitudeCommand

mapFlightMode() public method

Convert this AttitudeCommand values to a ComputerMode
public mapFlightMode ( ) : SimpleTypes.ComputerModeMapper
return SimpleTypes.ComputerModeMapper

Property Details

FormatAttitude public_oe static_oe property

public static Dictionary FormatAttitude
return String>.Dictionary

FormatMode public_oe static_oe property

public static Dictionary FormatMode
return String>.Dictionary

FormatReference public_oe static_oe property

public static Dictionary FormatReference
return String>.Dictionary