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
|
||||
|
||||
-- get field
|
||||
---@return boolean
|
||||
function AP_Camera__camera_state_t_ud:auto_focus() end
|
||||
---@return number
|
||||
function AP_Camera__camera_state_t_ud:focus_value() end
|
||||
|
||||
-- get field
|
||||
---@return integer
|
||||
function AP_Camera__camera_state_t_ud:focus_step() end
|
||||
function AP_Camera__camera_state_t_ud:focus_type() end
|
||||
|
||||
-- get field
|
||||
---@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 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 focus_step int8_t'skip_check read
|
||||
userdata AP_Camera::camera_state_t field auto_focus boolean read
|
||||
userdata AP_Camera::camera_state_t field focus_type uint8_t'skip_check 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
|
||||
|
||||
include AP_Winch/AP_Winch.h
|
||||
|
Loading…
Reference in New Issue
Block a user