Cheers I wanted to know if anyone has experienced this error and how it could be solved, thanks
I have used this example, only changing the coordinates
I have used this example, only changing the coordinates
DJI Drones
DJI Drones are very popular and advanced drones. DJI provides an Android app that is used during flights to control the drone. The Android device connects to the remote controller with a USB cable (USB debug mode should be enabled). DJI are also providing a feature-rich SDK that allows us...
www.b4x.com
B4X:
Registro conectado a: ZE222M837T
--------- beginning of crash
--------- beginning of system
--------- beginning of main
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
SDK_BindingStateChanged: UNKNOWN
Aircraft disconnected!
Activation state changed: UNKNOWN
SDK_BindingStateChanged: UNKNOWN
Aircraft disconnected!
onProductChanged: None
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7161)
at android.view.View.performClickInternal(View.java:7133)
at android.view.View.access$3500(View.java:804)
at android.view.View$PerformClick.run(View.java:27416)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
Product disconnected
PackageAdded: package:com.avalpro.dji.sdk.sample
**************************** BaseApplication2 **************************
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
sdk version: 4.16
Registered successfully!
activation state: UNKNOWN
binding state: UNKNOWN