soloLog {uavRmp} | R Documentation |
Download, reorganize and export the binary log files from 3DR Solo Pixhawk controller or the telemetry log files from the Solo radio control unit
Description
Wraps the mavtogpx.py converter as provided by the dronkit library). It downloads and optionally converts the most important 3DR Solo logfiles. Optionally you may import the geometries and data as sp
object.
Usage
soloLog(
logFileSample = "recent",
logSource = "rc",
logDest = tempdir(),
downloadOnly = FALSE,
netWarn = FALSE,
renameFiles = TRUE,
makeSP = FALSE
)
Arguments
logFileSample |
|
logSource |
|
logDest |
|
downloadOnly |
|
netWarn |
|
renameFiles |
|
makeSP |
|
Note
for using the Solo stuff is tested only for Linux and the bash shell under Windows 10. You need to install the following python libs:
sudo pip install pymavlink
sudo pip install dronekit-sitl
sudo pip install dronekit
Additionally you need sshpass
:
sudo apt-get install sshpass
And please rememeber - you need to be connected at least to a running 3DR Solo radio control and if you want to donload data from the Pixhawk to a Solo UAV
Examples
## Not run:
## download recent telemetry log file from controller and convert it to gpx
soloLog(logFiles = "solo.tlog")
## download the last available logfile from the radio control
soloLog()
## download ALL logfiles from the radio control
soloLog(logFiles = "all")
## download ALL telemetry logfiles from the flight controller
soloLog(logSource = "pixhawk",logFiles = "all")
## download telementry logfile number 5 from the remote control
soloLog(logSource = "rc",logFiles = "5")
## End(Not run)