Skip to content

Commit

Permalink
AP_Scripting: Add binding for AP_Camera::set_stream_information()
Browse files Browse the repository at this point in the history
  • Loading branch information
nexton-winjeel committed Aug 8, 2024
1 parent 5cbb076 commit fdfe295
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,20 @@ userdata mavlink_camera_information_t field lens_id uint8_t'skip_check read writ
userdata mavlink_camera_information_t field cam_definition_uri'array 140 uint8_t'skip_check read write
userdata mavlink_camera_information_t field gimbal_device_id uint8_t'skip_check read write

userdata mavlink_video_stream_information_t depends AP_CAMERA_ENABLED
userdata mavlink_video_stream_information_t field framerate float'skip_check read write
userdata mavlink_video_stream_information_t field bitrate uint32_t'skip_check read write
userdata mavlink_video_stream_information_t field flags uint16_t'skip_check read write
userdata mavlink_video_stream_information_t field resolution_h uint16_t'skip_check read write
userdata mavlink_video_stream_information_t field resolution_v uint16_t'skip_check read write
userdata mavlink_video_stream_information_t field rotation uint16_t'skip_check read write
userdata mavlink_video_stream_information_t field hfov uint16_t'skip_check read write
userdata mavlink_video_stream_information_t field stream_id uint8_t'skip_check read write
userdata mavlink_video_stream_information_t field count uint8_t'skip_check read write
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

include AP_Camera/AP_Camera.h
singleton AP_Camera depends AP_CAMERA_ENABLED && (AP_CAMERA_SCRIPTING_ENABLED == 1)
singleton AP_Camera rename camera
Expand All @@ -804,6 +818,7 @@ userdata AP_Camera::camera_state_t field tracking_p1 Vector2f read
userdata AP_Camera::camera_state_t field tracking_p2 Vector2f read
singleton AP_Camera method get_state boolean uint8_t'skip_check AP_Camera::camera_state_t'Null
singleton AP_Camera method set_camera_information void uint8_t'skip_check mavlink_camera_information_t
singleton AP_Camera method set_stream_information void uint8_t'skip_check mavlink_video_stream_information_t

include AP_Winch/AP_Winch.h
singleton AP_Winch depends AP_WINCH_ENABLED && APM_BUILD_COPTER_OR_HELI
Expand Down

0 comments on commit fdfe295

Please sign in to comment.