t3p: t3p take tree top pictures

Description Usage Arguments Note Author(s) Examples

View source: R/t3.R

Description

t3p generates a flight track chaining up point objects with respect to a heterogenous Surface and known obstacles for taking top down pictures.

Usage

1
2
3
4
5
6
t3p(projectDir = "~", missionName = "autoflightcontrol",
  missionTrackList = NULL, launchPos = NULL, demFn = NULL,
  flightAltitude = 75, climbDist = 7.5, aboveTreeAlt = 15,
  presetFlightTask = "remote", maxSpeed = 25, followSurfaceRes = 5,
  altFilter = 1, maxFL = 10, windCondition = 1, rcRange = -9999,
  launchAltitude = -9999, uavType = "djip3")

Arguments

projectDir

path to the main folder where several projects can be hosted It will overwrite the DEM based estimation if any other value than -9999

missionName

base string for mission filenames

demFn

filname of the corresponding DEM data file

flightAltitude

set the default flight altitude of the mission. It is assumed that the UAV is started at the highest point of the surveyArea otherwise you have to defined the position of launching. By default it is set to (= 0.0). If set to -99 it will be calculated from the swath width of the pictures. NOTE This makes only sense for followingTerrain = TRUE to smooth curves. For flightPlanMode = "waypoint" camera actions are DISABLED during curve flights.

presetFlightTask

(DJI only) strongly recommended to use "remote"
Options are: "simple_ortho" takes one picture/waypoint, "multi_ortho" takes 4 picture at a waypoint, two vertically down and two in forward and backward viewing direction and an angele of -60deg, "simple_pano" takes a 360 deg panorama picture and "remote" which assumes that the camera is controlled by the remote control (RC)

maxSpeed

cruising speed

followSurfaceRes

horizontal step distance for analysing the DEM altitudes

windCondition

1= calm 2= light air 1-5km/h, 3= light breeze 6-11km/h, 4=gentle breeze 12-19km/h 5= moderate breeze 20-28km/h

rcRange

range of estimated range of remote control

uavType

type of uav. currently "djip3" and "solo" are supported

followSurface

boolean TRUE performs an altitude correction of the missions flight altitude using additional DEM data. If no DEM data is provided and followSurface is TRUE, SRTM data will be downloaded and used Further explanation at seealso

rotationdir

(DJI only) camera control parameter set the UAV basic turn direction to right (0) or left (1)

gimbalmode

(DJI only) camera control parameter 0 deactivates the gimbal control 1 activates the gimbale for focussing POIs 2 activates the gimbale for focus and interpolate a field of view in an angel of gimbalpitchangle

gimbalpitchangle

(DJI only) vertical angle of camera +30 deg..-90 deg

actiontype

(DJI only) individual actionype settings of the camera c(1,1,...)

actionparam

(DJI only) corresponding parameter for the above individual actiontype c(0,0,...)

maxFl

maximum duration of a flight in minutes

Note

basic idea is to fly in a serie to object positions with respect to the surface model for taking high resolution pics

Author(s)

Chris Reudenbach

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
t3<-t3p(projectDir ="/home/creu/uav/bayerwald",
missionName = "filzmoosTree",
missionTrackList="~/uav/bayerwald/Selected_trees_Filz.txt",
demFn = "~/uav/grossfilz/grosserfilz.tif",
windCondition = 2,
uavType = "djip3",
followSurfaceRes=5,
launchPos = c(13.409114897133804,48.92039612988935))

mapview(t3$wp,zcol = "altitude",lwd=1,cex=5)+mapview(t3$lp,color="red",cex=5)

gisma/robubu documentation built on May 17, 2019, 5:28 a.m.