How to download waypoints from drone to Onboard-SDK? - dji-sdk

My use case is the following: I would like to retrieve waypoints set from a third party app in OnBoard SDK.
For the moment, I tried to set waypoints thanks to Altizure. Everything works just as expected in DJI PC Assistant 2 simulator. But I don't get the waypoints in OnBoard SDK (I am using ROS package to be more precise).
Is there some kind of way of requesting waypoints download in OnBoard SDK ?
Thanks

Related

Is DJI Windows SDK compatible with RC1B remote controller and Mavic 2 Pro?

I'm trying to run the FPV demo application of the DJI Windows SDK tutorials, as shown here, I'm able to launch it but it doesn't show the image of the mavic's camera, I'm using the mavic 2 pro with a controller model RC1B. I followed the guidelines described here but it still doesn't work.
I have read in some posts that this kind of controller is not compatible with DJI Mobile SDK, does anyone know if it is the same for the DJI Windows SDK? If so, is there a way to develop an application to control the mavic 2 pro programmatically?
Thanks in advance.

How to control the Mavic 2 pro using the Virtual Controller from Windows SDK

I developed an application using DJI Windows SDK to control a Mavic 2 Pro. I manged to get all the data from the drone but when I tried to send commands to the drone through the VirtualRemoteController nothing happens
The set up is the following. I first send the command to auto-take off from my Windows app, which does it without out problems. Then, I give a position to move on my app. All the calculations are done as I expected but the drone continues hovering despite the values that I am sending are different of 0 and are on the range [-1,1].
I am getting an instance of the virtual remote controller as it follows:
VirtualRemoteController virtualController = DJISDKManager.Instance.VirtualRemoteController;
Then, I use the following command to send the movement that I want to execute:
virtualController.UpdateJoystickValue(throttle,roll,pitch,yaw);
throttle, roll, pitch and yaw are values between [-1,1]
This API is only supported for DJI aircraft that have a "WIFI-only" capability.
It is available for the Mavic Air for the Windows SDK.
The Mavic Pro supports Wifi but the Windows SDK does not support the Mavic Pro.
None of the Mavic 2 models support wifi.

DJI SDK iOS APP Telemetry

I am trying to get the IMU data from sensors to read out to the DJI UXSDKDemo App. The app is functioning, but I cannot figure out how to change the UI of the app such that the IMU data is printed out to the iOS device. Where would I begin to do this?
Thanks
Have you explored the api for Preflight Checklist?

which devices support the DJI mobile SDK?

https://developer.dji.com/mobile-sdk/documentation/introduction/product_introduction.html#Supported-Products
what does the "-" mean?
Does it mean that spark, mavic can not be accessed and controlled by mobile SDK?
The "-" is for the accessories list (not applicable on the specified products).
Spark and Mavic are definitely supported by the mobile SDK.
You can control drone directly with mobile SDK.
You can use virtual stick input for this. It allows to send 4 axis valus to copter: pitch, roll, yaw, throttle.
You can find some information about this in Simulator tutorial.
Virtual sticks documentation
obstacle avoidance can be turned on and off throug SDK calls. (look at Flight Assistant)

Does DJI Mobile App iOS SDK give access to all the features available in DJI GO App?

I have an app that captures photos, add some additional details and send the images to my server that is currently used in an enterprise setup. I would like to add DJI Framework so the images captures thru the drone (thinking of Phantom 3) go thru the same workflow.
I DO NOT want the user to use 2 different apps (DJI GO to control the drone and capture photos) and our custom app to (import from DJI) and upload the photos to server. Would rather have everything as part of my custom App.
In the DJI SDK, most of the features are supported in the framework. Also, there is a sample app which is involved in the framework. I suggest to go through the code and find out which feature you want to use and implement in your app. Technically, you could implement you own 'DJI Go App' except some of features which require respond from DJI Sever.
You are trying to make custom image manipulation after recording the images from DJI drone
Following are the steps you have to consider for the app
Use DJI SDK for image capture
After capturing the image is finished then manipulate the images using OpenCV framework.
Post the data to server
You can also follow tutorial provided by them:
https://developer.dji.com/mobile-sdk/documentation/ios-tutorials/PanoDemo.html

Resources