|
QGroundControl
Ground Control Station for MAVLink Drones
|
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) | |
| uint8_t | trackingMode = CAMERA_TRACKING_MODE_NONE |
| CAMERA_TRACKING_MODE enum. | |
| float | trackPointX = 0.0f |
| float | trackPointY = 0.0f |
| float | trackRadius = 0.0f |
| float | trackRecTopX = 0.0f |
| float | trackRecTopY = 0.0f |
| float | trackRecBottomX = 0.0f |
| float | trackRecBottomY = 0.0f |
| qint64 | trackingStatusIntervalUs = -1 |
| Interval for CAMERA_TRACKING_IMAGE_STATUS (-1 = disabled) | |
| qint64 | trackingStatusLastSentMs = 0 |
| Timestamp of last tracking status message. | |
| qint64 | trackingStartMs = 0 |
| Timestamp when tracking was started (for drift animation) | |
| float | trackAnchorX = 0.0f |
| Original center X of tracked target. | |
| float | trackAnchorY = 0.0f |
| Original center Y of tracked target. | |
Per-camera simulated state.
Definition at line 47 of file MockLinkCamera.h.
| uint8_t MockLinkCamera::CameraState::cameraMode = CAMERA_MODE_IMAGE |
CAMERA_MODE enum.
Definition at line 50 of file MockLinkCamera.h.
| uint32_t MockLinkCamera::CameraState::capFlags = 0 |
CAMERA_CAP_FLAGS.
Definition at line 49 of file MockLinkCamera.h.
| uint8_t MockLinkCamera::CameraState::compId = MAV_COMP_ID_CAMERA |
Definition at line 48 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks(), and MockLinkCamera::sendCameraHeartbeats().
| float MockLinkCamera::CameraState::focusLevel = 0.0f |
Definition at line 54 of file MockLinkCamera.h.
| float MockLinkCamera::CameraState::image_interval = 0.0f |
Interval between image captures (seconds)
Definition at line 56 of file MockLinkCamera.h.
| uint8_t MockLinkCamera::CameraState::image_status = ImageCaptureIdle |
ImageCaptureStatus enum.
Definition at line 55 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| int MockLinkCamera::CameraState::imagesCaptured = 0 |
Definition at line 52 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| bool MockLinkCamera::CameraState::recording = false |
Definition at line 51 of file MockLinkCamera.h.
| qint64 MockLinkCamera::CameraState::singleShotStartMs = 0 |
Timestamp when single-shot capture started (0 = not active)
Definition at line 57 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackAnchorX = 0.0f |
Original center X of tracked target.
Definition at line 71 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackAnchorY = 0.0f |
Original center Y of tracked target.
Definition at line 72 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| uint8_t MockLinkCamera::CameraState::trackingMode = CAMERA_TRACKING_MODE_NONE |
CAMERA_TRACKING_MODE enum.
Definition at line 60 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| qint64 MockLinkCamera::CameraState::trackingStartMs = 0 |
Timestamp when tracking was started (for drift animation)
Definition at line 70 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| qint64 MockLinkCamera::CameraState::trackingStatusIntervalUs = -1 |
Interval for CAMERA_TRACKING_IMAGE_STATUS (-1 = disabled)
Definition at line 68 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| qint64 MockLinkCamera::CameraState::trackingStatusLastSentMs = 0 |
Timestamp of last tracking status message.
Definition at line 69 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackPointX = 0.0f |
Definition at line 61 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackPointY = 0.0f |
Definition at line 62 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackRadius = 0.0f |
Definition at line 63 of file MockLinkCamera.h.
| float MockLinkCamera::CameraState::trackRecBottomX = 0.0f |
Definition at line 66 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackRecBottomY = 0.0f |
Definition at line 67 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackRecTopX = 0.0f |
Definition at line 64 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::trackRecTopY = 0.0f |
Definition at line 65 of file MockLinkCamera.h.
Referenced by MockLinkCamera::run10HzTasks().
| float MockLinkCamera::CameraState::zoomLevel = 1.0f |
Definition at line 53 of file MockLinkCamera.h.