Control computer implementation

GPS message

Implemented using a circular buffer in shared memory. Written using calls to write_gps_message, and read using calls to read_gps_message.

Type gps_message_t:
Represents a message received from the GPS.

Function int write_gps_message(gps_message_t *message):
Write a GPS message, and make this message the most current message.

Function int read_gps_message(gps_message_t *message):
Read the most current GPS message.

INS message

Implemented using a circular buffer in shared memory. Written using calls to write_ins_message, and read using calls to read_ins_message.

Type ins_message_t:
Represents a message received from the INS.

Function int write_ins_message(ins_message_t *message):
Write an INS message, and make this message the most current message.

Function int read_ins_message(ins_message_t *message):
Read the most current INS message.