C# Class PropellersController, KestrelFPV

Inheritance: MonoBehaviour
Datei anzeigen Open project: eleurent/KestrelFPV Class Usage Examples

Public Properties

Property Type Description
maxRPM float

Public Methods

Method Description
ApplyForces ( ) : void
MixRPM ( float heightFeedforward, float heightCommand, float rollCommand, float pitchCommand, float yawCommand ) : void
Start ( ) : void
getMaxPower ( ) : float
getPower ( ) : float
getRPM ( int i ) : float
getTotalForce ( ) : Vector3
getTotalTorque ( ) : Vector3
startMotor ( int motor ) : void
stopMotor ( int motor ) : void

Method Details

ApplyForces() public method

public ApplyForces ( ) : void
return void

MixRPM() public method

public MixRPM ( float heightFeedforward, float heightCommand, float rollCommand, float pitchCommand, float yawCommand ) : void
heightFeedforward float
heightCommand float
rollCommand float
pitchCommand float
yawCommand float
return void

Start() public method

public Start ( ) : void
return void

getMaxPower() public method

public getMaxPower ( ) : float
return float

getPower() public method

public getPower ( ) : float
return float

getRPM() public method

public getRPM ( int i ) : float
i int
return float

getTotalForce() public method

public getTotalForce ( ) : Vector3
return Vector3

getTotalTorque() public method

public getTotalTorque ( ) : Vector3
return Vector3

startMotor() public method

public startMotor ( int motor ) : void
motor int
return void

stopMotor() public method

public stopMotor ( int motor ) : void
motor int
return void

Property Details

maxRPM public_oe property

public float maxRPM
return float