AP_Scripting: set-video-stream-info encoding binding and docs

This commit is contained in:
Randy Mackay 2024-11-15 08:26:31 +09:00
parent 6f6613fefd
commit 3325bdd7df
2 changed files with 9 additions and 0 deletions

View File

@ -1686,6 +1686,14 @@ function mavlink_video_stream_information_t_ud:uri(index) end
---@param value integer
function mavlink_video_stream_information_t_ud:uri(index, value) end
-- get field
---@return integer
function mavlink_video_stream_information_t_ud:encoding() end
-- set field
---@param value integer
function mavlink_video_stream_information_t_ud:encoding(value) end
-- Populate the fields of the VIDEO_STREAM_INFORMATION message
---@param instance integer
---@param stream_info mavlink_video_stream_information_t_ud

View File

@ -826,6 +826,7 @@ userdata mavlink_video_stream_information_t field count uint8_t'skip_check read
userdata mavlink_video_stream_information_t field type uint8_t'skip_check read write
userdata mavlink_video_stream_information_t field name'array 32 uint8_t'skip_check read write
userdata mavlink_video_stream_information_t field uri'array 160 uint8_t'skip_check read write
userdata mavlink_video_stream_information_t field encoding uint8_t'skip_check read write
include AP_Camera/AP_Camera.h
singleton AP_Camera depends AP_CAMERA_ENABLED && (AP_CAMERA_SCRIPTING_ENABLED == 1)