QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MockLinkCamera::CameraState Struct Reference

Per-camera simulated state. More...

#include <MockLinkCamera.h>

Public Attributes

uint8_t compId = MAV_COMP_ID_CAMERA
 
uint32_t capFlags = 0
 CAMERA_CAP_FLAGS.
 
uint8_t cameraMode = CAMERA_MODE_IMAGE
 CAMERA_MODE enum.
 
bool recording = false
 
int imagesCaptured = 0
 
float zoomLevel = 1.0f
 
float focusLevel = 0.0f
 
uint8_t image_status = ImageCaptureIdle
 ImageCaptureStatus enum.
 
float image_interval = 0.0f
 Interval between image captures (seconds)
 
qint64 singleShotStartMs = 0
 Timestamp when single-shot capture started (0 = not active)
 

Detailed Description

Per-camera simulated state.

Definition at line 49 of file MockLinkCamera.h.

Member Data Documentation

◆ cameraMode

uint8_t MockLinkCamera::CameraState::cameraMode = CAMERA_MODE_IMAGE

CAMERA_MODE enum.

Definition at line 52 of file MockLinkCamera.h.

◆ capFlags

uint32_t MockLinkCamera::CameraState::capFlags = 0

CAMERA_CAP_FLAGS.

Definition at line 51 of file MockLinkCamera.h.

◆ compId

uint8_t MockLinkCamera::CameraState::compId = MAV_COMP_ID_CAMERA

◆ focusLevel

float MockLinkCamera::CameraState::focusLevel = 0.0f

Definition at line 56 of file MockLinkCamera.h.

◆ image_interval

float MockLinkCamera::CameraState::image_interval = 0.0f

Interval between image captures (seconds)

Definition at line 58 of file MockLinkCamera.h.

◆ image_status

uint8_t MockLinkCamera::CameraState::image_status = ImageCaptureIdle

ImageCaptureStatus enum.

Definition at line 57 of file MockLinkCamera.h.

Referenced by MockLinkCamera::run10HzTasks().

◆ imagesCaptured

int MockLinkCamera::CameraState::imagesCaptured = 0

Definition at line 54 of file MockLinkCamera.h.

Referenced by MockLinkCamera::run10HzTasks().

◆ recording

bool MockLinkCamera::CameraState::recording = false

Definition at line 53 of file MockLinkCamera.h.

◆ singleShotStartMs

qint64 MockLinkCamera::CameraState::singleShotStartMs = 0

Timestamp when single-shot capture started (0 = not active)

Definition at line 59 of file MockLinkCamera.h.

Referenced by MockLinkCamera::run10HzTasks().

◆ zoomLevel

float MockLinkCamera::CameraState::zoomLevel = 1.0f

Definition at line 55 of file MockLinkCamera.h.


The documentation for this struct was generated from the following file: