public class ARIESSupport extends Object
Constructor and Description |
---|
ARIESSupport() |
Modifier and Type | Method and Description |
---|---|
static double |
getKnotsFromRpm(double A,
double B,
double rpm)
Computes an speed in knots that the vehicle will achieve with a specified RPM
|
static double |
getMpsFromRpm(double A,
double B,
double rpm)
Computes an speed in MPS that the vehicle will achieve with a specified RPM
|
static double |
getRpmForKnots(double A,
double B,
double knots)
Computes an proportion of maximum RPM to obtain desired speed in knots
|
static double |
getRpmForMps(double A,
double B,
double mps)
Computes an proportion of maximum RPM to obtain desired speed in MPS
|
public static double getRpmForMps(double A, double B, double mps)
A
- coefficient of the Ax^2 + Bx = MPS equationB
- coefficient of the Ax^2 + Bx = MPS equationmps
- desired speed in meters per secondpublic static double getRpmForKnots(double A, double B, double knots)
A
- coefficient of the Ax^2 + Bx = MPS equationB
- coefficient of the Ax^2 + Bx = MPS equationknots
- desired speed in meters per secondpublic static double getMpsFromRpm(double A, double B, double rpm)
A
- coefficient of the Ax^2 + Bx = MPS equationB
- coefficient of the Ax^2 + Bx = MPS equationrpm
- proportion of maximum rpm [0..1]public static double getKnotsFromRpm(double A, double B, double rpm)
A
- coefficient of the Ax^2 + Bx = MPS equationB
- coefficient of the Ax^2 + Bx = MPS equationrpm
- proportion of maximum rpm [0..1]