pyModeS.decoder.bds.bds50 module

pyModeS.decoder.bds.bds50.gs50(msg)[source]

Ground speed, BDS 5,0 message

Parameters

msg (str) – 28 hexdigits string

Returns

ground speed in knots

Return type

int

pyModeS.decoder.bds.bds50.is50(msg)[source]

Check if a message is likely to be BDS code 5,0 (Track and turn report)

Parameters

msg (str) – 28 hexdigits string

Returns

True or False

Return type

bool

pyModeS.decoder.bds.bds50.roll50(msg)[source]

Roll angle, BDS 5,0 message

Parameters

msg (str) – 28 hexdigits string

Returns

angle in degrees,

negative->left wing down, positive->right wing down

Return type

float

pyModeS.decoder.bds.bds50.rtrk50(msg)[source]

Track angle rate, BDS 5,0 message

Parameters

msg (str) – 28 hexdigits string

Returns

angle rate in degrees/second

Return type

float

pyModeS.decoder.bds.bds50.tas50(msg)[source]

Aircraft true airspeed, BDS 5,0 message

Parameters

msg (str) – 28 hexdigits string

Returns

true airspeed in knots

Return type

int

pyModeS.decoder.bds.bds50.trk50(msg)[source]

True track angle, BDS 5,0 message

Parameters

msg (str) – 28 hexdigits string

Returns

angle in degrees to true north (from 0 to 360)

Return type

float