|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Attitude<Course>
uavsim.datatypes.Course
public class Course
Defines the course degree of freedom of an attitude on the interval [-180,+180] navigational degrees, with 0 being north.
| Field Summary | |
|---|---|
static Course |
COURSE_000
predefined common courses |
static Course |
COURSE_030
|
static Course |
COURSE_060
|
static Course |
COURSE_090
|
static Course |
COURSE_120
|
static Course |
COURSE_150
|
static Course |
COURSE_180
|
static Course |
COURSE_210
|
static Course |
COURSE_240
|
static Course |
COURSE_270
|
static Course |
COURSE_300
|
static Course |
COURSE_330
|
private static double |
DEFAULT_COURSE
the default course |
| Fields inherited from class uavsim.datatypes.A_Attitude |
|---|
_angleDegrees |
| Constructor Summary | |
|---|---|
Course()
Creates a course object at 0 degrees. |
|
Course(double angleDegrees)
Creates a course object. |
|
| Method Summary | |
|---|---|
Course |
add_(Course course)
Adds another unit to this one. |
protected void |
setAngle(double angleDegrees)
Sets the roll angle. |
Course |
subtract_(Course course)
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 |
|---|
public static final Course COURSE_000
public static final Course COURSE_030
public static final Course COURSE_060
public static final Course COURSE_090
public static final Course COURSE_120
public static final Course COURSE_150
public static final Course COURSE_180
public static final Course COURSE_210
public static final Course COURSE_240
public static final Course COURSE_270
public static final Course COURSE_300
public static final Course COURSE_330
private static final double DEFAULT_COURSE
| Constructor Detail |
|---|
public Course()
public Course(double angleDegrees)
angleDegrees - - the course, as defined in the class description| Method Detail |
|---|
public Course add_(Course course)
course - - the unit
protected void setAngle(double angleDegrees)
setAngle in class A_Attitude<Course>angleDegrees - - the angle, which is internally normalized as defined in the class descriptionpublic Course subtract_(Course course)
course - - 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 | ||||||||