[DJI] Add ESC telemetry support and additional configuration parameters to DJI OSD #6287
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(1) This PR enables support for ESC temperature in DJI OSD.
(2) It's possible to re-purpose ESC temperature element to show IMU or BARO temperature using
dji_esc_temp_source
config parameter.(3) DJI OSD uses non-compliant
MSP_ESC_SENSOR_DATA
message in firmware 1.00.06. We havedji_workarounds
parameter to account for that. If DJI suddenly fixes theMSP_ESC_SENSOR_DATA
format to align with Betaflight, we can usedji_workarounds
to revert the change without having to do an emergency patch release.(4) New parameter
dji_use_name_for_messages
additionally guards the possibility to re-purpose the craft name field to show warnings and other useful info. Craft name is expected to be in format:WTSED
where each individual letter stands for a different message type: