makeTP {uavRmp} | R Documentation |
Flight Track Planning tool
Description
makeTP generates a flight track chaining up point objects with respect to a heterogenous surface and known obstacles as documented by an DSM for taking top down pictures. It creates a single control file for autonomous picture retrieval flights.
Usage
makeTP(
projectDir = tempdir(),
locationName = "treePos",
missionTrackList = NULL,
launchPos = c(8.772055, 50.814689),
demFn = NULL,
flightAltitude = 100,
climbDist = 7.5,
aboveTreeAlt = 15,
circleRadius = 1,
takeOffAlt = 50,
presetFlightTask = "remote",
maxSpeed = 25,
followSurfaceRes = 5,
altFilter = 0.5,
windCondition = 1,
launchAltitude = -9999,
uavType = "pixhawk",
cameraType = "MAPIR2",
copy = FALSE,
runDir = ""
)
Arguments
projectDir |
|
locationName |
|
missionTrackList |
|
launchPos |
|
demFn |
|
flightAltitude |
|
climbDist |
|
aboveTreeAlt |
|
circleRadius |
|
takeOffAlt |
altitude |
presetFlightTask |
|
maxSpeed |
|
followSurfaceRes |
|
altFilter |
|
windCondition |
|
launchAltitude |
|
uavType |
|
cameraType |
|
copy |
|
runDir |
|
Examples
## Not run:
## (1) get example DEM data
dsmFn <- system.file("extdata", "mrbiko.tif", package = "uavRmp")
## (2) make position flight plan
makeTP <- makeTP(missionTrackList= tutorial_flightArea,
demFn = dsmFn,
uavType = "pixhawk",
launchPos = c(8.679,50.856))
## End(Not run)