MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
TelemetryMessageReceivedMsg.h
1//
2// Created by Tom Danvers on 04/02/2023.
3//
4
5#ifndef MRAS_TELEMETRYMESSAGERECEIVEDMSG_H
6#define MRAS_TELEMETRYMESSAGERECEIVEDMSG_H
7
8#include <cstdio>
9#include "SystemMessage.h"
10#include "TelemetryMessage.h"
11
16 TelemetryMessageReceivedMsg() : SystemMessage(ReceivedTelemetryMessageMsg_t) {
17 telemetry_message = (TelemetryMessage*) radio_buffer;
18 }
19
24private:
25 int8_t radio_buffer[255] = {};
26};
27
28#endif //MRAS_TELEMETRYMESSAGERECEIVEDMSG_H
A base class for all system messages.
Definition: SystemMessage.h:32
A base class for all telemetry messages.
Definition: TelemetryMessage.h:39
A SystemMessage that is output by the TelemetrySystem when a TelemetryMessage is received from the gr...
Definition: TelemetryMessageReceivedMsg.h:15
TelemetryMessage * telemetry_message
Definition: TelemetryMessageReceivedMsg.h:23