         print("starting reconition process")
         
     }
-
+    
     func stopRecording(){
         //Stop recording user
         sksTransaction!.stopRecording()

        
    }
    func checkProductConnected() {
        //Display conneciton status
        if ConnectedProductManager.sharedInstance.product != nil {
            connectionStatus.text = "Connected"

                if CLLocationCoordinate2DIsValid(commLoc) {
                    let commWayPoint: DJIWaypoint = DJIWaypoint(coordinate: commLoc)
                    commWayPoint.altitude = ALTITUDE
                    self.mission.add(commWayPoint)
                }
                
                // 5 mission paramenter always needed
                self.mission.maxFlightSpeed = 2
                self.mission.autoFlightSpeed = 1
                self.mission.headingMode = DJIWaypointMissionHeadingMode.auto
                self.mission.flightPathMode = DJIWaypointMissionFlightPathMode.curved
                mission.finishedAction = DJIWaypointMissionFinishedAction.noAction
                
                //prepare mission
                prepareMission(missionName: self.mission)
            }
        }
    }
