fix(src): Determine the default intrinsics based on the resulution

This commit is contained in:
Osenberg
2019-08-06 20:04:38 +08:00
parent 1cda60d137
commit 2260f5c582
11 changed files with 128 additions and 225 deletions

View File

@@ -300,6 +300,8 @@ class MYNTEYE_API Device {
/** Enable process mode, e.g. imu assembly, temp_drift */
void EnableProcessMode(const std::int32_t& mode);
bool CheckImageParams();
protected:
std::shared_ptr<uvc::device> device() const {
return device_;
@@ -379,6 +381,8 @@ class MYNTEYE_API Device {
bool SetFiles(
DeviceInfo *info, img_params_map_t *img_params, imu_params_t *imu_params);
bool is_default_intrinsics_;
friend API;
friend tools::DeviceWriter;
};