Description Usage Arguments Value Examples
View source: R/ardupilot_log_functions.R
GPStimeToUTC
converts GPS time in weeks and milliseconds to UTC time
1 | gps.time.to.utc(GPSweek, GPSms, hrsDiff = 0, leapsec = 17)
|
GPSweek |
GPS week number - ardupilot log GPS message parameter (GWk) |
GPSms |
GPS time in milliseconds - ardupilot log GPS message parameter (GMS) - |
hrsDiff |
May set time difference in hours to UTC time of your location |
leapsec |
Time correction between GPS and UTC time in seconds |
Time in UTC time unless included hours difference argument
1 2 3 4 5 | gps_week <- 1923
gps_seconds <- 381765
gps_milliseconds <- gps_seconds * 1000
utc_time <- GPStimeToUTC(gps_week, gps_milliseconds)
utc_time
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.