dji-sdk

DJIWidget compilation breaks on Xcode 10

喜你入骨 提交于 2020-01-15 10:36:28
问题 I just uploaded to Xcode 10 and the compilation of my app that is using the DJI Mobile SDK doesn't work anymore. The error message comes from the DJIWidget module. I remember seeing a message similar to this one on Xcode 9.3 but it was only a warning. The error message is this one: Showing Recent Messages :-1: Multiple commands produce '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework

Image binary interpretation: unknown image format

℡╲_俬逩灬. 提交于 2020-01-11 14:27:08
问题 Let's say I've got an image of some format (its binary representation, say, cv::Mat from OpenCV or YuvImage from Android, not compressed), and interpreted its data as YUV NV21 (well, this was in example provided by DJI SDK, pretty much it). Here's what I've got: From this, I assume that original format is NOT NV21. YUV2? RGB888? RGB32? Some other stuff? How would one guess what's the original format of the binary data? If that'll help, frame is taken from DJI drone stream. 回答1: The YUV image

Replace the camera stream in a Wikitude ArchitectView with an external video stream

对着背影说爱祢 提交于 2019-12-25 08:34:00
问题 I'm working on an Android mobile app oriented to the real time augmented visualization of a drone's camera view (specifically I'm working on a DJI Phantom 3 Professional with relative SDK). I'm using Wikitude framework for the AR part. Every Wikitude sample works by augmenting the smartphone's camera view, so I need to redirect the input video stream. At this stage, by using the DJI SDK features, I have a TextureView object containing the correctly decoded stream coming from the drone. The

How to send data from USB device to DJI SDK?

ε祈祈猫儿з 提交于 2019-12-25 00:17:53
问题 So this might be a bit basic of a question, but I don't have much experience on the hardware side of things. I am using DJI Android Mobile SDK to communicate with a M600 flight controller and have a FTDI CU/TTY device I am trying to send info back and forth. This successfully works to send "Hello World" to my USB device: //sends data to onboard sdk device final byte[] helloWorld = "HelloWorld".getBytes(); mFlightController.sendDataToOnboardSDKDevice(helloWorld, new CommonCallbacks

Cannot Compile the DJIWidget for Mobile-UXSDK-iOS

馋奶兔 提交于 2019-12-24 20:32:48
问题 I am trying to compile DJIWidget using Xcode 10.1. The purpose is to run the Mobile-UXSDK-iOS Sample found on github. If i use the New Build System (File->Workspace Settings) I get the following error: Ld /Users/paolo/Library/Developer/Xcode/DerivedData/UXSDKSwiftSample-haeixzppsjyygmdsdkydxxpnpsvw/Build/Products/Debug-iphonesimulator/DJIWidget/DJIWidget.framework/DJIWidget normal x86_64 (in target: DJIWidget) cd /Users/paolo/Documents/Projects/Mobile-UXSDK-iOS/Sample\ Code/SwiftSampleCode

DJI OSDK and OSDK-ROS 3.7 and 3.8 bug demo_flight_control take off and halt

谁都会走 提交于 2019-12-24 19:39:56
问题 I`m facing issue that with OSDK-ROS 3.7 and 3.8, I could not run demo_flight_control sample correctly After api auto taking off in the simulator, the drone just stuck there. And there is command being published to the flight_control ENU topic. The GPS based demo_mission has no issue. It can auto fly to the coordinate. The hardware and firmware version I`m using is STATUS/1 @ parseDroneVersionInfo, L729: Hardware = A3 STATUS/1 @ parseDroneVersionInfo, L730: Firmware = 3.3.8.47 The minimal

Tello Edu Drone: How to Capture Image with Python Codes

隐身守侯 提交于 2019-12-24 19:23:17
问题 I am a beginner learning to program a drone, called Tello. I am trying to capture an image with it. I have got the manual. In the manual, there is no option for capturing image with the drone. Only recording video is mentioned there. How can I capture the image with Python codes with the drone? Here are the codes of tello.py file: # This code is adopted from https://learn.droneblocks.io/p/tello-drone-programming-with-python/ # Import the necessary modules import socket import threading import

Custom Follow Me Mission DJI Android SDK

岁酱吖の 提交于 2019-12-24 18:14:12
问题 I am trying to create a FollowMeMission using the DJI Phantom 4 by providing custom coordinates, similar to this post Custom coordinates on Follow me Mission DJI Mobile SDK for android My current code looks like this: private double lat = 48.5561726; private double lng = 12.1138481; private float initHeight = 10f; private LocationCoordinate2D location; if (getFollowMeMissionOperator().getCurrentState().toString().equals(FollowMeMissionState.READY_TO_EXECUTE.toString())){

Remove GPS on matrice 100

泪湿孤枕 提交于 2019-12-23 04:06:31
问题 With my team we are programming indoor flight for the matrice 100, and we don't have the use of the GPS. Is it possible to remove it? And sometimes at the floor level we have electromagnetic problems, and the drone refuses to turn on the rotors, are they any way to force it ? We use guidance, and I have noticed even without GPS and with electromagnetic interference the drone is stable. 回答1: As of Mar 2018, on ALL DJI drones you need to have at least the compass connected in order to start

DJI iOS SDK downloading multiple images programatically. Camera busy after first download

浪子不回头ぞ 提交于 2019-12-13 05:49:51
问题 Here is my actual code below. It always downloads the first image fine, but gives "Camera is busy or the command is not supported in the camera's current state". I tried with the solution proposed by How to programmatically download Images from drone using the IOS DJI-SDK I have been struggling with this for the past 10 days and tried all sorts of combination with triggering in async queue etc. but no success. Though DJI samples have a lot of code, they all focus on single download and