Browse Source

AP_Scripting: create and use AP_OPTICALFLOW_ENABLED

Including a define for each backend.
gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
1b0f21e2a3
  1. 1
      libraries/AP_Scripting/generator/description/bindings.desc

1
libraries/AP_Scripting/generator/description/bindings.desc

@ -274,6 +274,7 @@ singleton AP_Baro method get_temperature float @@ -274,6 +274,7 @@ singleton AP_Baro method get_temperature float
singleton AP_Baro method get_external_temperature float
include AP_OpticalFlow/AP_OpticalFlow.h
singleton OpticalFlow depends AP_OPTICALFLOW_ENABLED
singleton OpticalFlow alias optical_flow
singleton OpticalFlow method enabled boolean
singleton OpticalFlow method healthy boolean

Loading…
Cancel
Save