2019-03-14 04:38:12 -03:00
|
|
|
-- Location stuff (this is a commented line)
|
|
|
|
|
|
|
|
include AP_Common/Location.h
|
|
|
|
|
|
|
|
userdata Location field lat int32_t read write -900000000 900000000
|
|
|
|
userdata Location field lng int32_t read write -1800000000 1800000000
|
2020-02-25 07:43:17 -04:00
|
|
|
userdata Location field alt int32_t read write (-LOCATION_ALT_MAX_M*100+1) (LOCATION_ALT_MAX_M*100-1)
|
2019-03-14 04:38:12 -03:00
|
|
|
userdata Location field relative_alt boolean read write
|
|
|
|
userdata Location field terrain_alt boolean read write
|
|
|
|
userdata Location field origin_alt boolean read write
|
|
|
|
userdata Location field loiter_xtrack boolean read write
|
|
|
|
|
|
|
|
userdata Location method get_distance float Location
|
2021-08-04 22:13:55 -03:00
|
|
|
userdata Location method offset void float'skip_check float'skip_check
|
|
|
|
userdata Location method offset_bearing void float'skip_check float'skip_check
|
2019-06-17 19:24:06 -03:00
|
|
|
userdata Location method get_vector_from_origin_NEU boolean Vector3f'Null
|
2019-10-17 03:29:14 -03:00
|
|
|
userdata Location method get_bearing float Location
|
2019-10-28 13:54:31 -03:00
|
|
|
userdata Location method get_distance_NED Vector3f Location
|
|
|
|
userdata Location method get_distance_NE Vector2f Location
|
2021-07-21 08:17:25 -03:00
|
|
|
userdata Location method change_alt_frame boolean Location::AltFrame'enum Location::AltFrame::ABSOLUTE Location::AltFrame::ABOVE_TERRAIN
|
2022-01-08 20:14:13 -04:00
|
|
|
userdata Location method copy Location
|
|
|
|
|
2019-03-14 04:38:12 -03:00
|
|
|
|
|
|
|
include AP_AHRS/AP_AHRS.h
|
|
|
|
|
2019-04-15 19:11:26 -03:00
|
|
|
singleton AP_AHRS alias ahrs
|
2019-04-29 03:29:57 -03:00
|
|
|
singleton AP_AHRS semaphore
|
2019-07-11 23:06:01 -03:00
|
|
|
singleton AP_AHRS method get_roll float
|
|
|
|
singleton AP_AHRS method get_pitch float
|
|
|
|
singleton AP_AHRS method get_yaw float
|
2022-01-20 19:42:41 -04:00
|
|
|
singleton AP_AHRS method get_location boolean Location'Null
|
2022-02-18 02:45:48 -04:00
|
|
|
singleton AP_AHRS method get_position boolean Location'Null
|
2019-04-12 05:10:26 -03:00
|
|
|
singleton AP_AHRS method get_home Location
|
2019-04-20 18:55:15 -03:00
|
|
|
singleton AP_AHRS method get_gyro Vector3f
|
2020-06-10 02:53:17 -03:00
|
|
|
singleton AP_AHRS method get_accel Vector3f
|
2019-04-20 18:55:15 -03:00
|
|
|
singleton AP_AHRS method get_hagl boolean float'Null
|
|
|
|
singleton AP_AHRS method wind_estimate Vector3f
|
|
|
|
singleton AP_AHRS method groundspeed_vector Vector2f
|
|
|
|
singleton AP_AHRS method get_velocity_NED boolean Vector3f'Null
|
|
|
|
singleton AP_AHRS method get_relative_position_NED_home boolean Vector3f'Null
|
2021-08-11 08:42:25 -03:00
|
|
|
singleton AP_AHRS method get_relative_position_NED_origin boolean Vector3f'Null
|
2019-04-20 18:55:15 -03:00
|
|
|
singleton AP_AHRS method home_is_set boolean
|
2020-08-11 02:18:15 -03:00
|
|
|
singleton AP_AHRS method healthy boolean
|
2020-01-06 21:00:23 -04:00
|
|
|
singleton AP_AHRS method airspeed_estimate boolean float'Null
|
2020-03-06 06:12:09 -04:00
|
|
|
singleton AP_AHRS method get_vibration Vector3f
|
2020-05-07 18:24:07 -03:00
|
|
|
singleton AP_AHRS method earth_to_body Vector3f Vector3f
|
|
|
|
singleton AP_AHRS method body_to_earth Vector3f Vector3f
|
2020-05-09 18:46:31 -03:00
|
|
|
singleton AP_AHRS method get_EAS2TAS float
|
2020-10-15 06:09:38 -03:00
|
|
|
singleton AP_AHRS method get_variances boolean float'Null float'Null float'Null Vector3f'Null float'Null
|
2020-09-03 04:46:42 -03:00
|
|
|
singleton AP_AHRS method set_posvelyaw_source_set void uint8_t 0 2
|
|
|
|
singleton AP_AHRS method get_vel_innovations_and_variances_for_source boolean uint8_t 3 6 Vector3f'Null Vector3f'Null
|
2021-06-22 09:23:11 -03:00
|
|
|
singleton AP_AHRS method set_home boolean Location
|
|
|
|
singleton AP_AHRS method get_origin boolean Location'Null
|
2021-07-02 12:00:07 -03:00
|
|
|
singleton AP_AHRS method set_origin boolean Location
|
|
|
|
singleton AP_AHRS method initialised boolean
|
2019-04-20 18:55:15 -03:00
|
|
|
|
2019-07-18 09:05:39 -03:00
|
|
|
include AP_Arming/AP_Arming.h
|
|
|
|
|
|
|
|
singleton AP_Arming alias arming
|
2020-02-21 09:09:57 -04:00
|
|
|
singleton AP_Arming method disarm boolean AP_Arming::Method::SCRIPTING'literal
|
2019-07-18 09:05:39 -03:00
|
|
|
singleton AP_Arming method is_armed boolean
|
2019-07-22 20:35:00 -03:00
|
|
|
singleton AP_Arming method arm boolean AP_Arming::Method::SCRIPTING'literal
|
2020-02-12 00:50:38 -04:00
|
|
|
singleton AP_Arming method get_aux_auth_id boolean uint8_t'Null
|
|
|
|
singleton AP_Arming method set_aux_auth_passed void uint8_t 0 UINT8_MAX
|
|
|
|
singleton AP_Arming method set_aux_auth_failed void uint8_t 0 UINT8_MAX string
|
2019-07-18 09:05:39 -03:00
|
|
|
|
2019-04-20 18:55:15 -03:00
|
|
|
include AP_BattMonitor/AP_BattMonitor.h
|
|
|
|
|
|
|
|
singleton AP_BattMonitor alias battery
|
|
|
|
singleton AP_BattMonitor method num_instances uint8_t
|
2019-07-03 05:27:32 -03:00
|
|
|
singleton AP_BattMonitor method healthy boolean uint8_t 0 ud->num_instances()
|
|
|
|
singleton AP_BattMonitor method voltage float uint8_t 0 ud->num_instances()
|
|
|
|
singleton AP_BattMonitor method voltage_resting_estimate float uint8_t 0 ud->num_instances()
|
2019-07-07 11:35:40 -03:00
|
|
|
singleton AP_BattMonitor method current_amps boolean float'Null uint8_t 0 ud->num_instances()
|
|
|
|
singleton AP_BattMonitor method consumed_mah boolean float'Null uint8_t 0 ud->num_instances()
|
|
|
|
singleton AP_BattMonitor method consumed_wh boolean float'Null uint8_t 0 ud->num_instances()
|
2020-07-30 12:20:42 -03:00
|
|
|
singleton AP_BattMonitor method capacity_remaining_pct boolean uint8_t'Null uint8_t 0 ud->num_instances()
|
2019-07-03 05:27:32 -03:00
|
|
|
singleton AP_BattMonitor method pack_capacity_mah int32_t uint8_t 0 ud->num_instances()
|
2019-04-20 18:55:15 -03:00
|
|
|
singleton AP_BattMonitor method has_failsafed boolean
|
2019-07-03 05:27:32 -03:00
|
|
|
singleton AP_BattMonitor method overpower_detected boolean uint8_t 0 ud->num_instances()
|
|
|
|
singleton AP_BattMonitor method get_temperature boolean float'Null uint8_t 0 ud->num_instances()
|
2019-12-10 21:56:07 -04:00
|
|
|
singleton AP_BattMonitor method get_cycle_count boolean uint8_t 0 ud->num_instances() uint16_t'Null
|
2021-03-26 17:14:43 -03:00
|
|
|
singleton AP_BattMonitor method reset_remaining boolean uint8_t 0 ud->num_instances() float 0 100
|
2019-04-20 18:55:15 -03:00
|
|
|
|
|
|
|
include AP_GPS/AP_GPS.h
|
|
|
|
|
|
|
|
singleton AP_GPS alias gps
|
2019-07-17 01:27:25 -03:00
|
|
|
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
|
2019-04-20 18:55:15 -03:00
|
|
|
singleton AP_GPS method num_sensors uint8_t
|
|
|
|
singleton AP_GPS method primary_sensor uint8_t
|
2019-07-03 05:27:32 -03:00
|
|
|
singleton AP_GPS method status uint8_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method location Location uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method speed_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
|
|
|
|
singleton AP_GPS method horizontal_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
|
|
|
|
singleton AP_GPS method vertical_accuracy boolean uint8_t 0 ud->num_sensors() float'Null
|
|
|
|
singleton AP_GPS method velocity Vector3f uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method ground_speed float uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method ground_course float uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method num_sats uint8_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method time_week uint16_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method time_week_ms uint32_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method get_hdop uint16_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method get_vdop uint16_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method last_fix_time_ms uint32_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method last_message_time_ms uint32_t uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method have_vertical_velocity boolean uint8_t 0 ud->num_sensors()
|
|
|
|
singleton AP_GPS method get_antenna_offset Vector3f uint8_t 0 ud->num_sensors()
|
2019-07-23 03:22:09 -03:00
|
|
|
singleton AP_GPS method first_unconfigured_gps boolean uint8_t'Null
|
2019-03-14 04:38:12 -03:00
|
|
|
|
|
|
|
include AP_Math/AP_Math.h
|
|
|
|
|
2021-10-21 18:22:15 -03:00
|
|
|
userdata Vector3f field x float'skip_check read write
|
|
|
|
userdata Vector3f field y float'skip_check read write
|
|
|
|
userdata Vector3f field z float'skip_check read write
|
2019-04-20 18:55:15 -03:00
|
|
|
userdata Vector3f method length float
|
|
|
|
userdata Vector3f method normalize void
|
2019-07-24 01:18:29 -03:00
|
|
|
userdata Vector3f method is_nan boolean
|
|
|
|
userdata Vector3f method is_inf boolean
|
|
|
|
userdata Vector3f method is_zero boolean
|
2019-04-21 21:34:52 -03:00
|
|
|
userdata Vector3f operator +
|
|
|
|
userdata Vector3f operator -
|
2020-05-07 18:24:07 -03:00
|
|
|
userdata Vector3f method dot float Vector3f
|
|
|
|
userdata Vector3f method cross Vector3f Vector3f
|
2021-08-04 22:13:55 -03:00
|
|
|
userdata Vector3f method scale Vector3f float'skip_check
|
2022-01-08 20:14:13 -04:00
|
|
|
userdata Vector3f method copy Vector3f
|
2022-01-07 23:46:16 -04:00
|
|
|
userdata Vector3f method xy Vector2f
|
2022-01-08 20:02:23 -04:00
|
|
|
userdata Vector3f method rotate_xy void float'skip_check
|
2019-04-20 18:55:15 -03:00
|
|
|
|
2021-10-21 18:22:15 -03:00
|
|
|
userdata Vector2f field x float'skip_check read write
|
|
|
|
userdata Vector2f field y float'skip_check read write
|
2019-04-20 18:55:15 -03:00
|
|
|
userdata Vector2f method length float
|
|
|
|
userdata Vector2f method normalize void
|
2019-07-24 01:18:29 -03:00
|
|
|
userdata Vector2f method is_nan boolean
|
|
|
|
userdata Vector2f method is_inf boolean
|
|
|
|
userdata Vector2f method is_zero boolean
|
2022-01-07 23:46:16 -04:00
|
|
|
userdata Vector2f method angle float
|
2021-08-04 22:13:55 -03:00
|
|
|
userdata Vector2f method rotate void float'skip_check
|
2019-04-21 21:34:52 -03:00
|
|
|
userdata Vector2f operator +
|
|
|
|
userdata Vector2f operator -
|
2022-01-08 20:14:13 -04:00
|
|
|
userdata Vector2f method copy Vector2f
|
|
|
|
|
2019-03-14 04:38:12 -03:00
|
|
|
|
|
|
|
include AP_Notify/AP_Notify.h
|
2019-10-16 04:15:14 -03:00
|
|
|
singleton AP_Notify alias notify
|
2019-04-12 05:10:26 -03:00
|
|
|
singleton AP_Notify method play_tune void string
|
2019-11-25 18:28:01 -04:00
|
|
|
singleton AP_Notify method handle_rgb void uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX
|
2020-09-22 17:21:04 -03:00
|
|
|
singleton AP_Notify method handle_rgb_id void uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX
|
2019-04-12 05:10:26 -03:00
|
|
|
|
2020-07-29 10:55:47 -03:00
|
|
|
include AP_Proximity/AP_Proximity.h
|
|
|
|
|
2021-03-25 21:41:03 -03:00
|
|
|
singleton AP_Proximity depends HAL_PROXIMITY_ENABLED == 1
|
2020-07-29 10:55:47 -03:00
|
|
|
singleton AP_Proximity alias proximity
|
2021-03-10 03:53:24 -04:00
|
|
|
singleton AP_Proximity method get_status uint8_t
|
2020-07-29 10:55:47 -03:00
|
|
|
singleton AP_Proximity method num_sensors uint8_t
|
|
|
|
singleton AP_Proximity method get_object_count uint8_t
|
|
|
|
singleton AP_Proximity method get_closest_object boolean float'Null float'Null
|
|
|
|
singleton AP_Proximity method get_object_angle_and_distance boolean uint8_t 0 UINT8_MAX float'Null float'Null
|
|
|
|
|
2019-04-12 05:10:26 -03:00
|
|
|
include AP_RangeFinder/AP_RangeFinder.h
|
2019-04-22 20:13:06 -03:00
|
|
|
|
2019-04-15 19:11:26 -03:00
|
|
|
singleton RangeFinder alias rangefinder
|
2019-04-12 05:10:26 -03:00
|
|
|
singleton RangeFinder method num_sensors uint8_t
|
2020-07-29 10:54:25 -03:00
|
|
|
singleton RangeFinder method has_orientation boolean Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
|
|
|
singleton RangeFinder method distance_cm_orient uint16_t Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
|
|
|
singleton RangeFinder method max_distance_cm_orient uint16_t Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
|
|
|
singleton RangeFinder method min_distance_cm_orient uint16_t Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
|
|
|
singleton RangeFinder method ground_clearance_cm_orient uint16_t Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
2020-08-09 11:20:51 -03:00
|
|
|
singleton RangeFinder method status_orient uint8_t Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
2020-07-29 10:54:25 -03:00
|
|
|
singleton RangeFinder method has_data_orient boolean Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
|
|
|
singleton RangeFinder method get_pos_offset_orient Vector3f Rotation'enum ROTATION_NONE ROTATION_MAX-1
|
2019-04-22 20:13:06 -03:00
|
|
|
|
2019-04-24 00:20:07 -03:00
|
|
|
include AP_Terrain/AP_Terrain.h
|
|
|
|
|
2020-11-02 20:42:56 -04:00
|
|
|
singleton AP_Terrain depends defined(AP_TERRAIN_AVAILABLE) && AP_TERRAIN_AVAILABLE == 1
|
2019-04-24 00:20:07 -03:00
|
|
|
singleton AP_Terrain alias terrain
|
|
|
|
singleton AP_Terrain method enabled boolean
|
2019-08-15 21:08:43 -03:00
|
|
|
singleton AP_Terrain enum TerrainStatusDisabled TerrainStatusUnhealthy TerrainStatusOK
|
2019-04-24 00:20:07 -03:00
|
|
|
singleton AP_Terrain method status uint8_t
|
2022-01-31 00:35:06 -04:00
|
|
|
singleton AP_Terrain method height_amsl boolean Location float'Null
|
2019-04-24 00:20:07 -03:00
|
|
|
singleton AP_Terrain method height_terrain_difference_home boolean float'Null boolean
|
|
|
|
singleton AP_Terrain method height_above_terrain boolean float'Null boolean
|
|
|
|
|
2019-04-22 20:13:06 -03:00
|
|
|
include AP_Relay/AP_Relay.h
|
|
|
|
|
|
|
|
singleton AP_Relay alias relay
|
|
|
|
singleton AP_Relay method on void uint8_t 0 AP_RELAY_NUM_RELAYS
|
|
|
|
singleton AP_Relay method off void uint8_t 0 AP_RELAY_NUM_RELAYS
|
|
|
|
singleton AP_Relay method enabled boolean uint8_t 0 AP_RELAY_NUM_RELAYS
|
|
|
|
singleton AP_Relay method toggle void uint8_t 0 AP_RELAY_NUM_RELAYS
|
2019-04-29 04:42:26 -03:00
|
|
|
|
|
|
|
include GCS_MAVLink/GCS.h
|
|
|
|
singleton GCS alias gcs
|
2019-07-23 22:53:39 -03:00
|
|
|
singleton GCS method send_text void MAV_SEVERITY'enum MAV_SEVERITY_EMERGENCY MAV_SEVERITY_DEBUG "%s"'literal string
|
2019-10-09 01:06:24 -03:00
|
|
|
singleton GCS method set_message_interval MAV_RESULT'enum uint8_t 0 MAVLINK_COMM_NUM_BUFFERS uint32_t 0U UINT32_MAX int32_t -1 INT32_MAX
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton GCS method send_named_float void string float'skip_check
|
2019-10-17 00:50:31 -03:00
|
|
|
|
2021-06-14 13:01:09 -03:00
|
|
|
include AP_ONVIF/AP_ONVIF.h depends ENABLE_ONVIF == 1
|
|
|
|
singleton AP_ONVIF depends ENABLE_ONVIF == 1
|
2021-06-14 08:12:13 -03:00
|
|
|
singleton AP_ONVIF alias onvif
|
|
|
|
singleton AP_ONVIF method start boolean string string string
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_ONVIF method set_absolutemove boolean float'skip_check float'skip_check float'skip_check
|
2021-06-14 13:01:09 -03:00
|
|
|
singleton AP_ONVIF method get_pan_tilt_limit_min Vector2f
|
|
|
|
singleton AP_ONVIF method get_pan_tilt_limit_max Vector2f
|
2021-06-14 08:12:13 -03:00
|
|
|
|
2019-10-17 00:50:31 -03:00
|
|
|
include AP_Vehicle/AP_Vehicle.h
|
|
|
|
singleton AP_Vehicle alias vehicle
|
2020-02-11 19:11:11 -04:00
|
|
|
singleton AP_Vehicle scheduler-semaphore
|
2019-10-17 00:50:31 -03:00
|
|
|
singleton AP_Vehicle method set_mode boolean uint8_t 0 UINT8_MAX ModeReason::SCRIPTING'literal
|
2020-01-09 10:45:47 -04:00
|
|
|
singleton AP_Vehicle method get_mode uint8_t
|
2021-01-28 11:45:14 -04:00
|
|
|
singleton AP_Vehicle method get_control_mode_reason uint8_t
|
2020-01-06 21:00:23 -04:00
|
|
|
singleton AP_Vehicle method get_likely_flying boolean
|
|
|
|
singleton AP_Vehicle method get_time_flying_ms uint32_t
|
2021-08-11 08:05:36 -03:00
|
|
|
singleton AP_Vehicle method get_control_output boolean AP_Vehicle::ControlOutput'enum AP_Vehicle::ControlOutput::Roll ((uint32_t)AP_Vehicle::ControlOutput::Last_ControlOutput-1) float'Null
|
2020-03-06 22:33:09 -04:00
|
|
|
singleton AP_Vehicle method start_takeoff boolean float (-LOCATION_ALT_MAX_M*100+1) (LOCATION_ALT_MAX_M*100-1)
|
2020-02-18 00:12:07 -04:00
|
|
|
singleton AP_Vehicle method set_target_location boolean Location
|
2020-03-06 06:12:09 -04:00
|
|
|
singleton AP_Vehicle method get_target_location boolean Location'Null
|
2022-01-07 23:46:16 -04:00
|
|
|
singleton AP_Vehicle method update_target_location boolean Location Location
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_Vehicle method set_target_pos_NED boolean Vector3f boolean float -360 +360 boolean float'skip_check boolean boolean
|
2021-08-11 08:05:36 -03:00
|
|
|
singleton AP_Vehicle method set_target_posvel_NED boolean Vector3f Vector3f
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_Vehicle method set_target_posvelaccel_NED boolean Vector3f Vector3f Vector3f boolean float -360 +360 boolean float'skip_check boolean
|
|
|
|
singleton AP_Vehicle method set_target_velaccel_NED boolean Vector3f Vector3f boolean float -360 +360 boolean float'skip_check boolean
|
2020-03-06 22:33:09 -04:00
|
|
|
singleton AP_Vehicle method set_target_velocity_NED boolean Vector3f
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_Vehicle method set_target_angle_and_climbrate boolean float -180 180 float -90 90 float -360 360 float'skip_check boolean float'skip_check
|
2021-08-24 08:12:01 -03:00
|
|
|
singleton AP_Vehicle method get_circle_radius boolean float'Null
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_Vehicle method set_circle_rate boolean float'skip_check
|
2020-06-15 04:34:35 -03:00
|
|
|
singleton AP_Vehicle method set_steering_and_throttle boolean float -1 1 float -1 1
|
2020-12-06 08:38:42 -04:00
|
|
|
singleton AP_Vehicle method get_wp_distance_m boolean float'Null
|
|
|
|
singleton AP_Vehicle method get_wp_bearing_deg boolean float'Null
|
|
|
|
singleton AP_Vehicle method get_wp_crosstrack_error_m boolean float'Null
|
2021-06-14 13:01:09 -03:00
|
|
|
singleton AP_Vehicle method get_pan_tilt_norm boolean float'Null float'Null
|
2021-11-08 00:06:51 -04:00
|
|
|
singleton AP_Vehicle method nav_script_time boolean uint16_t'Null uint8_t'Null float'Null float'Null
|
|
|
|
singleton AP_Vehicle method nav_script_time_done void uint16_t'skip_check
|
2022-02-07 16:29:39 -04:00
|
|
|
singleton AP_Vehicle method set_target_throttle_rate_rpy void float -100 100 float'skip_check float'skip_check float'skip_check
|
2022-01-16 06:10:56 -04:00
|
|
|
singleton AP_Vehicle method set_desired_turn_rate_and_speed boolean float'skip_check float'skip_check
|
2022-02-06 22:23:17 -04:00
|
|
|
singleton AP_Vehicle method nav_scripting_enable boolean uint8_t 0 UINT8_MAX
|
2022-01-07 23:46:16 -04:00
|
|
|
singleton AP_Vehicle method set_velocity_match boolean Vector2f
|
2019-10-30 07:12:55 -03:00
|
|
|
|
|
|
|
include AP_SerialLED/AP_SerialLED.h
|
|
|
|
singleton AP_SerialLED alias serialLED
|
2020-02-22 19:54:09 -04:00
|
|
|
singleton AP_SerialLED method set_num_neopixel boolean uint8_t 1 16 uint8_t 0 AP_SERIALLED_MAX_LEDS
|
|
|
|
singleton AP_SerialLED method set_num_profiled boolean uint8_t 1 16 uint8_t 0 AP_SERIALLED_MAX_LEDS
|
2020-02-09 06:35:56 -04:00
|
|
|
singleton AP_SerialLED method set_RGB void uint8_t 1 16 int8_t -1 INT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX
|
2020-02-22 19:54:09 -04:00
|
|
|
singleton AP_SerialLED method send void uint8_t 1 16
|
2019-10-30 07:12:55 -03:00
|
|
|
|
|
|
|
include SRV_Channel/SRV_Channel.h
|
|
|
|
singleton SRV_Channels alias SRV_Channels
|
|
|
|
singleton SRV_Channels method find_channel boolean SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint8_t'Null
|
2020-04-17 02:36:50 -03:00
|
|
|
singleton SRV_Channels method set_output_pwm void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t 0 UINT16_MAX
|
|
|
|
singleton SRV_Channels method set_output_pwm_chan void uint8_t 0 NUM_SERVO_CHANNELS-1 uint16_t 0 UINT16_MAX
|
2020-05-24 23:45:17 -03:00
|
|
|
singleton SRV_Channels method set_output_pwm_chan_timeout void uint8_t 0 NUM_SERVO_CHANNELS-1 uint16_t 0 UINT16_MAX uint16_t 0 UINT16_MAX
|
2021-09-18 14:55:55 -03:00
|
|
|
singleton SRV_Channels method set_output_scaled void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 float -FLT_MAX FLT_MAX
|
2020-05-18 01:23:18 -03:00
|
|
|
singleton SRV_Channels method get_output_pwm boolean SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t'Null
|
2021-09-18 14:55:55 -03:00
|
|
|
singleton SRV_Channels method get_output_scaled float SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1
|
2020-08-07 21:00:22 -03:00
|
|
|
singleton SRV_Channels method set_output_norm void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 float -1 1
|
2020-08-19 08:48:48 -03:00
|
|
|
singleton SRV_Channels method set_angle void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t 0 UINT16_MAX
|
|
|
|
singleton SRV_Channels method set_range void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t 0 UINT16_MAX
|
2020-07-07 21:30:45 -03:00
|
|
|
|
|
|
|
ap_object RC_Channel method norm_input float
|
|
|
|
ap_object RC_Channel method get_aux_switch_pos uint8_t
|
2020-08-25 07:01:58 -03:00
|
|
|
ap_object RC_Channel method norm_input_ignore_trim float
|
2020-07-07 21:30:45 -03:00
|
|
|
|
2019-12-03 22:08:46 -04:00
|
|
|
include RC_Channel/RC_Channel.h
|
|
|
|
singleton RC_Channels alias rc
|
2021-04-26 19:57:28 -03:00
|
|
|
singleton RC_Channels scheduler-semaphore
|
2019-12-03 22:08:46 -04:00
|
|
|
singleton RC_Channels method get_pwm boolean uint8_t 1 NUM_RC_CHANNELS uint16_t'Null
|
2020-07-07 21:30:45 -03:00
|
|
|
singleton RC_Channels method find_channel_for_option RC_Channel RC_Channel::AUX_FUNC'enum 0 UINT16_MAX
|
2021-04-26 19:57:28 -03:00
|
|
|
singleton RC_Channels method run_aux_function boolean RC_Channel::AUX_FUNC'enum 0 UINT16_MAX RC_Channel::AuxSwitchPos'enum RC_Channel::AuxSwitchPos::LOW RC_Channel::AuxSwitchPos::HIGH RC_Channel::AuxFuncTriggerSource::SCRIPTING'literal
|
2021-06-22 07:04:35 -03:00
|
|
|
singleton RC_Channels method has_valid_input boolean
|
2021-08-04 16:47:08 -03:00
|
|
|
singleton RC_Channels method lua_rc_channel RC_Channel uint8_t 1 NUM_RC_CHANNELS
|
|
|
|
singleton RC_Channels method lua_rc_channel alias get_channel
|
2020-01-08 16:34:26 -04:00
|
|
|
|
|
|
|
include AP_SerialManager/AP_SerialManager.h
|
|
|
|
|
|
|
|
ap_object AP_HAL::UARTDriver method begin void uint32_t 1U UINT32_MAX
|
|
|
|
ap_object AP_HAL::UARTDriver method read int16_t
|
|
|
|
ap_object AP_HAL::UARTDriver method write uint32_t uint8_t 0 UINT8_MAX
|
|
|
|
ap_object AP_HAL::UARTDriver method available uint32_t
|
|
|
|
ap_object AP_HAL::UARTDriver method set_flow_control void AP_HAL::UARTDriver::flow_control'enum AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE AP_HAL::UARTDriver::FLOW_CONTROL_AUTO
|
|
|
|
|
|
|
|
singleton AP_SerialManager alias serial
|
|
|
|
singleton AP_SerialManager method find_serial AP_HAL::UARTDriver AP_SerialManager::SerialProtocol_Scripting'literal uint8_t 0 UINT8_MAX
|
2020-01-06 21:00:23 -04:00
|
|
|
|
|
|
|
include AP_Baro/AP_Baro.h
|
|
|
|
singleton AP_Baro alias baro
|
|
|
|
singleton AP_Baro method get_pressure float
|
|
|
|
singleton AP_Baro method get_temperature float
|
|
|
|
singleton AP_Baro method get_external_temperature float
|
2020-01-29 07:50:32 -04:00
|
|
|
|
2021-12-23 20:05:30 -04:00
|
|
|
include AP_OpticalFlow/AP_OpticalFlow.h
|
2021-12-24 01:47:21 -04:00
|
|
|
singleton OpticalFlow depends AP_OPTICALFLOW_ENABLED
|
2021-08-16 10:07:17 -03:00
|
|
|
singleton OpticalFlow alias optical_flow
|
|
|
|
singleton OpticalFlow method enabled boolean
|
|
|
|
singleton OpticalFlow method healthy boolean
|
|
|
|
singleton OpticalFlow method quality uint8_t
|
|
|
|
|
2020-01-29 07:50:32 -04:00
|
|
|
include AP_ESC_Telem/AP_ESC_Telem.h
|
2021-04-20 14:01:08 -03:00
|
|
|
singleton AP_ESC_Telem depends HAL_WITH_ESC_TELEM == 1
|
2020-01-29 07:50:32 -04:00
|
|
|
singleton AP_ESC_Telem alias esc_telem
|
2021-04-20 14:01:08 -03:00
|
|
|
singleton AP_ESC_Telem method get_rpm boolean uint8_t 0 NUM_SERVO_CHANNELS float'Null
|
|
|
|
singleton AP_ESC_Telem method get_temperature boolean uint8_t 0 NUM_SERVO_CHANNELS int16_t'Null
|
|
|
|
singleton AP_ESC_Telem method get_motor_temperature boolean uint8_t 0 NUM_SERVO_CHANNELS int16_t'Null
|
|
|
|
singleton AP_ESC_Telem method get_current boolean uint8_t 0 NUM_SERVO_CHANNELS float'Null
|
|
|
|
singleton AP_ESC_Telem method get_voltage boolean uint8_t 0 NUM_SERVO_CHANNELS float'Null
|
|
|
|
singleton AP_ESC_Telem method get_consumption_mah boolean uint8_t 0 NUM_SERVO_CHANNELS float'Null
|
2020-01-29 07:50:32 -04:00
|
|
|
singleton AP_ESC_Telem method get_usage_seconds boolean uint8_t 0 NUM_SERVO_CHANNELS uint32_t'Null
|
2019-11-25 12:22:26 -04:00
|
|
|
|
|
|
|
include AP_Param/AP_Param.h
|
|
|
|
singleton AP_Param alias param
|
|
|
|
singleton AP_Param method get boolean string float'Null
|
2022-01-01 12:31:35 -04:00
|
|
|
singleton AP_Param method set_by_name boolean string float'skip_check
|
|
|
|
singleton AP_Param method set_by_name alias set
|
|
|
|
singleton AP_Param method set_and_save_by_name boolean string float'skip_check
|
|
|
|
singleton AP_Param method set_and_save_by_name alias set_and_save
|
2022-01-17 16:49:39 -04:00
|
|
|
singleton AP_Param method set_default_by_name boolean string float'skip_check
|
|
|
|
singleton AP_Param method set_default_by_name alias set_default
|
2022-01-07 01:26:14 -04:00
|
|
|
singleton AP_Param method add_table boolean uint8_t 0 200 string uint8_t 1 63
|
|
|
|
singleton AP_Param method add_param boolean uint8_t 0 200 uint8_t 1 63 string float'skip_check
|
2019-11-23 14:58:36 -04:00
|
|
|
|
2021-01-02 11:34:36 -04:00
|
|
|
include AP_Scripting/AP_Scripting_helpers.h
|
|
|
|
userdata Parameter method init boolean string
|
2022-01-26 17:10:18 -04:00
|
|
|
userdata Parameter method init_by_info boolean uint16_t 0 UINT16_MAX uint32_t 0U UINT32_MAX ap_var_type'enum AP_PARAM_INT8 AP_PARAM_FLOAT
|
2021-01-02 11:34:36 -04:00
|
|
|
userdata Parameter method get boolean float'Null
|
2021-08-04 22:13:55 -03:00
|
|
|
userdata Parameter method set boolean float'skip_check
|
|
|
|
userdata Parameter method set_and_save boolean float'skip_check
|
2022-01-17 16:49:39 -04:00
|
|
|
userdata Parameter method configured boolean
|
|
|
|
userdata Parameter method set_default boolean float'skip_check
|
2021-01-02 11:34:36 -04:00
|
|
|
|
|
|
|
|
2019-11-23 14:58:36 -04:00
|
|
|
include AP_Mission/AP_Mission.h
|
|
|
|
singleton AP_Mission alias mission
|
|
|
|
singleton AP_Mission scheduler-semaphore
|
|
|
|
singleton AP_Mission enum MISSION_STOPPED MISSION_RUNNING MISSION_COMPLETE
|
|
|
|
singleton AP_Mission method state uint8_t
|
|
|
|
singleton AP_Mission method get_current_nav_index uint16_t
|
2020-12-20 15:57:43 -04:00
|
|
|
singleton AP_Mission method set_current_cmd boolean uint16_t 0 (ud->num_commands()-1)
|
2019-11-23 14:58:36 -04:00
|
|
|
singleton AP_Mission method get_prev_nav_cmd_id uint16_t
|
|
|
|
singleton AP_Mission method get_current_nav_id uint16_t
|
|
|
|
singleton AP_Mission method get_current_do_cmd_id uint16_t
|
|
|
|
singleton AP_Mission method num_commands uint16_t
|
2020-05-04 21:27:56 -03:00
|
|
|
singleton AP_Mission method get_item boolean uint16_t 0 UINT16_MAX mavlink_mission_item_int_t'Null
|
|
|
|
singleton AP_Mission method set_item boolean uint16_t 0 UINT16_MAX mavlink_mission_item_int_t
|
2020-09-04 19:13:41 -03:00
|
|
|
singleton AP_Mission method clear boolean
|
2020-05-04 21:27:56 -03:00
|
|
|
|
2021-10-21 18:22:15 -03:00
|
|
|
userdata mavlink_mission_item_int_t field param1 float'skip_check read write
|
|
|
|
userdata mavlink_mission_item_int_t field param2 float'skip_check read write
|
|
|
|
userdata mavlink_mission_item_int_t field param3 float'skip_check read write
|
|
|
|
userdata mavlink_mission_item_int_t field param4 float'skip_check read write
|
2020-05-04 21:27:56 -03:00
|
|
|
userdata mavlink_mission_item_int_t field x int32_t read write -INT32_MAX INT32_MAX
|
|
|
|
userdata mavlink_mission_item_int_t field y int32_t read write -INT32_MAX INT32_MAX
|
2021-10-21 18:22:15 -03:00
|
|
|
userdata mavlink_mission_item_int_t field z float'skip_check read write
|
2020-05-04 21:27:56 -03:00
|
|
|
userdata mavlink_mission_item_int_t field seq uint16_t read write 0 UINT16_MAX
|
|
|
|
userdata mavlink_mission_item_int_t field command uint16_t read write 0 UINT16_MAX
|
|
|
|
-- userdata mavlink_mission_item_int_t field target_system uint8_t read write 0 UINT8_MAX
|
|
|
|
-- userdata mavlink_mission_item_int_t field target_component uint8_t read write 0 UINT8_MAX
|
|
|
|
userdata mavlink_mission_item_int_t field frame uint8_t read write 0 UINT8_MAX
|
|
|
|
userdata mavlink_mission_item_int_t field current uint8_t read write 0 UINT8_MAX
|
|
|
|
-- userdata mavlink_mission_item_int_t field autocontinue uint8_t read write 0 UINT8_MAX
|
|
|
|
|
2020-03-05 19:50:52 -04:00
|
|
|
|
|
|
|
include AP_RPM/AP_RPM.h
|
|
|
|
singleton AP_RPM alias RPM
|
|
|
|
singleton AP_RPM method get_rpm boolean uint8_t 0 RPM_MAX_INSTANCES float'Null
|
2019-12-23 19:22:54 -04:00
|
|
|
|
|
|
|
include AP_Button/AP_Button.h
|
2021-08-12 00:38:19 -03:00
|
|
|
singleton AP_Button depends HAL_BUTTON_ENABLED == 1
|
2019-12-23 19:22:54 -04:00
|
|
|
singleton AP_Button alias button
|
|
|
|
singleton AP_Button method get_button_state boolean uint8_t 1 AP_BUTTON_NUM_PINS
|
2020-09-03 10:33:13 -03:00
|
|
|
|
|
|
|
include AP_Notify/ScriptingLED.h
|
|
|
|
singleton ScriptingLED alias LED
|
|
|
|
singleton ScriptingLED method get_rgb void uint8_t'Ref uint8_t'Ref uint8_t'Ref
|
2020-11-03 14:38:16 -04:00
|
|
|
|
|
|
|
include ../ArduPlane/quadplane.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
|
|
|
singleton QuadPlane alias quadplane
|
2021-09-10 03:28:01 -03:00
|
|
|
singleton QuadPlane depends APM_BUILD_TYPE(APM_BUILD_ArduPlane) && HAL_QUADPLANE_ENABLED
|
2020-11-03 14:38:16 -04:00
|
|
|
singleton QuadPlane method in_vtol_mode boolean
|
2021-08-16 16:47:05 -03:00
|
|
|
singleton QuadPlane method in_assisted_flight boolean
|
2021-01-19 12:52:02 -04:00
|
|
|
|
2021-10-25 14:10:53 -03:00
|
|
|
include AP_Motors/AP_MotorsMatrix.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
|
|
|
singleton AP_MotorsMatrix depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
2021-01-19 12:52:02 -04:00
|
|
|
singleton AP_MotorsMatrix alias MotorsMatrix
|
2021-06-19 15:13:58 -03:00
|
|
|
singleton AP_MotorsMatrix method init boolean uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_MotorsMatrix method add_motor_raw void int8_t 0 (AP_MOTORS_MAX_NUM_MOTORS-1) float'skip_check float'skip_check float'skip_check uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
2021-05-16 19:45:50 -03:00
|
|
|
singleton AP_MotorsMatrix method set_throttle_factor boolean int8_t 0 (AP_MOTORS_MAX_NUM_MOTORS-1) float 0 FLT_MAX
|
2020-12-20 15:57:43 -04:00
|
|
|
|
|
|
|
include AP_Frsky_Telem/AP_Frsky_SPort.h
|
|
|
|
singleton AP_Frsky_SPort alias frsky_sport
|
|
|
|
singleton AP_Frsky_SPort method sport_telemetry_push boolean uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX uint16_t 0 UINT16_MAX int32_t -INT32_MAX INT32_MAX
|
|
|
|
singleton AP_Frsky_SPort method prep_number uint16_t int32_t INT32_MIN INT32_MAX uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX
|
2021-01-26 09:02:38 -04:00
|
|
|
|
|
|
|
include AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.h depends APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
|
|
|
singleton AC_AttitudeControl_Multi_6DoF depends APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
|
|
|
singleton AC_AttitudeControl_Multi_6DoF alias attitude_control
|
|
|
|
singleton AC_AttitudeControl_Multi_6DoF method set_lateral_enable void boolean
|
|
|
|
singleton AC_AttitudeControl_Multi_6DoF method set_forward_enable void boolean
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AC_AttitudeControl_Multi_6DoF method set_offset_roll_pitch void float'skip_check float'skip_check
|
2021-01-26 09:02:38 -04:00
|
|
|
|
2021-01-26 09:03:20 -04:00
|
|
|
|
|
|
|
include AP_Motors/AP_MotorsMatrix_6DoF_Scripting.h depends APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
|
|
|
singleton AP_MotorsMatrix_6DoF_Scripting depends APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
|
|
|
singleton AP_MotorsMatrix_6DoF_Scripting alias Motors_6DoF
|
2021-06-19 15:13:58 -03:00
|
|
|
singleton AP_MotorsMatrix_6DoF_Scripting method init boolean uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
2021-08-04 22:13:55 -03:00
|
|
|
singleton AP_MotorsMatrix_6DoF_Scripting method add_motor void int8_t 0 (AP_MOTORS_MAX_NUM_MOTORS-1) float'skip_check float'skip_check float'skip_check float'skip_check float'skip_check float'skip_check boolean uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
2021-03-03 03:43:05 -04:00
|
|
|
|
|
|
|
include AP_HAL/I2CDevice.h
|
|
|
|
ap_object AP_HAL::I2CDevice semaphore-pointer
|
|
|
|
ap_object AP_HAL::I2CDevice method set_retries void uint8_t 0 20
|
|
|
|
ap_object AP_HAL::I2CDevice method write_register boolean uint8_t 0 UINT8_MAX uint8_t 0 UINT8_MAX
|
|
|
|
ap_object AP_HAL::I2CDevice method read_registers boolean uint8_t 0 UINT8_MAX &uint8_t'Null 1'literal
|
|
|
|
ap_object AP_HAL::I2CDevice method set_address void uint8_t 0 UINT8_MAX
|
2021-01-26 18:42:58 -04:00
|
|
|
|
|
|
|
|
2021-09-22 16:50:47 -03:00
|
|
|
ap_object AP_HAL::AnalogSource method set_pin boolean uint8_t 0 UINT8_MAX
|
2021-01-26 18:42:58 -04:00
|
|
|
ap_object AP_HAL::AnalogSource method voltage_average float
|
|
|
|
ap_object AP_HAL::AnalogSource method voltage_latest float
|
|
|
|
ap_object AP_HAL::AnalogSource method voltage_average_ratiometric float
|
2021-01-28 16:57:53 -04:00
|
|
|
|
|
|
|
userdata AP_HAL::PWMSource alias PWMSource
|
|
|
|
userdata AP_HAL::PWMSource method set_pin boolean uint8_t 0 UINT8_MAX "Scripting"'literal
|
|
|
|
userdata AP_HAL::PWMSource method get_pwm_us uint16_t
|
|
|
|
userdata AP_HAL::PWMSource method get_pwm_avg_us uint16_t
|
|
|
|
|
2021-03-17 19:50:32 -03:00
|
|
|
singleton hal.gpio alias gpio
|
|
|
|
singleton hal.gpio literal
|
|
|
|
singleton hal.gpio method read boolean uint8_t 0 UINT8_MAX
|
|
|
|
singleton hal.gpio method write void uint8_t 0 UINT8_MAX uint8_t 0 1
|
|
|
|
singleton hal.gpio method toggle void uint8_t 0 UINT8_MAX
|
|
|
|
singleton hal.gpio method pinMode void uint8_t 0 UINT8_MAX uint8_t 0 1
|
|
|
|
|
|
|
|
singleton hal.analogin alias analog
|
|
|
|
singleton hal.analogin literal
|
|
|
|
singleton hal.analogin method channel AP_HAL::AnalogSource ANALOG_INPUT_NONE'literal
|
2021-06-19 15:13:58 -03:00
|
|
|
|
2021-10-25 14:10:53 -03:00
|
|
|
include AP_Motors/AP_MotorsMatrix_Scripting_Dynamic.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
|
|
|
singleton AP_MotorsMatrix_Scripting_Dynamic depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
2021-06-19 15:13:58 -03:00
|
|
|
singleton AP_MotorsMatrix_Scripting_Dynamic alias Motors_dynamic
|
|
|
|
singleton AP_MotorsMatrix_Scripting_Dynamic method init boolean uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
|
|
|
singleton AP_MotorsMatrix_Scripting_Dynamic method add_motor void uint8_t 0 (AP_MOTORS_MAX_NUM_MOTORS-1) uint8_t 0 AP_MOTORS_MAX_NUM_MOTORS
|
|
|
|
singleton AP_MotorsMatrix_Scripting_Dynamic method load_factors void AP_MotorsMatrix_Scripting_Dynamic::factor_table
|
|
|
|
|
2021-10-25 14:10:53 -03:00
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
2021-06-19 15:13:58 -03:00
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table alias motor_factor_table
|
2021-10-21 18:22:15 -03:00
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table field roll'array AP_MOTORS_MAX_NUM_MOTORS float'skip_check read write
|
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table field pitch'array AP_MOTORS_MAX_NUM_MOTORS float'skip_check read write
|
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table field yaw'array AP_MOTORS_MAX_NUM_MOTORS float'skip_check read write
|
|
|
|
userdata AP_MotorsMatrix_Scripting_Dynamic::factor_table field throttle'array AP_MOTORS_MAX_NUM_MOTORS float'skip_check read write
|
2021-07-20 09:46:24 -03:00
|
|
|
|
|
|
|
include AP_InertialSensor/AP_InertialSensor.h
|
|
|
|
singleton AP_InertialSensor alias ins
|
|
|
|
singleton AP_InertialSensor method get_temperature float uint8_t 0 INS_MAX_INSTANCES
|
2021-07-23 08:15:49 -03:00
|
|
|
|
|
|
|
|
|
|
|
include AP_Scripting/AP_Scripting_CANSensor.h depends HAL_MAX_CAN_PROTOCOL_DRIVERS
|
|
|
|
include AP_HAL/AP_HAL.h
|
|
|
|
|
|
|
|
userdata AP_HAL::CANFrame depends HAL_MAX_CAN_PROTOCOL_DRIVERS
|
|
|
|
userdata AP_HAL::CANFrame alias CANFrame
|
|
|
|
userdata AP_HAL::CANFrame field id uint32_t read write 0U UINT32_MAX
|
|
|
|
userdata AP_HAL::CANFrame field data'array int(ARRAY_SIZE(ud->data)) uint8_t read write 0 UINT8_MAX
|
|
|
|
userdata AP_HAL::CANFrame field dlc uint8_t read write 0 int(ARRAY_SIZE(ud->data))
|
|
|
|
userdata AP_HAL::CANFrame method isExtended boolean
|
|
|
|
userdata AP_HAL::CANFrame method isRemoteTransmissionRequest boolean
|
|
|
|
userdata AP_HAL::CANFrame method isErrorFrame boolean
|
|
|
|
|
|
|
|
ap_object ScriptingCANBuffer depends HAL_MAX_CAN_PROTOCOL_DRIVERS
|
|
|
|
ap_object ScriptingCANBuffer method write_frame boolean AP_HAL::CANFrame uint32_t 0U UINT32_MAX
|
|
|
|
ap_object ScriptingCANBuffer method read_frame boolean AP_HAL::CANFrame'Null
|
2021-09-17 11:34:46 -03:00
|
|
|
|
|
|
|
|
|
|
|
include ../Tools/AP_Periph/AP_Periph.h depends defined(HAL_BUILD_AP_PERIPH)
|
|
|
|
singleton AP_Periph_FW depends defined(HAL_BUILD_AP_PERIPH)
|
|
|
|
singleton AP_Periph_FW alias periph
|
|
|
|
singleton AP_Periph_FW method get_yaw_earth float
|
|
|
|
singleton AP_Periph_FW method get_vehicle_state uint32_t
|
2022-01-01 11:55:45 -04:00
|
|
|
|
|
|
|
include AP_Motors/AP_Motors_Class.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
|
|
|
singleton AP::motors() depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
|
|
|
singleton AP::motors() literal
|
|
|
|
singleton AP::motors() alias motors
|
|
|
|
singleton AP::motors() method set_frame_string void string
|
2021-11-29 20:24:39 -04:00
|
|
|
|
|
|
|
include AP_Common/AP_FWVersion.h
|
|
|
|
singleton AP::fwversion() literal
|
|
|
|
singleton AP::fwversion() reference
|
|
|
|
singleton AP::fwversion() alias FWVersion
|
|
|
|
singleton AP::fwversion() field fw_short_string string read
|
|
|
|
singleton AP::fwversion() field fw_short_string alias string
|
|
|
|
singleton AP::fwversion() field vehicle_type uint8_t read
|
|
|
|
singleton AP::fwversion() field vehicle_type alias type
|
|
|
|
singleton AP::fwversion() field major uint8_t read
|
|
|
|
singleton AP::fwversion() field minor uint8_t read
|
|
|
|
singleton AP::fwversion() field patch uint8_t read
|
|
|
|
singleton AP::fwversion() field fw_hash_str string read
|
|
|
|
singleton AP::fwversion() field fw_hash_str alias hash
|
|
|
|
|
2022-01-07 23:46:16 -04:00
|
|
|
include AP_Follow/AP_Follow.h
|
|
|
|
singleton AP_Follow depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
|
|
|
singleton AP_Follow alias follow
|
|
|
|
singleton AP_Follow method have_target boolean
|
|
|
|
singleton AP_Follow method get_last_update_ms uint32_t
|
|
|
|
singleton AP_Follow method get_target_location_and_velocity boolean Location'Null Vector3f'Null
|
|
|
|
singleton AP_Follow method get_target_location_and_velocity_ofs boolean Location'Null Vector3f'Null
|
|
|
|
singleton AP_Follow method get_target_heading_deg boolean float'Null
|
|
|
|
|