Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_Camera/LogStructure.h
Views: 1798
#pragma once12#include <AP_Logger/LogStructure.h>3#include "AP_Camera_config.h"45#define LOG_IDS_FROM_CAMERA \6LOG_CAMERA_MSG, \7LOG_TRIGGER_MSG89// @LoggerMessage: CAM,TRIG10// @Description: Camera shutter information11// @Field: TimeUS: Time since system startup12// @Field: I: Instance number13// @Field: Img: Image number14// @Field: GPSTime: milliseconds since start of GPS week15// @Field: GPSWeek: weeks since 5 Jan 198016// @Field: Lat: current latitude17// @Field: Lng: current longitude18// @Field: Alt: current altitude19// @Field: RelAlt: current altitude relative to home20// @Field: GPSAlt: altitude as reported by GPS21// @Field: R: current vehicle roll22// @Field: P: current vehicle pitch23// @Field: Y: current vehicle yaw24struct PACKED log_Camera {25LOG_PACKET_HEADER;26uint64_t time_us;27uint8_t instance;28uint16_t image_number;29uint32_t gps_time;30uint16_t gps_week;31int32_t latitude;32int32_t longitude;33int32_t altitude;34int32_t altitude_rel;35int32_t altitude_gps;36int16_t roll;37int16_t pitch;38uint16_t yaw;39};4041#if AP_CAMERA_ENABLED42#define LOG_STRUCTURE_FROM_CAMERA \43{ LOG_CAMERA_MSG, sizeof(log_Camera), \44"CAM", "QBHIHLLeeeccC","TimeUS,I,Img,GPSTime,GPSWeek,Lat,Lng,Alt,RelAlt,GPSAlt,R,P,Y", "s#---DUmmmddd", "F----GGBBBBBB" }, \45{ LOG_TRIGGER_MSG, sizeof(log_Camera), \46"TRIG", "QBHIHLLeeeccC","TimeUS,I,Img,GPSTime,GPSWeek,Lat,Lng,Alt,RelAlt,GPSAlt,R,P,Y", "s#---DUmmmddd", "F----GGBBBBBB" },47#else48#define LOG_STRUCTURE_FROM_CAMERA49#endif505152