AP_Scripting: camera state uses focus_type and focus_value
This commit is contained in:
parent
d187368b33
commit
edc2ea7bf6
@ -1102,12 +1102,12 @@ local AP_Camera__camera_state_t_ud = {}
|
|||||||
function AP_Camera__camera_state_t() end
|
function AP_Camera__camera_state_t() end
|
||||||
|
|
||||||
-- get field
|
-- get field
|
||||||
---@return boolean
|
---@return number
|
||||||
function AP_Camera__camera_state_t_ud:auto_focus() end
|
function AP_Camera__camera_state_t_ud:focus_value() end
|
||||||
|
|
||||||
-- get field
|
-- get field
|
||||||
---@return integer
|
---@return integer
|
||||||
function AP_Camera__camera_state_t_ud:focus_step() end
|
function AP_Camera__camera_state_t_ud:focus_type() end
|
||||||
|
|
||||||
-- get field
|
-- get field
|
||||||
---@return number
|
---@return number
|
||||||
|
@ -615,8 +615,8 @@ userdata AP_Camera::camera_state_t field take_pic_incr uint16_t'skip_check read
|
|||||||
userdata AP_Camera::camera_state_t field recording_video boolean read
|
userdata AP_Camera::camera_state_t field recording_video boolean read
|
||||||
userdata AP_Camera::camera_state_t field zoom_type uint8_t'skip_check read
|
userdata AP_Camera::camera_state_t field zoom_type uint8_t'skip_check read
|
||||||
userdata AP_Camera::camera_state_t field zoom_value float'skip_check read
|
userdata AP_Camera::camera_state_t field zoom_value float'skip_check read
|
||||||
userdata AP_Camera::camera_state_t field focus_step int8_t'skip_check read
|
userdata AP_Camera::camera_state_t field focus_type uint8_t'skip_check read
|
||||||
userdata AP_Camera::camera_state_t field auto_focus boolean read
|
userdata AP_Camera::camera_state_t field focus_value float'skip_check read
|
||||||
singleton AP_Camera method get_state boolean uint8_t'skip_check AP_Camera::camera_state_t'Null
|
singleton AP_Camera method get_state boolean uint8_t'skip_check AP_Camera::camera_state_t'Null
|
||||||
|
|
||||||
include AP_Winch/AP_Winch.h
|
include AP_Winch/AP_Winch.h
|
||||||
|
Loading…
Reference in New Issue
Block a user