# NOT RUN {
library(flightplanning)
library(rgdal)
exampleBoundary = readOGR(
system.file("extdata",
"exampleBoundary.shp",
package="flightplanning"
),
"exampleBoundary")
outPath = tempfile(fileext=".csv")
flight.params = flight.parameters(
gsd = 4,
side.overlap = 0.8,
front.overlap = 0.8,
flight.speed.kmh = 54
)
litchi.plan(exampleBoundary,
outPath,
flight.params,
flight.lines.angle = -1,
max.waypoints.distance = 2000,
max.flight.time = 15)
# }
Run the code above in your browser using DataLab