|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Attitude<AttitudeRoll>
uavsim.datatypes.AttitudeRoll
public class AttitudeRoll
Defines the roll element of an attitude on the interval [+180,-180] navigational degrees, with 0 being wings level. The equivalent mathematical interval [0,360) is usable, although it is not consistent with the standard aviation and engineering definition.
| Field Summary | |
|---|---|
private static double |
DEFAULT_ROLL
the default roll |
static AttitudeRoll |
ROLL_0
predefined common rolls |
static AttitudeRoll |
ROLL_M10
|
static AttitudeRoll |
ROLL_M20
|
static AttitudeRoll |
ROLL_M30
|
static AttitudeRoll |
ROLL_M45
|
static AttitudeRoll |
ROLL_M60
|
static AttitudeRoll |
ROLL_M90
|
static AttitudeRoll |
ROLL_P10
|
static AttitudeRoll |
ROLL_P20
|
static AttitudeRoll |
ROLL_P30
|
static AttitudeRoll |
ROLL_P45
|
static AttitudeRoll |
ROLL_P60
|
static AttitudeRoll |
ROLL_P90
|
| Fields inherited from class uavsim.datatypes.A_Attitude |
|---|
_angleDegrees |
| Constructor Summary | |
|---|---|
AttitudeRoll()
Creates a roll object at 0 degrees. |
|
AttitudeRoll(double angleDegrees)
Creates a roll object. |
|
| Method Summary | |
|---|---|
AttitudeRoll |
add_(AttitudeRoll roll)
Adds another unit to this one. |
protected void |
setAngle(double angleDegrees)
Sets the roll angle. |
AttitudeRoll |
subtract_(AttitudeRoll roll)
Subtract another unit from this one. |
java.lang.String |
toString()
|
| Methods inherited from class uavsim.datatypes.A_Attitude |
|---|
compareTo, getAngleMathematical, getAngleNavigational, getAngleRadians, getValue_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final double DEFAULT_ROLL
public static final AttitudeRoll ROLL_0
public static final AttitudeRoll ROLL_M10
public static final AttitudeRoll ROLL_M20
public static final AttitudeRoll ROLL_M30
public static final AttitudeRoll ROLL_M45
public static final AttitudeRoll ROLL_M60
public static final AttitudeRoll ROLL_M90
public static final AttitudeRoll ROLL_P10
public static final AttitudeRoll ROLL_P20
public static final AttitudeRoll ROLL_P30
public static final AttitudeRoll ROLL_P45
public static final AttitudeRoll ROLL_P60
public static final AttitudeRoll ROLL_P90
| Constructor Detail |
|---|
public AttitudeRoll()
public AttitudeRoll(double angleDegrees)
angleDegrees - - the roll, as defined in the class description| Method Detail |
|---|
public AttitudeRoll add_(AttitudeRoll roll)
roll - - the unit
protected void setAngle(double angleDegrees)
setAngle in class A_Attitude<AttitudeRoll>angleDegrees - - the angle, which is internally normalized as defined in the class descriptionpublic AttitudeRoll subtract_(AttitudeRoll roll)
roll - - the unit
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||