disc_camera_compass_angle: Measure angle between camera and compass

Description Usage Arguments See Also Examples

View source: R/disc_camera_compass_angle.R

Description

Measure angle of analog compasses on images, use that as a reference, compare it to the digital compass record and deduce the angle between the camera and the digital compass. This is mandatory to use the digital compass to correct the tracks.

Usage

1

Arguments

dir

deployment directory

sub

subsampling interval, in s

verbose

output messages on the console when TRUE

...

passthrough argument

See Also

Other action.functions: disc_calibrate, disc_correct, disc_stats, disc_track_compass, disc_track, disc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# get example deployments included with the package
deploys <- system.file("extdata", "deployments", package = "discr")
# copy them to a writable, temporary directory
temp <- tempdir()
file.copy(deploys, temp, recursive=TRUE)
dd <- paste0(temp, "/deployments/")
deploy1 <- paste0(dd, "1")

# run the action
disc_conf(deploy.dir=dd)
## Not run: disc_camera_compass_angle(dir=deploy1, sub=10, verbose=TRUE)
# the angle is also stored in a file "angle_camera_compass.txt"
list.files(deploy1)

jiho/discr documentation built on May 19, 2019, 9:30 a.m.