Skip to content

Commit

Permalink
AP_Scripting: set-video-stream-info encoding binding and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Dec 5, 2024
1 parent 6f6613f commit 3325bdd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3325bdd

Please sign in to comment.