Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get the Video to work on the latest platform #34

Open
The1only opened this issue Dec 27, 2019 · 8 comments
Open

Can not get the Video to work on the latest platform #34

The1only opened this issue Dec 27, 2019 · 8 comments

Comments

@The1only
Copy link

The1only commented Dec 27, 2019

I was able to update all libraries to the latest, and thus add support for the latest DJI Drones.
However with MobileSDK 4.10 4.111 and 4.11.1 I can only get the telemetry to work.
I have sniffed deep in to the code, but there must be some changes that I can't get.
I am able to run the DJI Mobile SDK video demo just fine, but not inside rosettadrone.

Any one else have tested this?

I was able to get QGround control, mavproxy, and drone kit (python based) to work all at the same time, enabling me to write python scripts to fly the Mavic Pro 2 drone. But can't get video.

@The1only
Copy link
Author

The1only commented Feb 8, 2020

I got the entire project updated to DJI SDK 4.11.1, Androidx, the new DJI SDK Video system, all libraries, and Gradle is at the latest stage... I need a few more days to make it stable, the job took me 8 weeks... but then I am no expert.
Question is, I forked the project while working on it, the changes are quite substantial. Do you want me to merge back?

https://github.com/The1only/rosettadrone

@sdowhy
Copy link
Collaborator

sdowhy commented Feb 10, 2020

Hey @The1only , that's awesome to hear! Unfortunately we don't work on this project anymore, which means I was never able to finish the updated version for you guys. My advice would be keep it as a fork as I do not have time to do a code review, though maybe this will change somewhere down the road.

@The1only
Copy link
Author

OK I will, just to let you know the code now work with DJI Mavic Pro 2, Thanks for a great job originally.

@The1only
Copy link
Author

Did you ever write a final status report? I am now at the stage that I am in the air, I can take-off but then I got some issues, So I wonder how far you ever got? Did you fly missions? did you fly Dronkit scripts?

@sdowhy
Copy link
Collaborator

sdowhy commented Feb 21, 2020

Sure. So here's kinda the status of things we were testing with internally (not released on here, but we were in the process of being added before having to deprecate support due to other projects):

Upgrade to 4.10 SDK
Support for newer versions of android
Cleanup of redundant/un-needed/messy compiled dependencies
Full waypoint mission support (including robust workarounds for DJI SDK restrictions)
Multiple simultaneous telemetry feeds
A more robust video pipeline which includes KLV metadata encoding, multicast support.
Video displayed inside RosettaDrone.
Additional configuration options for DJI specific features (like LEDs, etc).

I'll see if it's possible to get this version cleaned up and released before I leave my current position in 2 weeks, but it's unlikely.

@The1only
Copy link
Author

I got it over to 4.11.1 and the latest Android(x), the video part is allmost totally rewritten, video display innside Rosettadrone is added (mandatory with the new sdk). It was quite a job, there ate several bugs and workarounds neede to be handled. Also the Mavlink is uppdated, and I am about to add the DJI simulator. Also the new DJI login/register page is added...
I got issues with waypoint flying and dronekit flying. I can takeoff from QGC but not fly around.

@The1only
Copy link
Author

Sorry, I created a PR to the wrong master, just ignore it. My mistake.

@The1only
Copy link
Author

If you just reject my PR I will delete it and not do the mistake again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants