       
       UserDefaults.standard.removeObject(forKey: key)
       
-      SVKServer.post(url, paras: userInfo) { _, _, error in
+      SVKServer.post(url, paras: paras) { _, _, error in
         if let error = error {
           SGKLog.debug("TKReporter", text: "Planned trip encountered error: \(error)")
           completion?(false)

    ]
    
    sample["speed"]   = speed  >= 0 ? speed : nil
    sample["beraing"] = course >= 0 ? course : nil
    return sample
  }
  
}


    let key = "TKReporterLatestPlannedURL"
    UserDefaults.standard.set(url, forKey: key)
    
    var paras = userInfo
    paras["choiceSet"] = trip.request.choiceSet
    
    DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 5) {
      
      // Only report if url is still the last one planned
