Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:29
    addriumruss opened #652
  • Oct 23 13:58
    DJI-Jerry commented #651
  • Oct 23 13:21
    DJI-Colin synchronize #651
  • Oct 23 13:19
    DJI-Colin opened #651
  • Oct 22 10:23
    DJI-Jerry closed #650
  • Oct 22 10:23

    DJI-Jerry on master

    fix:lock the decoding process … Merge pull request #650 from DJ… (compare)

  • Oct 22 10:22
    DJI-Jerry opened #650
  • Oct 22 04:53

    DJI-Jerry on master

    fix:fix running crush issue whe… Merge pull request #649 from DJ… (compare)

  • Oct 22 04:53
    DJI-Jerry closed #649
  • Oct 22 04:52
    DJI-Jerry opened #649
  • Oct 21 03:48
    dangviethieu closed #645
  • Oct 21 03:48
    dangviethieu commented #645
  • Oct 19 18:57
    wstefan20 commented #445
  • Oct 19 12:59
    lorenzave commented #615
  • Oct 19 12:54
    kair8m commented #615
  • Oct 19 12:54
    kair8m commented #615
  • Oct 19 07:25
    Caufmann commented #640
  • Oct 19 05:31
    dji-dev commented #648
  • Oct 19 02:07
    dji-kyle commented #634
  • Oct 16 12:47
    deadman2000 opened #648
Andre Nguyen
@andre-nguyen
Huh can you elaborate as to the use case of such a feature?
Rohit Sant
@rohitsantdji
It's useful for syncing your OES clock to the flight control clock - you could use this feature to sync the flight control timestamp with ROS timestamp, for example.
Andre Nguyen
@andre-nguyen
Does anyone here have experience with the transparent data link? I'm having trouble getting anything close to the upstream bitrate, the stream seems to die out after about 5 seconds.
Ivan Lozano
@ivanovishX_twitter
Hi guys, hey I need some help using the DJI::Onboard SDK have you been using the Followme APIs ? I'm getting a error starting to follow the target about Bad GPS connection 0XD8, cheers
Nithin Reddy Gaddam
@nithinreddygaddam

Our Hardware:

Drone - Matrice 600
RC controller - DGI - GL 858A connected through LightBridge 2
Flight Controller - A3
OES - Intel NUC 5i5RYK running ROS
Mobile - iOS
Camera connected to Gimbal

Problem:

We are trying to move the images captured from the Camera's SD card to the OES

Current architecture:

The onboard SDK doesn't allow to transfer of images from camera to the OES but only allows it to control the camera and take pictures. We are able to download the images to the Mobile but we need to move the images to the OES file system. The only way I can communicate to the OES is through the mobile SDK which restricts me to send 100bytes of data in a 1kb/s connection. This will take forever to upload the images to the OES.. Is there any alternative solution for this?

Arjun Menon
@amenonDJI
@nithinreddygaddam This is not supported currently - You cannot directly transmit data into your NUC OES. You could setup a Wifi receiver on the OES side and transmit video frames via Wifi, although this is not officially supported.
Nithin Reddy Gaddam
@nithinreddygaddam
@amenonDJI won't that interfere with the rc controller and flight controller wifi connection?
chukcha2
@chukcha2
@amenonDJI , could you please elaborate on using wifi to transmit video frames? Would I (theoretically, as a non supported feature) be able to send non video data? Is this done using mobile or/and onboard SDK?
Rohit Sant
@rohitsantdji

@nithinreddygaddam the RC and Flight controller are not communicating over Wi-Fi, they are communicating over the proprietary 2.4GHz LightBridge 2 link. You should be okay setting up a parallel Wi-fi network, though as @amenonDJI said we do not test or support this kind of setup.

@chukcha2 the wi-fi connection being discussed is not in any way related to DJI SDK - you would basically use Wi-Fi to get both the OES and the mobile on the same network, and figure out a way to transfer files between them. Thus it could be any kind of data. You will have to either get a powerful Wi-fi AP (something like http://www.tp-link.com/en/products/details/cat-5039_CPE510.html) or bring the drone close to the RC at the times when you need to transfer data.

Alexandre Borowczyk
@AlexandreBorowczyk
@chukcha2 We had great success ubiquiti products as well https://www.ubnt.com/unifi/unifi-ap-outdoor/
Leman FENG
@flm8620
Does anyone noticed the thread-safety problem in C++ example of Onboard-SDK? dji-sdk/Onboard-SDK#67
Justin Tuchek
@justintuchek
Hi - I am new to gitter, would somebody who has access/privilege be able to make an room for Mobile-SDK?
Rohit Sant
@rohitsantdji
@/all OSDK Devs: Time to vote! What would you rather have: (1) Continued support for low-power, low-cost embedded systems (STM32) or (2) OS-only SDK (Linux, ROS) that allows us to unify the SDK, add better support for thread safety, logging, cleaner architecture and fundamentally more capabilities (thanks to additional native libraries)?
Rohit Sant
@rohitsantdji

Also, check out OSDK 3.1.9, released last week. Adds a powerful new module - precision trajectory mission planning (uses advanced trajectory planning and control algorithms to execute geolocated trajectories). The precision trajectory feature has a slick interface for planning trajectories in the form of a SketchUp plugin that allows you to plan and visualize trajectories, and also observe the drone execute them in simulation. You can also import geo-located scenery to get a sense of the real execution of the trajectory. You can specify time intervals for pictures along the trajectory, and video can be captured as well.

Another thing we have added is the ability to record, in real time, Velodyne Puck LiDAR data into the popular LAS file format, standardized by the ASPRS and heavily used in the GIS, geo-informatics and surveying industries.

This release, as usual, comes with numerous additions and improvements to the core OSDK libraries - CMake support, Vagrant-based VMs for quick prototyping, threaded callbacks and camera/gimbal snippets in the Linux sample (as well as interfaces for all our new features) are just some of the additions to the SDK. Give it a spin! :smiley:

Justin Tuchek
@justintuchek
2!
geetesh
@geetesh
2 :D
Andre Nguyen
@andre-nguyen
2
I didn't even know people bothered with (1)
Alexandre Borowczyk
@AlexandreBorowczyk
definitively # 2
chukcha2
@chukcha2
2
3.1.9 looks like a big step in the right direction in terms of code organization/documentation. thank you.
Andre Nguyen
@andre-nguyen
We did this with the onboard-sdk ;)
Rohit Sant
@rohitsantdji
That looks great! :thumbsup:
Shengwei Ren
@XiaoR
hi guys, do anyone here know how to verify if the blocking api call timeout or return ACK succfully?
in my program, even if the blocking api call is timeout, i get the ack == 0 which also means it succeeds
Rohit Sant
@rohitsantdji
@XiaoR answered in your post on the DJI forum
Allan Matthew
@almatthew
Has anyone run into this error? ERROR validateSerialDevice,line 118: Failed to read from serial device. The Onboard SDK is not communicating with your drone.
I'm running an Ubuntu 16.04 image in a VM with an FTDI USB->serial converter that talks to an M100 UART
A couple others have the same problem: http://forum.dev.dji.com/thread-32834-1-1.html
I was previously able to communicate with the M100 using the Onboard-SDK demo applications, but I'm no longer ever able to communicate
I did a bit of digging and it appears that the serial read() is returning 0 bytes in LinuxSetup.cpp, which triggers that error. I know that I'm getting data over the serial line though, as I can connect minicom to the port and see data streaming in
Rohit Sant
@rohitsantdji

