Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2017 #81 Should be possible to access it with JavaObject. Please start a new thread in the questions forum.
shb777 Active Member Licensed User Longtime User Aug 18, 2017 #82 if your interested in dji drone programming you definitely want to look at this page: https://www.b4x.com/android/forum/threads/dji-drones-ui-use-dji-widgets-in-your-app.81007/ Steve
if your interested in dji drone programming you definitely want to look at this page: https://www.b4x.com/android/forum/threads/dji-drones-ui-use-dji-widgets-in-your-app.81007/ Steve
shb777 Active Member Licensed User Longtime User Sep 7, 2017 #83 I'm getting many errors when trying to execute waypoint missions. More than 50% of the time. I notice in your waypoint mission project, you don't do anything if this fails. Code: Copy Wait For (WaypointOperator.StartMission) WaypointOperator_Result (Success As Boolean, ErrorMessage As String) Log("Start: " & Success & ", " & ErrorMessage) MissionState(True) Is this intentional, and have you gotten errors executing waypoint missions yourself? Three errors I'm getting are: the execution could not be executed error uploading: execution of this process timed out. error uploading: the system is too busy to execute the action
I'm getting many errors when trying to execute waypoint missions. More than 50% of the time. I notice in your waypoint mission project, you don't do anything if this fails. Code: Copy Wait For (WaypointOperator.StartMission) WaypointOperator_Result (Success As Boolean, ErrorMessage As String) Log("Start: " & Success & ", " & ErrorMessage) MissionState(True) Is this intentional, and have you gotten errors executing waypoint missions yourself? Three errors I'm getting are: the execution could not be executed error uploading: execution of this process timed out. error uploading: the system is too busy to execute the action
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2017 #84 Please start a new thread in the questions forum.
Erel B4X founder Staff member Licensed User Longtime User Jan 18, 2018 #85 DJI v4.41 is released. It requires B4A v8+ which wasn't yet released. It is based on the latest version of DJI SDK and it supports the new activation requirement. Note that if you are using it from China then the activation process is more complicated. Activation from China was not tested. A few changes are required: 1. Add to the manifest editor: Code: Copy SetApplicationAttribute(android:name, "anywheresoftware.b4a.objects.BaseApplication") 2. Add to main module: Code: Copy #AdditionalJar: dji-sdk-provided-4.4.1, ReferenceOnly 3. There is a new SDK_ActivationStateChanged event and SDK.ActivationState and SDK.AircraftBindingState properties. The aircraft should be activated automatically. Without activation the flight distance will be limited to 100 meters.
DJI v4.41 is released. It requires B4A v8+ which wasn't yet released. It is based on the latest version of DJI SDK and it supports the new activation requirement. Note that if you are using it from China then the activation process is more complicated. Activation from China was not tested. A few changes are required: 1. Add to the manifest editor: Code: Copy SetApplicationAttribute(android:name, "anywheresoftware.b4a.objects.BaseApplication") 2. Add to main module: Code: Copy #AdditionalJar: dji-sdk-provided-4.4.1, ReferenceOnly 3. There is a new SDK_ActivationStateChanged event and SDK.ActivationState and SDK.AircraftBindingState properties. The aircraft should be activated automatically. Without activation the flight distance will be limited to 100 meters.
DonManfred Expert Licensed User Longtime User Jan 18, 2018 #87 Claudio Oliveira said: B4A v8+? Click to expand... Erel said: It requires B4A v8+ which wasn't yet released. Click to expand...
Claudio Oliveira said: B4A v8+? Click to expand... Erel said: It requires B4A v8+ which wasn't yet released. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2018 #88 Developers who are already using B4A v8.0 can test the new library. I've previously wrote that it wasn't updated yet. I was wrong. V4.41 which is available in the first post is the updated library and should work properly.
Developers who are already using B4A v8.0 can test the new library. I've previously wrote that it wasn't updated yet. I was wrong. V4.41 which is available in the first post is the updated library and should work properly.
Roberto P. Well-Known Member Licensed User Longtime User Mar 14, 2018 #89 Hi I'm considering buying this DJI N1328 Phantom 4 Pro Plus drone and would like to understand if the libraries and examples of this post are compatible with this model? Given that it is the first drone I purchase, I wanted to know if anyone has already had experience with this model and what do you think? thank in advance
Hi I'm considering buying this DJI N1328 Phantom 4 Pro Plus drone and would like to understand if the libraries and examples of this post are compatible with this model? Given that it is the first drone I purchase, I wanted to know if anyone has already had experience with this model and what do you think? thank in advance
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2018 #90 It is supported. I'm using the Phantom 4 and it is a very nice product.
Roberto P. Well-Known Member Licensed User Longtime User Mar 14, 2018 #91 Erel said: It is supported. I'm using the Phantom 4 and it is a very nice product. Click to expand... great. Erel, excuse the inexperienced question! What integration can you do with an android system? What are the advantages of developing a drone application? thank you
Erel said: It is supported. I'm using the Phantom 4 and it is a very nice product. Click to expand... great. Erel, excuse the inexperienced question! What integration can you do with an android system? What are the advantages of developing a drone application? thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2018 #92 An Android or iOS device is connected to the flight controller and is used to control the drone. Instead of using DJI app you can a custom app. There are no advantages if you just want to fly it. You can however use it to implement more sophisticated solutions. Litchi is an example of an alternative app: https://play.google.com/store/apps/details?id=com.aryuthere.visionplus&hl=en
An Android or iOS device is connected to the flight controller and is used to control the drone. Instead of using DJI app you can a custom app. There are no advantages if you just want to fly it. You can however use it to implement more sophisticated solutions. Litchi is an example of an alternative app: https://play.google.com/store/apps/details?id=com.aryuthere.visionplus&hl=en
Roberto P. Well-Known Member Licensed User Longtime User Mar 14, 2018 #93 Erel said: An Android or iOS device is connected to the flight controller and is used to control the drone. Instead of using DJI app you can a custom app. There are no advantages if you just want to fly it. You can however use it to implement more sophisticated solutions. Litchi is an example of an alternative app: https://play.google.com/store/apps/details?id=com.aryuthere.visionplus&hl=en Click to expand... thank you
Erel said: An Android or iOS device is connected to the flight controller and is used to control the drone. Instead of using DJI app you can a custom app. There are no advantages if you just want to fly it. You can however use it to implement more sophisticated solutions. Litchi is an example of an alternative app: https://play.google.com/store/apps/details?id=com.aryuthere.visionplus&hl=en Click to expand... thank you
shb777 Active Member Licensed User Longtime User Mar 28, 2018 #94 Roberto P. said: Hi I'm considering buying this DJI N1328 Phantom 4 Pro Plus drone and would like to understand if the libraries and examples of this post are compatible with this model? Given that it is the first drone I purchase, I wanted to know if anyone has already had experience with this model and what do you think? thank in advance Click to expand... you should get a mavic pro platinum or wait for the new mavic pro 2. they fold up and are more portable.
Roberto P. said: Hi I'm considering buying this DJI N1328 Phantom 4 Pro Plus drone and would like to understand if the libraries and examples of this post are compatible with this model? Given that it is the first drone I purchase, I wanted to know if anyone has already had experience with this model and what do you think? thank in advance Click to expand... you should get a mavic pro platinum or wait for the new mavic pro 2. they fold up and are more portable.
PABLO2013 Well-Known Member Licensed User Longtime User Mar 29, 2018 #95 Greetings I wanted to know if the dji library was updated to the last sdk of dji thanks
DonManfred Expert Licensed User Longtime User Mar 29, 2018 #96 Is there a newer DJI Library (SDK) as 4.4.1?
PABLO2013 Well-Known Member Licensed User Longtime User Mar 29, 2018 #97 @Erel: I've previously wrote that it wasn't updated yet. I was wrong. V4.41 which is available in the first post is the updated library and should work properly I do not know ... but I understood that it had not been updated ... but I read this and I know that if it was updated ...
@Erel: I've previously wrote that it wasn't updated yet. I was wrong. V4.41 which is available in the first post is the updated library and should work properly I do not know ... but I understood that it had not been updated ... but I read this and I know that if it was updated ...
PABLO2013 Well-Known Member Licensed User Longtime User Mar 29, 2018 #98 Thank you, Mr. Manfred ... where the dji-sdk-4.4.1.aar file is located
PABLO2013 Well-Known Member Licensed User Longtime User Mar 29, 2018 #99 I found this http://central.maven.org/maven2/com/dji/dji-sdk/4.4.1/ http://central.maven.org/maven2/com/dji/dji-sdk-provided/4.4.1/
I found this http://central.maven.org/maven2/com/dji/dji-sdk/4.4.1/ http://central.maven.org/maven2/com/dji/dji-sdk-provided/4.4.1/
DonManfred Expert Licensed User Longtime User Mar 30, 2018 #100 PABLO2013 said: but I understood that it had not been updated Click to expand... before (the old one) it was V2.xxx
PABLO2013 said: but I understood that it had not been updated Click to expand... before (the old one) it was V2.xxx