com.garmin.fit
Class AviationAttitudeMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.AviationAttitudeMesg

public class AviationAttitudeMesg
extends Mesg


Field Summary
static int AccelLateralFieldNum
           
static int AccelNormalFieldNum
           
static int AttitudeStageCompleteFieldNum
           
protected static Mesg aviationAttitudeMesg
           
static int PitchFieldNum
           
static int RollFieldNum
           
static int StageFieldNum
           
static int SystemTimeFieldNum
           
static int TimestampFieldNum
           
static int TimestampMsFieldNum
           
static int TrackFieldNum
           
static int TurnRateFieldNum
           
static int ValidityFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
AviationAttitudeMesg()
           
AviationAttitudeMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Float[] getAccelLateral()
           
 java.lang.Float getAccelLateral(int index)
          Get accel_lateral field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)
 java.lang.Float[] getAccelNormal()
           
 java.lang.Float getAccelNormal(int index)
          Get accel_normal field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)
 java.lang.Short[] getAttitudeStageComplete()
           
 java.lang.Short getAttitudeStageComplete(int index)
          Get attitude_stage_complete field Units: % Comment: The percent complete of the current attitude stage.
 int getNumAccelLateral()
           
 int getNumAccelNormal()
           
 int getNumAttitudeStageComplete()
           
 int getNumPitch()
           
 int getNumRoll()
           
 int getNumStage()
           
 int getNumSystemTime()
           
 int getNumTrack()
           
 int getNumTurnRate()
           
 int getNumValidity()
           
 java.lang.Float[] getPitch()
           
 java.lang.Float getPitch(int index)
          Get pitch field Units: radians Comment: Range -PI/2 to +PI/2
 java.lang.Float[] getRoll()
           
 java.lang.Float getRoll(int index)
          Get roll field Units: radians Comment: Range -PI to +PI
 AttitudeStage[] getStage()
           
 AttitudeStage getStage(int index)
          Get stage field
 java.lang.Long[] getSystemTime()
           
 java.lang.Long getSystemTime(int index)
          Get system_time field Units: ms Comment: System time associated with sample expressed in ms.
 DateTime getTimestamp()
          Get timestamp field Units: s Comment: Timestamp message was output
 java.lang.Integer getTimestampMs()
          Get timestamp_ms field Units: ms Comment: Fractional part of timestamp, added to timestamp
 java.lang.Float[] getTrack()
           
 java.lang.Float getTrack(int index)
          Get track field Units: radians Comment: Track Angle/Heading Range 0 - 2pi
 java.lang.Float[] getTurnRate()
           
 java.lang.Float getTurnRate(int index)
          Get turn_rate field Units: radians/second Comment: Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)
 java.lang.Integer[] getValidity()
           
 java.lang.Integer getValidity(int index)
          Get validity field
 void setAccelLateral(int index, java.lang.Float accelLateral)
          Set accel_lateral field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)
 void setAccelNormal(int index, java.lang.Float accelNormal)
          Set accel_normal field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)
 void setAttitudeStageComplete(int index, java.lang.Short attitudeStageComplete)
          Set attitude_stage_complete field Units: % Comment: The percent complete of the current attitude stage.
 void setPitch(int index, java.lang.Float pitch)
          Set pitch field Units: radians Comment: Range -PI/2 to +PI/2
 void setRoll(int index, java.lang.Float roll)
          Set roll field Units: radians Comment: Range -PI to +PI
 void setStage(int index, AttitudeStage stage)
          Set stage field
 void setSystemTime(int index, java.lang.Long systemTime)
          Set system_time field Units: ms Comment: System time associated with sample expressed in ms.
 void setTimestamp(DateTime timestamp)
          Set timestamp field Units: s Comment: Timestamp message was output
 void setTimestampMs(java.lang.Integer timestampMs)
          Set timestamp_ms field Units: ms Comment: Fractional part of timestamp, added to timestamp
 void setTrack(int index, java.lang.Float track)
          Set track field Units: radians Comment: Track Angle/Heading Range 0 - 2pi
 void setTurnRate(int index, java.lang.Float turnRate)
          Set turn_rate field Units: radians/second Comment: Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)
 void setValidity(int index, java.lang.Integer validity)
          Set validity field
 
Methods inherited from class com.garmin.fit.Mesg
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

TimestampMsFieldNum

public static final int TimestampMsFieldNum
See Also:
Constant Field Values

SystemTimeFieldNum

public static final int SystemTimeFieldNum
See Also:
Constant Field Values

PitchFieldNum

public static final int PitchFieldNum
See Also:
Constant Field Values

RollFieldNum

public static final int RollFieldNum
See Also:
Constant Field Values

AccelLateralFieldNum

public static final int AccelLateralFieldNum
See Also:
Constant Field Values

AccelNormalFieldNum

public static final int AccelNormalFieldNum
See Also:
Constant Field Values

TurnRateFieldNum

public static final int TurnRateFieldNum
See Also:
Constant Field Values

StageFieldNum

public static final int StageFieldNum
See Also:
Constant Field Values

AttitudeStageCompleteFieldNum

public static final int AttitudeStageCompleteFieldNum
See Also:
Constant Field Values

TrackFieldNum

public static final int TrackFieldNum
See Also:
Constant Field Values

ValidityFieldNum

public static final int ValidityFieldNum
See Also:
Constant Field Values

aviationAttitudeMesg

protected static final Mesg aviationAttitudeMesg
Constructor Detail

AviationAttitudeMesg

public AviationAttitudeMesg()

AviationAttitudeMesg

public AviationAttitudeMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Units: s Comment: Timestamp message was output

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Units: s Comment: Timestamp message was output

Parameters:
timestamp -

getTimestampMs