@allanm84 A USB->Serial converter will report that it is connected even if the UART end is left open. To avoid false positives, we have an additional check (validateSerialDevice) that looks at the broadcast data on the line. If it does not receive any data on the line it will return this error. In our tests, this check has proven to be quite robust.

A few questions: (a) What VM are you using? (b) Can you post a minicom log? I assume minicom is running on the same VM, is that right? (c) What baud rate are you trying comms at?

Rohit Sant
@rohitsantdji
@/all PSA: if you are having the std::runtime_error after cloning the 3.1.9.1 hotfix release and are using an M100, please revert to the 3.1.9 release. There is no functional difference between the 3.1.9 and the 3.1.9.1 releases for the M100 and for A3 units running FW 1.3.0.0 or below. We will fix the runtime error in an upcoming release. Apologies!
Rohit Sant
@rohitsantdji
UPDATE: The error has been fixed temporarily, so you can simply pull from gitHub to make it go away.
Allan Matthew
@almatthew
@rohitsantdji Thank you that fixed it!
YAM
@WindyYam
The dji phantom 4 pro is now available, does the old sdk appliable for this ? or should i wait for the new release?
Rohit Sant
@rohitsantdji

Great, that's good to know @allanm84.

@YamZYang Sorry, the P4 Pro does not support the Onboard SDK. If you are looking for Mobile SDK support, a future release of the iOS and Android SDKs will add support for the P4 Pro.

Allan Matthew
@almatthew
Is the only way to determine if the drone is armed trying to arm it and waiting for the ack? Or is the armed state somewhere in the broadcast data?
Allan Matthew
@almatthew
Is that also true of the flight mode (p/a/f)?
Aman Singh
@taurean1192
I am facing issues of target dependency not found in cmake for Onboard SDK Linux v3.2
anybody found a solution to these?
newtoniant
@newtoniant
What IDE are people using for the onboard SDK and STM32? The DJI docs say to use Keil uVision, however the SDK and example code compiles to way over the 32K free limit, and I've had difficulty compiling it with Atollic IDE. Suggestions?
Justin Huntington
@Corusco
I'm working on activating a recently purchased A3 FC to be used with the OSDK with ROS. I've been able to get past the SDK version bug by modifying the versionA3_32 const in DJI_Version.h, but now seem to be stymied by not being able to activate without some sort of connection to DJI GO to rectify the New device error. Using Lightbridge was not among our RC options. I also have the A3 connected to DJI Assistant 2 running on Mac. I had seen some thread about it being possible using Assistant running on a PC. Is this true? Are there any other ways to activate without a Lightbridge?
Javier Gutierrez
@comgeek
how to display Telemetry data with DJI Onboard SDK in the Linux example
Eduardo Cordeiro
@EduardoCordeiro
Hello. I have recently acquired a Matrice M100 and I am curently experience the error: "ERROR validateSerialDevice,line 118: Failed to read from serial device. The Onboard SDK is not communicating with your drone."
The same @allanm84 was complaining about.
It is my first time using an M100 and I cant seem to run any of the linux applications. Current Setup is a Linux Machine running 16.04 and a Windows 10 Machine for the DJI assistant connected over UART/TLL and Micro-Usb
I also did the command: sudo usermod -a -G dialout $USER
Rohit Sant
@rohitsantdji
@Corusco The non-Lightbridge activation is a work in progress. The next firmware release should offer a fully functional assistant-based method for activation - but the next firmware release will likely be toward the end of March. Apologies for the inconvenience.
@comgeek The linux sample app does not currently offer an example of telemetry data - however it is very easy to do. Modify the Linux sample and add a call to getBroadcastData(); The returned data structure should have all the telemetry data you enabled in DJI Assistant 2's SDK page. Call this in a loop to get it at some desired frequency.