mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Scripting: add VisualOdom bindings
This commit is contained in:
parent
6c5425cd68
commit
f2b66fd179
@ -3448,3 +3448,15 @@ function networking:get_netmask_active() end
|
||||
-- desc
|
||||
---@return uint32_t_ud
|
||||
function networking:get_ip_active() end
|
||||
|
||||
-- visual odometry object
|
||||
--@class visual_odom
|
||||
visual_odom = {}
|
||||
|
||||
-- visual odometry health
|
||||
---@return boolean
|
||||
function visual_odom:healthy() end
|
||||
|
||||
-- visual odometry quality as a percentage from 1 to 100 or 0 if unknown
|
||||
---@return integer
|
||||
function visual_odom:quality() end
|
||||
|
@ -915,3 +915,9 @@ singleton AP_Networking method get_ip_active uint32_t
|
||||
singleton AP_Networking method get_netmask_active uint32_t
|
||||
singleton AP_Networking method get_gateway_active uint32_t
|
||||
singleton AP_Networking method address_to_str string uint32_t'skip_check
|
||||
|
||||
include AP_VisualOdom/AP_VisualOdom.h
|
||||
singleton AP_VisualOdom depends HAL_VISUALODOM_ENABLED
|
||||
singleton AP_VisualOdom rename visual_odom
|
||||
singleton AP_VisualOdom method healthy boolean
|
||||
singleton AP_VisualOdom method quality int8_t
|
||||
|
Loading…
Reference in New Issue
Block a user