diff --git a/libraries/AP_Scripting/docs/docs.lua b/libraries/AP_Scripting/docs/docs.lua index f14c0479e4e8d..b713620956c33 100644 --- a/libraries/AP_Scripting/docs/docs.lua +++ b/libraries/AP_Scripting/docs/docs.lua @@ -1422,6 +1422,10 @@ function ins:get_gyro(instance) end ---@return Vector3f_ud function ins:get_accel(instance) end +-- Get if the INS is currently calibrating +---@return boolean +function ins:calibrating() end + -- desc ---@class Motors_dynamic Motors_dynamic = {} diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index f4b18d2ce388e..975a49ea37c7a 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -538,6 +538,7 @@ singleton AP_InertialSensor method get_gyro_health_locked boolean uint8_t'skip_c singleton AP_InertialSensor method get_accel_health_locked boolean uint8_t'skip_check singleton AP_InertialSensor method get_gyro Vector3f uint8_t'skip_check singleton AP_InertialSensor method get_accel Vector3f uint8_t'skip_check +singleton AP_InertialSensor method calibrating boolean singleton CAN manual get_device lua_get_CAN_device 1 singleton CAN manual get_device2 lua_get_CAN_device2 1