dji-sdk

How to listen to different UDP ports on the same address within the same process in Node.js

泄露秘密 提交于 2021-02-19 05:27:16
问题 I'm writing a Node.js app to control a small drone. Here are the instructions from the SDK: Use Wi-Fi to establish a connection between the Tello and PC, Mac, or mobile device. Send Command & Receive Response Tello IP: 192.168.10.1 UDP PORT: 8889 <<-->> PC/Mac/Mobile Step 1: Set up a UDP client on the PC, Mac, or mobile device to send and receive message from the Tello via the same port. Step 2: Before sending any other commands, send 'command' to the Tello via UDP PORT 8889 to initiate SDK

How to listen to different UDP ports on the same address within the same process in Node.js

谁说我不能喝 提交于 2021-02-19 05:26:07
问题 I'm writing a Node.js app to control a small drone. Here are the instructions from the SDK: Use Wi-Fi to establish a connection between the Tello and PC, Mac, or mobile device. Send Command & Receive Response Tello IP: 192.168.10.1 UDP PORT: 8889 <<-->> PC/Mac/Mobile Step 1: Set up a UDP client on the PC, Mac, or mobile device to send and receive message from the Tello via the same port. Step 2: Before sending any other commands, send 'command' to the Tello via UDP PORT 8889 to initiate SDK

Difference between DJI onProductChange and onProductConnect

心已入冬 提交于 2021-01-29 08:03:37
问题 Context I'm building a Flutter Plugin above the DJK SDK. For that, I have to implement the communication with the aircraft on the native side, and I'm doing it with Java. I'm also doing it only for Android. One of the methods of the API is boolean connectToAircraft() , which must return if the connection with the aircraft succeeded. Expected/current behavior After I call connectToAircraft() - which invokes the DJISDKManager.getInstance().startConnectionToProduct() method, I expected to be

DJI VideoFrameYUV to CIImage conversion

时光毁灭记忆、已成空白 提交于 2021-01-29 07:10:45
问题 I have problem with VideoFrameYUV to CIImage conversion. I have tried HW accelerated method with: CVPixelBufferRef pixelBuffer = frame->cv_pixelbuffer_fastupload; CIImage *ciImage = [CIImage imageWithCVPixelBuffer:pixelBuffer]; but CIImage is always NULL . I have tried SW way: CVPixelBufferRef pixelBuffer = NULL; CVReturn resulst = CVPixelBufferCreate(kCFAllocatorDefault, frame-> width, frame -> height, kCVPixelFormatType_420YpCbCr8Planar, NULL, &pixelBuffer); if (kCVReturnSuccess !=

moveByPositionOffset does not work properly on z axis

妖精的绣舞 提交于 2020-04-18 07:11:06
问题 We have some issues using the moveByPositionOffset method provided by the Onboard-SDK v.3.9. In particular, the issues arise when moving along the z axis. For example, last week we tried to execute the following monitoredTakeOff(vehicle); moveByPositionOffset(vehicle, 0, 0, 30, 0); At the end of the simulation the WorldZ showed us a value of about 7.5 meters, if I remember correctly. In previous simulations we tried to move only on the xy plane and all seemed to work fine. We are working with

Is the DJI Windows 10 SDK UWP-specific?

百般思念 提交于 2020-03-23 12:07:20
问题 Does anyone know if the DJI Windows 10 SDK is specific to UWP, or can it be used in any .Net Core application? UWP is restrictive when it comes to interprocess communications, which limits sharing telemetry and video with pre-existing (non-UWP) applications. Just thought I'd ask the community before spending my client's money investigating. 来源: https://stackoverflow.com/questions/54594976/is-the-dji-windows-10-sdk-uwp-specific

DJI A3 Onboard SDK problem (No connection)

狂风中的少年 提交于 2020-03-05 05:33:05
问题 I have a DJI S900 with A3 controller. I established the API connection between the Raspberry Pi and the drone. Until last week everything has been perfect, but now, I am taking the error shown below (I am running the telemetry example). There is no problem related to the serial cable and Raspberry Pi. Also, SDK is enabled, and API settings are correct. I reset the controller and upgraded it. However, I have the same error. Also, I tried many times turning everything off and back on again

DJI A3 Onboard SDK problem (No connection)

拜拜、爱过 提交于 2020-03-05 05:32:28
问题 I have a DJI S900 with A3 controller. I established the API connection between the Raspberry Pi and the drone. Until last week everything has been perfect, but now, I am taking the error shown below (I am running the telemetry example). There is no problem related to the serial cable and Raspberry Pi. Also, SDK is enabled, and API settings are correct. I reset the controller and upgraded it. However, I have the same error. Also, I tried many times turning everything off and back on again

DJI A3 Onboard SDK problem (No connection)

余生颓废 提交于 2020-03-05 05:32:05
问题 I have a DJI S900 with A3 controller. I established the API connection between the Raspberry Pi and the drone. Until last week everything has been perfect, but now, I am taking the error shown below (I am running the telemetry example). There is no problem related to the serial cable and Raspberry Pi. Also, SDK is enabled, and API settings are correct. I reset the controller and upgraded it. However, I have the same error. Also, I tried many times turning everything off and back on again

Custom coordinates on Follow me Mission DJI Mobile SDK for android

二次信任 提交于 2020-01-25 01:01:31
问题 Is it possible to feed DJI Mobile API's Follow Me Mission custom coordinates? I am developing on the'Phantom 3 Advanced'. For example: Double Lat = 33.8943; Double Lon = 32.0993; DJIFollowMe(Lat, Lon){ // Execute the follow me mission } 回答1: Yes, the following is an example: DJIFollowMeMission.updateFollowMeCoordinate(latitude, longitude, new DJICommonCallbacks.DJICompletionCallback() { @Override public void onResult(DJIError djiError) { } }); 来源: https://stackoverflow.com/questions/43291644