Package aero.t2s.modes.decoder.df.bds
Class Bds50
java.lang.Object
aero.t2s.modes.decoder.df.bds.Bds
aero.t2s.modes.decoder.df.bds.Bds50
public class Bds50 extends Bds
56-bit MB Field is structured in the following format
Bit | 01 | Status 02 | Sign (Left wing down) 03 | MSB Roll angle (45 degrees) 04 | Roll angle cont. 05 | Roll angle cont. 06 | Roll angle cont. 07 | Roll angle cont. 08 | Roll angle cont. --------------------------------------- 09 | Roll angle cont. 10 | Roll angle cont. 11 | LSB roll angle (45/256 degrees) 12 | Status 13 | Sign (West) 14 | MSB True track angle (90 degrees) 15 | True Track Angle cont. 16 | True Track Angle cont. --------------------------------------- 17 | True Track Angle cont. 18 | True Track Angle cont. 19 | True Track Angle cont. 20 | True Track Angle cont. 21 | True Track Angle cont. 22 | True Track Angle cont. 23 | LSB True Track Angle (90/512 degrees) 24 | Status --------------------------------------- 25 | MSB Ground Speed (1024kt) 26 | Ground Speed cont. 27 | Ground Speed cont. 28 | Ground Speed cont. 29 | Ground Speed cont. 30 | Ground Speed cont. 31 | Ground Speed cont. 32 | Ground Speed cont. --------------------------------------- 33 | Ground Speed cont. 34 | LSB Ground Speed (2kt) 35 | Status 36 | Sign (Minus) 37 | MSB Track Angle Rate (8 degrees / second) 38 | Track Angle Rate cont. 39 | Track Angle Rate cont. 40 | Track Angle Rate cont. --------------------------------------- 41 | Track Angle Rate cont. 42 | Track Angle Rate cont. 43 | Track Angle Rate cont. 44 | Track Angle Rate cont. 45 | LSB Track Angle Rate (8/256 degrees / second) 46 | Status 47 | MSB True Airspeed (1024kt) 48 | True Airspeed cont. --------------------------------------- 49 | True Airspeed cont. 50 | True Airspeed cont. 51 | True Airspeed cont. 52 | True Airspeed cont. 53 | True Airspeed cont. 54 | True Airspeed cont. 55 | True Airspeed cont. 56 | LSB True Airspeed (2kt)Status flags
- Roll Angle (bit 1) - Indicates if Roll Angle is available/valid
- True Track Angle (bit 12) - Indicates if true track angle is available/valid
- Ground Speed (bit 24) - Indicates if ground speed available/valid
- Track Angle Rate (bit 35) - Indicates if ground speed available/valid
- True Airspeed (bit 46) - Indicates if true airspeed is available/valid
Roll Angle
Roll angle or bank angle tells you if the aircraft is banking to the left or to the right and how many degrees.
Sign (bit 2) determines if the aircraft is banking left (1) or right (0). When the aircraft is flying straight sign may either set to 1 or 0 with zero angle.
NOTE: If the status flag (bit 1) is not enabled ALL bits (2 through 11) need to be actively set to zero. NOTE2: LSB shows resolution of 45/256degrees, the total range of the field roll angle is 0-90.True Track Angle
Is the direction the aircraft is flying relative to the ground and true north.
NOTE: Sign flag (bit 13) determines West (1) and East (0). Sign is 1 then 315 degrees is transmitted as 45degrees. Or to get the direction 0-360 range you need to add 180 degrees when west is set to 1. NOTE2: If the status flag (bit 1) is not enabled ALL bits (2 through 11) need to be actively set to zero. NOTE3: LSB shows resolution of 45/256degrees, the total range of the field roll angle is 0-90.Ground Speed
Track Angle Rate
True Airspeed
-
Constructor Summary
Constructors Constructor Description Bds50(short[] data) -
Method Summary
Modifier and Type Method Description voidapply(Track track)doublegetGs()doublegetRollAngle()doublegetTas()doublegetTrackAngleRate()doublegetTrueTrack()booleanisStatusGs()booleanisStatusRollAngle()booleanisStatusTas()booleanisStatusTrackAngle()booleanisStatusTrueAngleRate()protected voidreset()Methods inherited from class aero.t2s.modes.decoder.df.bds.Bds
invalidate, isValidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Bds50
public Bds50(short[] data)
-
-
Method Details
-
apply
-
reset
protected void reset() -
isStatusRollAngle
public boolean isStatusRollAngle() -
isStatusTrackAngle
public boolean isStatusTrackAngle() -
isStatusGs
public boolean isStatusGs() -
isStatusTrueAngleRate
public boolean isStatusTrueAngleRate() -
isStatusTas
public boolean isStatusTas() -
getGs
public double getGs() -
getTrackAngleRate
public double getTrackAngleRate() -
getTrueTrack
public double getTrueTrack() -
getTas
public double getTas() -
getRollAngle
public double getRollAngle()
-