我使用windows sdk。
我正在尝试使用以下方法获取gps数据:
var flightControllerHandler = _djiManagerInstance.ComponentManager.GetFlightControllerHandler(ProductIndex, ComponentIndex);
flightControllerHandler.AircraftLocationChanged -= QuadcopterOnAircraftLocationChanged;
private void QuadcopterOnAircraftLocationChanged(object sender, LocationCoordinate2D? value)
{
System.Diagnostics.Debug.WriteLine($"{System.DateTime.Now} LocationCoordinate2D (latitude, longitude) {value.Value.latitude} {value.Value.longitude}");
}
结果,我得到了不可理解的响应值:
12/7/2019 12:26:28 PM LocationCoordinate2D (latitude, longitude) -2.3595119079203E-11 ,-1.12286496566529E-11
12/7/2019 12:26:28 PM LocationCoordinate2D (latitude, longitude) -1.14848682613655E-11 ,2.82582976953522E-11
12/7/2019 12:26:28 PM LocationCoordinate2D (latitude, longitude) 7.99402048749395E-12 ,1.48245993485702E-11
12/7/2019 12:26:28 PM LocationCoordinate2D (latitude, longitude) 2.68203361390684E-11 ,-5.64203826991632E-13
12/7/2019 12:26:28 PM LocationCoordinate2D (latitude, longitude) 2.61363893300918E-11 ,-7.92238385763886E-12
我能把这些数据转换成GPS坐标还是得到真正的GPS坐标?