mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Scripting: add VisualOdom bindings
This commit is contained in:
parent
855aa66bd0
commit
67a289686f
@ -3428,3 +3428,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
|
||||
|
@ -912,3 +912,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