Measured position of an aircraft in local polar coordinates. More...

Collaboration diagram for Data Item I001/040 - Measured Position in Polar Coordinates:

Data Structures

struct  ast_dataitem_001_040_t
 Data Item I001/040 - Measured Position in Polar Coordinates. More...

Macros

#define ast_dataitem_001_040_get_size   ast_dataitem_get_size_fixed_4_byte
 Get size function for I001/040.

Functions

ast_dataitem_001_040_t ast_dataitem_001_040_decode (const ast_dataitem_t di)
 Decode Data Item I001/040.
ast_dataitem_t ast_dataitem_001_040_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode Data Item I001/040.
void ast_dataitem_001_040_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary text for I001/040.
void ast_dataitem_001_040_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detailed HTML representation for I001/040.

Detailed Description

Measured position of an aircraft in local polar coordinates.

Format:
Four-octet fixed length Data Item
Structure:
  • RHO (2 octets): Distance from radar station
  • THETA (2 octets): Azimuth angle from radar station
Resolution:
  • RHO: 1/128 NM (approx 14.5 meters)
  • THETA: 360/2^16 deg (approx 0.0055 degrees)
Units:
  • RHO: nautical miles (nm)
  • THETA: degrees

Macro Definition Documentation

◆ ast_dataitem_001_040_get_size

#define ast_dataitem_001_040_get_size   ast_dataitem_get_size_fixed_4_byte

Get size function for I001/040.

Function Documentation

◆ ast_dataitem_001_040_decode()

ast_dataitem_001_040_t ast_dataitem_001_040_decode ( const ast_dataitem_t di)

Decode Data Item I001/040.

Parameters
diData item to decode
Returns
Decoded polar coordinates structure

◆ ast_dataitem_001_040_encode()

ast_dataitem_t ast_dataitem_001_040_encode ( unsigned char *const buffer,
const size_t buf_size,
const ast_dataitem_ex_t xdi )

Encode Data Item I001/040.

Parameters
bufferOutput buffer
buf_sizeBuffer size
xdiExtended data item information
Returns
Encoded data item

◆ ast_dataitem_001_040_get_detail_html()

void ast_dataitem_001_040_get_detail_html ( char * detail,
const size_t detail_size,
const ast_dataitem_t di )

Get detailed HTML representation for I001/040.

Parameters
detailOutput buffer for HTML detail
detail_sizeSize of detail buffer
diData item to detail

◆ ast_dataitem_001_040_get_summary()

void ast_dataitem_001_040_get_summary ( char * summary,
const size_t summary_size,
const ast_dataitem_t di )

Get summary text for I001/040.

Parameters
summaryOutput buffer for summary
summary_sizeSize of summary buffer
diData item to summarize