C# Class ControllerManager, KestrelFPV

Inheritance: MonoBehaviour
ファイルを表示 Open project: eleurent/KestrelFPV Class Usage Examples

Public Properties

Property Type Description
anglesControl ControlMode,
heightControl ControlMode,
heightSensitivity float
invertAxisA bool
invertAxisE bool
invertAxisR bool
invertAxisT bool
pitchSensitivity float
rollSensitivity float
squareMapping bool
tiltAngle float
tiltAngleKp float
tiltRateKp float
verticalSpeedKp float
verticalSpeedSensitivity float
yawAngleKp float
yawRateKp float
yawSensitivity float

Public Methods

Method Description
FixedUpdate ( ) : void
LoadPlayerPrefs ( ) : void
Start ( ) : void
getAcceleration ( ) : Vector3
resetYawRef ( ) : void

Private Methods

Method Description
applyAngleCompensation ( float heightCommand ) : float
controlAngles ( ) : Vector3
controlRates ( ) : Vector3
controlThrottle ( ) : float
controlVerticalSpeed ( ) : float
heightLoop ( float verticalSpeedRef ) : float
quaternionLoop ( Quaternion quaternionRef ) : Vector3
rateLoop ( Vector3 angularRatesRef ) : Vector3

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

LoadPlayerPrefs() public method

public LoadPlayerPrefs ( ) : void
return void

Start() public method

public Start ( ) : void
return void

getAcceleration() public method

public getAcceleration ( ) : Vector3
return Vector3

resetYawRef() public method

public resetYawRef ( ) : void
return void

Property Details

anglesControl public_oe property

public ControlMode, anglesControl
return ControlMode,

heightControl public_oe property

public ControlMode, heightControl
return ControlMode,

heightSensitivity public_oe property

public float heightSensitivity
return float

invertAxisA public_oe property

public bool invertAxisA
return bool

invertAxisE public_oe property

public bool invertAxisE
return bool

invertAxisR public_oe property

public bool invertAxisR
return bool

invertAxisT public_oe property

public bool invertAxisT
return bool

pitchSensitivity public_oe property

public float pitchSensitivity
return float

rollSensitivity public_oe property

public float rollSensitivity
return float

squareMapping public_oe property

public bool squareMapping
return bool

tiltAngle public_oe property

public float tiltAngle
return float

tiltAngleKp public_oe property

public float tiltAngleKp
return float

tiltRateKp public_oe property

public float tiltRateKp
return float

verticalSpeedKp public_oe property

public float verticalSpeedKp
return float

verticalSpeedSensitivity public_oe property

public float verticalSpeedSensitivity
return float

yawAngleKp public_oe property

public float yawAngleKp
return float

yawRateKp public_oe property

public float yawRateKp
return float

yawSensitivity public_oe property

public float yawSensitivity
return float