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

Initial cut on DJI HD FPV goggles support #5303

Merged
merged 6 commits into from Jan 14, 2020
Merged

Conversation

digitalentity
Copy link
Member

@digitalentity digitalentity commented Dec 31, 2019

DJI supports Betaflight's flavor of MSP protocol which is in many aspects different from INAV flavor. To avoid introducing more complexity to already complex MSP code (3500 lines long, very hard to follow) this PR creates a subset of DJI-compatible MSP API and exposes it via a dedicated serial function (enable via CLI with serial N 2097152).

In addition this PR introduces a new SBUS_FAST protocol (SBUS with 200k baud rate, corresponds DJI's fast serial link).

Still TODO:

  • GPS-related OSD elements (pending on DJI side)
  • PID tuning via goggles
  • Configurator support

This supersedes #5289. Also many thanks to @idavidstory for creating bridging the gap while I was arranging better collaboration with DJI folks.

@idavidstory
Copy link

Reviewed the code, it looks good.
Tested the code on my setup, it is working.

@digitalentity
Copy link
Member Author

I'm going to merge this at it's current state and address full support for PID/filter tuning in the following PRs.

@malarcky
Copy link

thanks so much for this, can we get a full list of the values that we can use with this?

@digitalentity digitalentity merged commit a2c485f into development Jan 14, 2020
@digitalentity digitalentity deleted the de_dji_hd_goggles branch January 17, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants