panomosity 0.1.33 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/panomosity/runner.rb +2 -2
- data/lib/panomosity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c4ca26ec8aea2aab2814eadc973bd9823fa4f68d1e758b1ffc4aea748716b6a
|
4
|
+
data.tar.gz: fe80a8e94d0ceb930ef654a7c5e20284880b06ca62c9851aa499f34c490979c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed7748db818e144a39740f03396d6afdab885359c0b95eb773048f7ea76912bb2c92de61f57b0dcc4efe6cc9b33344aa2bc9c08d542358e35e627608fb8691bd
|
7
|
+
data.tar.gz: 3f18437d67ae7b651e8bfef77cdfb99ce8733b810c3d2fc11591bfd95bf542781a25fa1e9674f2b59ec20b661f95dcd6933c9125725dc1592401c03b825cdd72
|
data/lib/panomosity/runner.rb
CHANGED
@@ -73,7 +73,7 @@ module Panomosity
|
|
73
73
|
optimizer = Optimizer.new(panorama)
|
74
74
|
calibration_report = JSON.parse(@report_file)
|
75
75
|
|
76
|
-
if calibration_report.fetch('position')
|
76
|
+
if calibration_report.fetch('position', nil)
|
77
77
|
logger.info 'calibration_report.json included position, applying position values'
|
78
78
|
optimizer.run_position_optimizer(xh_avg: calibration_report['position']['xh_avg'],
|
79
79
|
yh_avg: calibration_report['position']['yh_avg'],
|
@@ -81,7 +81,7 @@ module Panomosity
|
|
81
81
|
yv_avg: calibration_report['position']['yv_avg'])
|
82
82
|
end
|
83
83
|
|
84
|
-
if calibration_report.fetch('roll')
|
84
|
+
if calibration_report.fetch('roll', nil)
|
85
85
|
logger.info 'calibration_report.json included roll, applying roll values'
|
86
86
|
optimizer.run_roll_optimizer(apply_roll: calibration_report.fetch('roll'))
|
87
87
|
end
|
data/lib/panomosity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panomosity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|