Scripting promote video-stream-information to an applet #28780
+318
−34
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.
This enhances the set_VIDEO_STREAM_INFORMATION.lua to make it usable without any code changes by at least some users. The script is also promoted to an applet
The purpose of this script is to give the AP_Camera library the information it needs so that it can send VIDEO_STREAM_INFORMATION mavlink messages to the ground station so that it can display the live video stream to the user
15 new parameters have been added prefixed with VID1_ that allow the user to set nearly all fields of the VIDEO_STREAM_INFORMATION but for most users all they will only need to set these six:
This has been successfully tested with the Siyi A8, ZR10 and ZT6 cameras and Mission Planner's new gimbal interface
Enhancements coming in future PRs: