187 MESSAGE(
"Forwarding PAYLOAD_COMMAND messages.")
189 if (DL_PAYLOAD_COMMAND_ac_id(buf) == AC_ID) {
190 uint8_t len = DL_PAYLOAD_COMMAND_command_length(buf);
195 len, DL_PAYLOAD_COMMAND_command(buf));
201 len, DL_PAYLOAD_COMMAND_command(buf));
Mission Computer module, interfacing the mission computer (also known as Copilot),...
struct CameraPayload cam_payload
void copilot_init(void)
Init function.
PPRZ_MUTEX(copilot_cam_snapshot_mtx)
struct CopilotStatus copilot_status
void copilot_parse_cam_snapshot_dl(uint8_t *buf)
copy CAMERA_SNAPSHOT message and mark it to be sent
void copilot_parse_cam_payload_dl(uint8_t *buf)
copy CAMERA_PAYLOAD message and mark it to be sent
void copilot_parse_payload_command_dl(uint8_t *buf)
Pass through PAYLOAD_COMMAND message and send it as PAYLOAD msg over telemetry.
struct CameraSnapshot cam_snapshot
void copilot_parse_copilot_status_dl(uint8_t *buf)
copy COPILOT_STATUS message and mark it to be sent
void copilot_periodic(void)
Periodic function.
uint8_t dl_buffer[MSG_SIZE]
#define PPRZ_MUTEX_LOCK(_mtx)
#define PPRZ_MUTEX_UNLOCK(_mtx)
#define PPRZ_MUTEX_INIT(_mtx)
Periodic telemetry system header (includes downlink utility and generated code).
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.