Skip to content

Commit

Permalink
update 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dji-dev committed Nov 16, 2022
1 parent d5cd6b7 commit 1f43974
Show file tree
Hide file tree
Showing 146 changed files with 15,314 additions and 2,224 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# DJI Mobile SDK for Android V5 Latest Version 5.1.01
# DJI Mobile SDK for Android V5 Latest Version 5.1.1

[中文版](README_CN.md)

## Dear Developer

Since we have released the DJI Mobile SDK V5.1.0 Version, we have received lots of valuable feedback from our developers. Now we wish to collect the evaluation of this version from you. Your feedback will affect the roadmap of MSDK.
Since we have released the DJI Mobile SDK V5.1.1 Version, we have received lots of valuable feedback from our developers. Now we wish to collect the evaluation of this version from you. Your feedback will affect the roadmap of MSDK.
Please take your time to complete our survey: [MSDK V5.1.0 version release survey](https://docs.google.com/forms/d/e/1FAIpQLSfv1-gzmwoA8xOm1x8pC40TU3Kwi01DbNqN4d7fTnhZMAhbvA/viewform)

## What is DJI Mobile SDK V5?
Expand Down Expand Up @@ -108,7 +108,7 @@ For further detail on how to integrate the DJI Android SDK into your Android Stu

## AAR Explanation

> **Notice:** sdkVersion = 5.1.0
> **Notice:** sdkVersion = 5.1.1
| SDK package <div style="width: 150pt"> | Explanation <div style="width: 200pt"> | How to use <div style="width: 300pt">|
| :---------------: | :-----------------: | :---------------: |
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# DJI Mobile SDK for Android V5 最新版本 V5.1.0
# DJI Mobile SDK for Android V5 最新版本 V5.1.1

[English Version](README.md)

## 尊敬的开发者
自从我们发布了DJI Mobile SDK V5.1.0版本以来,我们从开发者那里收到了很多宝贵的反馈。为了提升您对MSDK的使用体验以及我们的服务质量,希望您抽出5分钟的宝贵时间,将真实的使用体验告诉我们,您的意见将影响未来MSDK的版本规划。
自从我们发布了DJI Mobile SDK V5.1.1版本以来,我们从开发者那里收到了很多宝贵的反馈。为了提升您对MSDK的使用体验以及我们的服务质量,希望您抽出5分钟的宝贵时间,将真实的使用体验告诉我们,您的意见将影响未来MSDK的版本规划。
[点击此处](https://www.wjx.cn/vm/PN67ouy.aspx)

## DJI Mobile SDK V5 是什么?
Expand Down Expand Up @@ -105,7 +105,7 @@ App模块:

## AAR说明

> **注意:** sdkVersion = 5.1.0
> **注意:** sdkVersion = 5.1.1
| SDK包 <div style="width: 150pt"> | 说明 <div style="width: 200pt"> | 使用方式 <div style="width: 300pt">|
| :---------------: | :-----------------: | :---------------: |
Expand Down
2 changes: 1 addition & 1 deletion SampleCode-V5/android-sdk-v5-as/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext {
deps.okhttp3 = 'com.squareup.okhttp3:okhttp:3.14.9'
deps.leakcanary = 'com.squareup.leakcanary:leakcanary-android:2.8.1'
deps.bugly = 'com.tencent.bugly:crashreport:4.0.4'
deps.rx2Java = 'io.reactivex.rxjava2:rxjava:2.2.4'
deps.rx2Java = 'io.reactivex.rxjava2:rxjava:2.2.4' // 目前在CSDK升级模块中使用rxjava2
deps.maplibreAnotation = 'org.maplibre.gl:android-plugin-annotation-v9:1.0.0'
deps.maplibreTurf = 'org.maplibre.gl:android-sdk-turf:5.9.0'
deps.maplibreSdk = 'org.maplibre.gl:android-sdk:9.4.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ class WayPointV3VM : DJIViewModel() {
fun cancelListenFlightControlState() {
KeyManager.getInstance().cancelListen(KeyTools.createKey(FlightControllerKey.KeyAircraftLocation), this)
}
fun getAvailableWaylineIDs(missionPath: String) : List<Int> {
return WaypointMissionManager.getInstance().getAvailableWaylineIDs(missionPath)

fun getAvaliableWaylineIDs(missionPath: String) : List<Int> {
return WaypointMissionManager.getInstance().getAvaliableWaylineIDs(missionPath)
}

private fun refreshFlightControlState() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,13 @@ class PerceptionFragment : DJIFragment(), CompoundButton.OnCheckedChangeListener
radarObstacleDataBuilder.clear()
radarObstacleDataBuilder.apply {
radarObstacleData?.apply {
append("\n").append("ObstacleDataForRadar:").append("\n")
append("horizontalObstacleDistance:$horizontalObstacleDistance").append("\n")
append("upwardObstacleDistance:$upwardObstacleDistance").append("\n")
append("horizontalAngleInterval:$horizontalAngleInterval").append("\n")

//65535为没有起飞的无效数据,直接过滤掉
if (upwardObstacleDistance != 65535) {
append("\n").append("ObstacleDataForRadar:").append("\n")
append("horizontalObstacleDistance:$horizontalObstacleDistance").append("\n")
append("upwardObstacleDistance:$upwardObstacleDistance").append("\n")
append("horizontalAngleInterval:$horizontalAngleInterval").append("\n")
}
}
}

Expand Down
Loading

0 comments on commit 1f43974

Please sign in to comment.