-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Camera: Move CameraMetaData list from FirmwarePlugin to CameraManager
- Loading branch information
Showing
15 changed files
with
652 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/**************************************************************************** | ||
* | ||
* (c) 2009-2024 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> | ||
* | ||
* QGroundControl is licensed according to the terms in the file | ||
* COPYING.md in the root of the source code directory. | ||
* | ||
****************************************************************************/ | ||
|
||
#include "CameraMetaData.h" | ||
#include "QGCLoggingCategory.h" | ||
|
||
QGC_LOGGING_CATEGORY(CameraMetaDataLog, "qgc.camera.camerametadata") | ||
|
||
CameraMetaData::CameraMetaData(const QString &canonicalName, | ||
const QString &brand, | ||
const QString &model, | ||
double sensorWidth, | ||
double sensorHeight, | ||
double imageWidth, | ||
double imageHeight, | ||
double focalLength, | ||
bool landscape, | ||
bool fixedOrientation, | ||
double minTriggerInterval, | ||
const QString &deprecatedTranslatedName) | ||
: canonicalName(canonicalName) | ||
, brand(brand) | ||
, model(model) | ||
, sensorWidth(sensorWidth) | ||
, sensorHeight(sensorHeight) | ||
, imageWidth(imageWidth) | ||
, imageHeight(imageHeight) | ||
, focalLength(focalLength) | ||
, landscape(landscape) | ||
, fixedOrientation(fixedOrientation) | ||
, minTriggerInterval(minTriggerInterval) | ||
, deprecatedTranslatedName(deprecatedTranslatedName) | ||
{ | ||
// qCDebug(AudioOutputLog) << Q_FUNC_INFO << this; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.