     var currentAltitude: Float = 0 //meters
     var currentPressure: Float = 0 //kPa
     var currentLocation:CLLocationCoordinate2D = CLLocationCoordinate2D()
-    var x: Double = 0, y: Double = 0, z: Double = 0
     
     var last_dialog_response: String?
     var last_choice_response = 0

        self.view_controller = view_controller
        super.init()
        if (CLLocationManager.locationServicesEnabled()){
            locationManager.delegate = self
            locationManager.desiredAccuracy = kCLLocationAccuracyBest
            locationManager.requestWhenInUseAuthorization()
            locationManager.startUpdatingLocation()
        }
        
        if(CMAltimeter.isRelativeAltitudeAvailable()){

                }
            })
        }
		if self.motionManager.isDeviceMotionAvailable {
			self.motionManager.startDeviceMotionUpdates()
		} else if(self.motionManager.isAccelerometerAvailable) {
			self.motionManager.startAccelerometerUpdates()
		}
	}
	
    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
        currentLocation = manager.location!.coordinate
    }
