Description Usage Arguments See Also Examples
Measure angle of analog compasses on images
1 |
dir |
deployment directory |
sub |
subsampling interval, in s |
verbose |
output messages on the console when TRUE |
... |
passthrough argument |
Other action.functions: disc_calibrate
,
disc_camera_compass_angle
,
disc_correct
, disc_stats
,
disc_track
, disc
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # 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/")
deploy2 <- paste0(dd, "2")
# deployment 2 does not have a digital compass record
list.files(deploy2)
# run the action
disc_conf(deploy.dir=dd)
## Not run: disc_track_compass(dir=deploy2, verbose=TRUE)
# inspect results
list.files(deploy2)
head(read.csv(paste0(deploy2, "/compass_analog_log.csv")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.