github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_camera_feedback.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Camera Capture Feedback.
     6  type MessageCameraFeedback struct {
     7  	// Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB).
     8  	TimeUsec uint64
     9  	// System ID.
    10  	TargetSystem uint8
    11  	// Camera ID.
    12  	CamIdx uint8
    13  	// Image index.
    14  	ImgIdx uint16
    15  	// Latitude.
    16  	Lat int32
    17  	// Longitude.
    18  	Lng int32
    19  	// Altitude (MSL).
    20  	AltMsl float32
    21  	// Altitude (Relative to HOME location).
    22  	AltRel float32
    23  	// Camera Roll angle (earth frame, +-180).
    24  	Roll float32
    25  	// Camera Pitch angle (earth frame, +-180).
    26  	Pitch float32
    27  	// Camera Yaw (earth frame, 0-360, true).
    28  	Yaw float32
    29  	// Focal Length.
    30  	FocLen float32
    31  	// Feedback flags.
    32  	Flags CAMERA_FEEDBACK_FLAGS `mavenum:"uint8"`
    33  	// Completed image captures.
    34  	CompletedCaptures uint16 `mavext:"true"`
    35  }
    36  
    37  // GetID implements the message.Message interface.
    38  func (*MessageCameraFeedback) GetID() uint32 {
    39  	return 180
    40  }