..
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.mogo.eagle.core.function.call.autopilot
|
||||
|
||||
import android.util.*
|
||||
import androidx.annotation.Nullable
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo
|
||||
@@ -67,18 +66,14 @@ object CallerAutoPilotStatusListenerManager : CallerBase() {
|
||||
* 获取当前时刻WGS84 lat
|
||||
*/
|
||||
fun getCurWgs84Lat(): Double {
|
||||
val locationLat = mAutopilotStatusInfo.locationLat
|
||||
Log.d("GO", "wgs84_lat:" + locationLat)
|
||||
return locationLat
|
||||
return mAutopilotStatusInfo.locationLat
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前时刻WGS84 lon
|
||||
*/
|
||||
fun getCurWgs84Lon(): Double {
|
||||
val locationLon = mAutopilotStatusInfo.locationLon
|
||||
Log.d("GO", "wgs84_lon:" + locationLon)
|
||||
return locationLon
|
||||
return mAutopilotStatusInfo.locationLon
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user