public java.lang.Integer getTimestampMs()
Get timestamp_ms field Units: ms Comment: Fractional part of timestamp, added to timestamp

Returns:
timestamp_ms

setTimestampMs

public void setTimestampMs(java.lang.Integer timestampMs)
Set timestamp_ms field Units: ms Comment: Fractional part of timestamp, added to timestamp

Parameters:
timestampMs -

getSystemTime

public java.lang.Long[] getSystemTime()

getNumSystemTime

public int getNumSystemTime()
Returns:
number of system_time

getSystemTime

public java.lang.Long getSystemTime(int index)
Get system_time field Units: ms Comment: System time associated with sample expressed in ms.

Parameters:
index - of system_time
Returns:
system_time

setSystemTime

public void setSystemTime(int index,
                          java.lang.Long systemTime)
Set system_time field Units: ms Comment: System time associated with sample expressed in ms.

Parameters:
index - of system_time
systemTime -

getPitch

public java.lang.Float[] getPitch()

getNumPitch

public int getNumPitch()
Returns:
number of pitch

getPitch

public java.lang.Float getPitch(int index)
Get pitch field Units: radians Comment: Range -PI/2 to +PI/2

Parameters:
index - of pitch
Returns:
pitch

setPitch

public void setPitch(int index,
                     java.lang.Float pitch)
Set pitch field Units: radians Comment: Range -PI/2 to +PI/2

Parameters:
index - of pitch
pitch -

getRoll

public java.lang.Float[] getRoll()

getNumRoll

public int getNumRoll()
Returns:
number of roll

getRoll

public java.lang.Float getRoll(int index)
Get roll field Units: radians Comment: Range -PI to +PI

Parameters:
index - of roll
Returns:
roll

setRoll

public void setRoll(int index,
                    java.lang.Float roll)
Set roll field Units: radians Comment: Range -PI to +PI

Parameters:
index - of roll
roll -

getAccelLateral

public java.lang.Float[] getAccelLateral()

getNumAccelLateral

public int getNumAccelLateral()
Returns:
number of accel_lateral

getAccelLateral

public java.lang.Float getAccelLateral(int index)
Get accel_lateral field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)

Parameters:
index - of accel_lateral
Returns:
accel_lateral

setAccelLateral

public void setAccelLateral(int index,
                            java.lang.Float accelLateral)
Set accel_lateral field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)

Parameters:
index - of accel_lateral
accelLateral -

getAccelNormal

public java.lang.Float[] getAccelNormal()

getNumAccelNormal

public int getNumAccelNormal()
Returns:
number of accel_normal

getAccelNormal

public java.lang.Float getAccelNormal(int index)
Get accel_normal field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)

Parameters:
index - of accel_normal
Returns:
accel_normal

setAccelNormal

public void setAccelNormal(int index,
                           java.lang.Float accelNormal)
Set accel_normal field Units: m/s^2 Comment: Range -78.4 to +78.4 (-8 Gs to 8 Gs)

Parameters:
index - of accel_normal
accelNormal -

getTurnRate

public java.lang.Float[] getTurnRate()

getNumTurnRate

public int getNumTurnRate()
Returns:
number of turn_rate

getTurnRate

public java.lang.Float getTurnRate(int index)
Get turn_rate field Units: radians/second Comment: Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)

Parameters:
index - of turn_rate
Returns:
turn_rate

setTurnRate

public void setTurnRate(int index,
                        java.lang.Float turnRate)
Set turn_rate field Units: radians/second Comment: Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)

Parameters:
index - of turn_rate
turnRate -

getStage

public AttitudeStage[] getStage()

getNumStage

public int getNumStage()
Returns:
number of stage

getStage

public AttitudeStage getStage(int index)
Get stage field

Parameters:
index - of stage
Returns:
stage

setStage

public void setStage(int index,
                     AttitudeStage stage)
Set stage field

Parameters:
index - of stage
stage -

getAttitudeStageComplete

public java.lang.Short[] getAttitudeStageComplete()

getNumAttitudeStageComplete

public int getNumAttitudeStageComplete()
Returns:
number of attitude_stage_complete

getAttitudeStageComplete

public java.lang.Short getAttitudeStageComplete(int index)
Get attitude_stage_complete field Units: % Comment: The percent complete of the current attitude stage. Set to 0 for attitude stages 0, 1 and 2 and to 100 for attitude stage 3 by AHRS modules that do not support it. Range - 100

Parameters:
index - of attitude_stage_complete
Returns:
attitude_stage_complete

setAttitudeStageComplete

public void setAttitudeStageComplete(int index,
                                     java.lang.Short attitudeStageComplete)
Set attitude_stage_complete field Units: % Comment: The percent complete of the current attitude stage. Set to 0 for attitude stages 0, 1 and 2 and to 100 for attitude stage 3 by AHRS modules that do not support it. Range - 100

Parameters:
index - of attitude_stage_complete
attitudeStageComplete -

getTrack

public java.lang.Float[] getTrack()

getNumTrack

public int getNumTrack()
Returns:
number of track

getTrack

public java.lang.Float getTrack(int index)
Get track field Units: radians Comment: Track Angle/Heading Range 0 - 2pi

Parameters:
index - of track
Returns:
track

setTrack

public void setTrack(int index,
                     java.lang.Float track)
Set track field Units: radians Comment: Track Angle/Heading Range 0 - 2pi

Parameters:
index - of track
track -

getValidity

public java.lang.Integer[] getValidity()

getNumValidity

public int getNumValidity()
Returns:
number of validity

getValidity

public java.lang.Integer getValidity(int index)
Get validity field

Parameters:
index - of validity
Returns:
validity

setValidity

public void setValidity(int index,
                        java.lang.Integer validity)
Set validity field

Parameters:
index - of validity
validity -