C# Class RemoteTech.FlightComputer

Inheritance: IDisposable
Mostra file Open project: JDPKSP/RemoteTechLegacy Class Usage Examples

Public Properties

Property Type Description
Kp float
MoI UnityEngine.Vector3d
Reference AttitudeReference
Target UnityEngine.Quaternion
altitude double
roverActive bool
roverState RoverState

Private Properties

Property Type Description

Public Methods

Method Description
Direction ( UnityEngine.Vector3d d, AttitudeReference referer ) : Quaternion
FlightComputer ( RemoteCore coreIn ) : System
SetMode ( AttitudeMode mode, AttitudeButtonState input ) : void
SetThrottle ( float throttlein ) : void
ShutDown ( ) : void
attitudeGetReferenceRotation ( AttitudeReference reference ) : Quaternion
attitudeReferenceToWorld ( UnityEngine.Vector3d vector, AttitudeReference reference ) : UnityEngine.Vector3d
attitudeWorldToReference ( UnityEngine.Vector3d vector, AttitudeReference reference ) : UnityEngine.Vector3d
drive ( FlightCtrlState s ) : void
setRover ( RoverState StateIn ) : void
updateAvailableTorque ( ) : void

Method Details

Direction() public method

public Direction ( UnityEngine.Vector3d d, AttitudeReference referer ) : Quaternion
d UnityEngine.Vector3d
referer AttitudeReference
return UnityEngine.Quaternion

FlightComputer() public method

public FlightComputer ( RemoteCore coreIn ) : System
coreIn RemoteCore
return System

SetMode() public method

public SetMode ( AttitudeMode mode, AttitudeButtonState input ) : void
mode AttitudeMode
input AttitudeButtonState
return void

SetThrottle() public method

public SetThrottle ( float throttlein ) : void
throttlein float
return void

ShutDown() public method

public ShutDown ( ) : void
return void

attitudeGetReferenceRotation() public method

public attitudeGetReferenceRotation ( AttitudeReference reference ) : Quaternion
reference AttitudeReference
return UnityEngine.Quaternion

attitudeReferenceToWorld() public method

public attitudeReferenceToWorld ( UnityEngine.Vector3d vector, AttitudeReference reference ) : UnityEngine.Vector3d
vector UnityEngine.Vector3d
reference AttitudeReference
return UnityEngine.Vector3d

attitudeWorldToReference() public method

public attitudeWorldToReference ( UnityEngine.Vector3d vector, AttitudeReference reference ) : UnityEngine.Vector3d
vector UnityEngine.Vector3d
reference AttitudeReference
return UnityEngine.Vector3d

drive() public method

public drive ( FlightCtrlState s ) : void
s FlightCtrlState
return void

setRover() public method

public setRover ( RoverState StateIn ) : void
StateIn RoverState
return void

updateAvailableTorque() public method

public updateAvailableTorque ( ) : void
return void

Property Details

Kp public_oe property

public float Kp
return float

MoI public_oe property

public Vector3d,UnityEngine MoI
return UnityEngine.Vector3d

Reference public_oe property

public AttitudeReference Reference
return AttitudeReference

Target public_oe property

public Quaternion,UnityEngine Target
return UnityEngine.Quaternion

altitude public_oe property

public double altitude
return double

roverActive public_oe property

public bool roverActive
return bool

roverState public_oe property

public RoverState,RemoteTech roverState
return RoverState