Learn R Programming

uavRmp (version 0.5)

soloLog: Download, reorganize and export the telemetry (tlog) files from 3DR Solo (and Pixhawk)

Description

Wraps the mavtogpx.py converter as provided by the dronkit library. It downloads and/ or converts the 3DR Solo logfiles. Otionally you may import the geometries and data as sp objects in R

Usage

soloLog(logFiles = "solo.t*", logDir = "~/soloLog", downloadOnly = FALSE,
  netWarn = TRUE, organize = TRUE, makeSP = FALSE)

Arguments

logFiles

pattern of which kind of logs should be downloaded for telemetry it is "solo.t*" which means all log files...

logDir

(existing) destination path to which the logs should be downloaded to

downloadOnly

default = FALSE, set to TRUE if you ONLY want to download the log files from the solo controller to the logDir

netWarn

if true warns and waits before starting a connection to the controller to connect to the solo wifi

organize

renames the log and gpx files according to their timeperiod

makeSP

generates SP objects from the gpx files

Examples

Run this code
# NOT RUN {
## download current telemetry log file from controller and convert it to gpx
soloLog(logDir="~/tmp/solo",logFiles = "solo.tlog")

## download all available telemetry logfiles from the controller
soloLog(logDir="~/tmp/solo")

## download ALL logfiles from the controller
soloLog(logDir="~/tmp/solo", logFiles = "*")
# }

Run the code above in your browser using DataLab