/**
* @brief This interrupt service routine is called every 1000ms. It is responsible for
* sending the highest priority drone "state" data to the ground station. Data such as
* heartbeat message, altitude, attitude, latitude, longitude... And anything else deemed
* important enough to be transmitted at a regular interval. This is the highest priority
* data in the GSC.highPriorityTransmitBuffer.
*
*/
void TimerISR1000ms()
{
// START: ingest drone state data and pack bytes into GSC.highPriorityTransmitBuffer
// END: ingest drone state data and pack bytes into GSC.highPriorityTransmitBuffer
// transmit the data via GSC.sendToGroundStation(); function
GSC.sendToGroundStation(GSC.highPriorityTransmitBuffer);
} |