bindings.desc 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. -- Location stuff (this is a commented line)
  2. include AP_Common/Location.h
  3. userdata Location field lat int32_t read write -900000000 900000000
  4. userdata Location field lng int32_t read write -1800000000 1800000000
  5. userdata Location field relative_alt boolean read write
  6. userdata Location field terrain_alt boolean read write
  7. userdata Location field origin_alt boolean read write
  8. userdata Location field loiter_xtrack boolean read write
  9. userdata Location method get_distance float Location
  10. userdata Location method offset void float -FLT_MAX FLT_MAX float -FLT_MAX FLT_MAX
  11. userdata Location method get_vector_from_origin_NEU boolean Vector3f'Null
  12. include AP_AHRS/AP_AHRS.h
  13. singleton AP_AHRS alias ahrs
  14. singleton AP_AHRS semaphore
  15. singleton AP_AHRS method get_roll float
  16. singleton AP_AHRS method get_pitch float
  17. singleton AP_AHRS method get_yaw float
  18. singleton AP_AHRS method get_position boolean Location'Null
  19. singleton AP_AHRS method get_home Location
  20. singleton AP_AHRS method get_gyro Vector3f
  21. singleton AP_AHRS method get_hagl boolean float'Null
  22. singleton AP_AHRS method wind_estimate Vector3f
  23. singleton AP_AHRS method groundspeed_vector Vector2f
  24. singleton AP_AHRS method get_velocity_NED boolean Vector3f'Null
  25. singleton AP_AHRS method get_relative_position_NED_home boolean Vector3f'Null
  26. singleton AP_AHRS method home_is_set boolean
  27. singleton AP_AHRS method prearm_healthy boolean
  28. include AP_Arming/AP_Arming.h
  29. singleton AP_Arming alias arming
  30. singleton AP_Arming method disarm boolean
  31. singleton AP_Arming method is_armed boolean
  32. singleton AP_Arming method arm boolean AP_Arming::Method::SCRIPTING'literal
  33. include AP_BattMonitor/AP_BattMonitor.h
  34. singleton AP_BattMonitor alias battery
  35. singleton AP_BattMonitor method num_instances uint8_t
  36. singleton AP_BattMonitor method healthy boolean uint8_t 0 ud->num_instances()
  37. singleton AP_BattMonitor method voltage float uint8_t 0 ud->num_instances()
  38. singleton AP_BattMonitor method voltage_resting_estimate float uint8_t 0 ud->num_instances()
  39. singleton AP_BattMonitor method current_amps boolean float'Null uint8_t 0 ud->num_instances()
  40. singleton AP_BattMonitor method consumed_mah boolean float'Null uint8_t 0 ud->num_instances()
  41. singleton AP_BattMonitor method consumed_wh boolean float'Null uint8_t 0 ud->num_instances()
  42. singleton AP_BattMonitor method capacity_remaining_pct uint8_t uint8_t 0 ud->num_instances()
  43. singleton AP_BattMonitor method pack_capacity_mah int32_t uint8_t 0 ud->num_instances()
  44. singleton AP_BattMonitor method has_failsafed boolean
  45. singleton AP_BattMonitor method overpower_detected boolean uint8_t 0 ud->num_instances()
  46. singleton AP_BattMonitor method get_temperature boolean float'Null uint8_t 0 ud->num_instances()
  47. include AP_GPS/AP_GPS.h
  48. singleton AP_GPS alias gps
  49. singleton AP_GPS enum NO_GPS NO_FIX GPS_OK_FIX_2D GPS_OK_FIX_3D GPS_OK_FIX_3D_DGPS GPS_OK_FIX_3D_RTK_FLOAT GPS_OK_FIX_3D_RTK_FIXED
  50. singleton AP_GPS method num_sensors uint8_t
  51. singleton AP_GPS method primary_sensor uint8_t
  52. singleton AP_GPS method status uint8_t uint8_t 0 ud->num_sensors()
  53. singleton AP_GPS method location Location uint8_t 0 ud->num_sensors()
  54. singleton AP_GPS method speed_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
  55. singleton AP_GPS method horizontal_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
  56. singleton AP_GPS method vertical_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
  57. singleton AP_GPS method velocity Vector3f uint8_t 0 ud->num_sensors()
  58. singleton AP_GPS method ground_speed float uint8_t 0 ud->num_sensors()
  59. singleton AP_GPS method ground_course float uint8_t 0 ud->num_sensors()
  60. singleton AP_GPS method num_sats uint8_t uint8_t 0 ud->num_sensors()
  61. singleton AP_GPS method time_week uint16_t uint8_t 0 ud->num_sensors()
  62. singleton AP_GPS method time_week_ms uint32_t uint8_t 0 ud->num_sensors()
  63. singleton AP_GPS method get_hdop uint16_t uint8_t 0 ud->num_sensors()
  64. singleton AP_GPS method get_vdop uint16_t uint8_t 0 ud->num_sensors()
  65. singleton AP_GPS method last_fix_time_ms uint32_t uint8_t 0 ud->num_sensors()
  66. singleton AP_GPS method last_message_time_ms uint32_t uint8_t 0 ud->num_sensors()
  67. singleton AP_GPS method have_vertical_velocity boolean uint8_t 0 ud->num_sensors()
  68. singleton AP_GPS method get_antenna_offset Vector3f uint8_t 0 ud->num_sensors()
  69. singleton AP_GPS method first_unconfigured_gps boolean uint8_t'Null
  70. include AP_Math/AP_Math.h
  71. userdata Vector3f field x float read write -FLT_MAX FLT_MAX
  72. userdata Vector3f field y float read write -FLT_MAX FLT_MAX
  73. userdata Vector3f field z float read write -FLT_MAX FLT_MAX
  74. userdata Vector3f method length float
  75. userdata Vector3f method normalize void
  76. userdata Vector3f method is_nan boolean
  77. userdata Vector3f method is_inf boolean
  78. userdata Vector3f method is_zero boolean
  79. userdata Vector3f operator +
  80. userdata Vector3f operator -
  81. userdata Vector2f field x float read write -FLT_MAX FLT_MAX
  82. userdata Vector2f field y float read write -FLT_MAX FLT_MAX
  83. userdata Vector2f method length float
  84. userdata Vector2f method normalize void
  85. userdata Vector2f method is_nan boolean
  86. userdata Vector2f method is_inf boolean
  87. userdata Vector2f method is_zero boolean
  88. userdata Vector2f operator +
  89. userdata Vector2f operator -
  90. include AP_Notify/AP_Notify.h
  91. singleton notify alias notify
  92. singleton AP_Notify method play_tune void string
  93. include AP_RangeFinder/AP_RangeFinder.h
  94. singleton RangeFinder alias rangefinder
  95. singleton RangeFinder method num_sensors uint8_t
  96. include AP_Terrain/AP_Terrain.h
  97. depends AP_TERRAIN_AVAILABLE 1 Scripting requires terrain to be available
  98. singleton AP_Terrain alias terrain
  99. singleton AP_Terrain method enabled boolean
  100. singleton AP_Terrain enum TerrainStatusDisabled TerrainStatusUnhealthy TerrainStatusOK
  101. singleton AP_Terrain method status uint8_t
  102. singleton AP_Terrain method height_amsl boolean Location float'Null boolean
  103. singleton AP_Terrain method height_terrain_difference_home boolean float'Null boolean
  104. singleton AP_Terrain method height_above_terrain boolean float'Null boolean
  105. include AP_Relay/AP_Relay.h
  106. singleton AP_Relay alias relay
  107. singleton AP_Relay method on void uint8_t 0 AP_RELAY_NUM_RELAYS
  108. singleton AP_Relay method off void uint8_t 0 AP_RELAY_NUM_RELAYS
  109. singleton AP_Relay method enabled boolean uint8_t 0 AP_RELAY_NUM_RELAYS
  110. singleton AP_Relay method toggle void uint8_t 0 AP_RELAY_NUM_RELAYS
  111. include GCS_MAVLink/GCS.h
  112. singleton GCS alias gcs
  113. singleton GCS method send_text void MAV_SEVERITY'enum MAV_SEVERITY_EMERGENCY MAV_SEVERITY_DEBUG "%s"'literal string