We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed8f69 commit a4a8c7fCopy full SHA for a4a8c7f
1 file changed
R/main.R
@@ -96,6 +96,8 @@ litchi.plan = function(roi, output,
96
# based on angle and width/height offsets
97
# width offsets (between flightlines)
98
nLines = ceiling(width / flightLineDistance) + 1
99
+ # Then need to update flightLineDistance to avoid offset/quantization errors
100
+ flightLineDistance = width / (nLines - 1)
101
xWidths = (-nLines/2):(nLines/2) * flightLineDistance
102
xWidths = rep(xWidths, each=2)
103
0 commit comments