Tom Pittenger
47fdf2295c
AP_Scripting: add bindings for ahrs.wind_alignment and ahrs.head_wind
2023-12-26 10:20:23 +11:00
Peter Barker
22c1019767
AP_Scripting: correct compilation when AP_RTC is compiled out
2023-12-12 14:35:25 +11:00
Iampete1
782605e7ea
AP_Scripting: CANSensor: Add filtering of incoming frames
...
Co-authored-by: Andras Schaffer <eosbandi@gmail.com>
2023-12-12 11:32:04 +11:00
Andrew Tridgell
75217ec1e6
AP_Scripting: added readstring for uarts
...
this is much more efficient than reading a byte at a time
2023-12-12 07:42:15 +11:00
Andrew Tridgell
ffb7328ede
AP_Scripting: review fixes
...
thanks Pete!
2023-12-11 18:00:38 +11:00
Andrew Tridgell
90c12d4db3
AP_Scripting: added stat() binding for filesystem
2023-12-11 18:00:38 +11:00
Andrew Tridgell
1e1255c8f0
AP_Scripting: added sendfile() API on sockets
2023-12-11 18:00:38 +11:00
Andrew Tridgell
f924497194
AP_Scripting: added poll bindings
2023-12-11 18:00:38 +11:00
Andrew Tridgell
3446ff78d7
AP_Scripting: added isdirectory()
2023-12-11 18:00:38 +11:00
Andrew Tridgell
9065baa329
AP_Scripting: added bindings for SocketAPM
2023-12-11 18:00:38 +11:00
Andy Piper
b5ef11797b
AP_Scripting: add success status to serialLED:send and serialLED:set_RGB
2023-11-20 19:22:20 +11:00
Andrew Tridgell
3e0e32a409
AP_Scripting: support 2nd cylinder in EFI
2023-11-17 13:09:02 +11:00
Iampete1
ae2ab08b1f
AP_Scripting: add bindings for fence
2023-11-07 07:52:14 +11:00
Andrew Tridgell
96f5a1cb2b
AP_Scripting: added bindings for telemetry data for ESCs
...
allows more complete ESC protocol implementation in scripting
2023-11-06 07:12:35 +11:00
Iampete1
66b8fd95ad
AP_Scripting: add binding for GCS last seen time
2023-11-04 19:10:36 +11:00
Andrew Tridgell
a190dfe24a
AP_Scripting: added get_cell_voltage() API and arming check example
...
this allows for cell imbalance to be checked as an arming check using
a lua script
2023-10-25 07:31:24 +11:00
Iampete1
105801c5b0
AP_Scripting: add support for dependencty on manual methods, remove handling of mission commands without AP_Mission
2023-10-17 10:23:20 +11:00
Iampete1
77e2d07979
AP_Scripting: add lots off missing binding dependencies
2023-10-17 10:23:20 +11:00
Iampete1
fc68bf8979
AP_Scripting: don't include CAN support on periph if there is only one CAN port
2023-10-17 10:23:20 +11:00
Iampete1
a068569f8a
AP_Scripting: add basic print
2023-10-04 18:34:08 +11:00
Andy Piper
dd7f65ec51
AP_Scripting: support set_num_neopixel_rgb()
2023-10-04 18:06:17 +11:00
Clyde McQueen
924a391d55
AP_Scripting: add sub bindings for joystick buttons
2023-09-27 08:14:36 +10:00
Iampete1
7bbd4a7c7d
AP_Scripting: add some missing dependencies
2023-09-26 11:29:42 +10:00
Iampete1
82628c2559
AP_Scripting: bindings: allow GCS without high latency
2023-09-26 11:29:42 +10:00
Shiv Tyagi
0d87479314
AP_Scripting: make follow bindings dependant on AP_FOLLOW_ENABLED
2023-08-15 09:57:35 +10:00
rishabsingh3003
b6a54bbef9
AP_Scripting: Add scripting proximity driver bindings
2023-08-03 08:02:49 +09:00
Randy Mackay
0fd87667e5
AP_Scripting: AR_PosControl bindings
2023-08-01 09:16:17 +10:00
Randy Mackay
5e3c0d4ead
AP_Scripting: add AR_AttitudeControl srate binding
...
also add AP_Vehicle:get_steering_and_throttle binding
2023-08-01 09:16:17 +10:00
Andrew Tridgell
0f8d618102
AP_Scripting: added bindings for VTOL motor loss
...
this allows a script to take an action on loss of a VTOL motor
2023-07-13 08:03:52 +10:00
Iampete1
1c5f3c708a
AP_Scripting: add new mavlink binding to block commands
2023-07-04 10:20:42 +10:00
Peter Barker
f96266b227
AP_Scripting: add option to disable relay and servorelay libraries
2023-06-20 09:36:39 +10:00
Andrew Tridgell
51c4c047d6
AP_Scripting: added log_file_content method
...
this allows for aerobatics to log the schedule for easier log review
2023-06-14 19:02:23 +10:00
Tatsuya Yamaguchi
7ebc2256bc
AP_Scripting: add is_landing and is_taking_off binding
2023-05-26 10:59:09 -07:00
bugobliterator
949f0e36d0
AP_Scripting: change receive_msgid to register_rx_msgid
2023-05-24 19:03:28 +10:00
bugobliterator
d056a33dca
AP_Scripting: use _chan to mark the methods that are mavlink channel based
2023-05-24 19:03:28 +10:00
bugobliterator
076d00fd1e
AP_Scripting: add mavlink support to scripting
2023-05-24 19:03:28 +10:00
Hayden
09fd157b9b
AP_Scripting: Add health checks
...
Added health checks for the Baro, InertialSensor, IOMCU, and Compass
2023-05-24 12:39:47 +10:00
Peter Barker
772eda555b
AP_Scripting: correct dependencies on bindings
2023-05-16 10:31:01 +10:00
Randy Mackay
2be750eaf8
AP_Scripting: camera state bindings use Vector2f
2023-05-08 21:26:35 +10:00
Randy Mackay
98636287fc
AP_Scripting: camera state gets tracking
2023-05-08 21:26:35 +10:00
Iampete1
7a129e73cb
AP_Scripting: bindings: remaining EFI_State to read and write
2023-05-08 19:43:24 +10:00
Randy Mackay
edc2ea7bf6
AP_Scripting: camera state uses focus_type and focus_value
2023-04-26 22:55:47 +10:00
Randy Mackay
82d03e45e0
AP_Scripting: integrate camera_state_t scope change
2023-04-19 17:31:46 +10:00
Randy Mackay
4090c50e8f
AP_Scripting: camera set_zoom binding replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Robert Taylor
59cb583d63
AP_Scripting: Add efi get_state function
2023-04-18 10:31:01 +10:00
Robert Taylor
7b64d09dc4
AP_Scripting: Make EFI bindings readable
2023-04-18 10:31:01 +10:00
Randy Mackay
1a9189d602
AP_Scripting: add binding for camera semaphore
2023-04-13 07:04:46 +10:00
Randy Mackay
1a375f1ff5
AP_Scripting: remove mount get_camera_state
...
AP_Camera scripting backend provides access
2023-04-13 07:04:46 +10:00
Randy Mackay
554d52b6fe
AP_Scripting: add AP_Camera::get_state bindings
2023-04-13 07:04:46 +10:00
Randy Mackay
03148a113f
AP_Scripting: add camera bindings
2023-04-13 07:04:46 +10:00
Peter Barker
80ca43ad37
AP_Scripting: correct depends for AP_Winch
2023-04-10 09:20:47 +10:00
Andrew Tridgell
19a46fff0f
AP_Scripting: added vehicle:reboot() binding
2023-03-24 08:31:25 +11:00
Peter Barker
8e1decc730
AP_Scripting: correct compilation when AP_EFI_Scripting is not enabled
2023-03-14 12:09:26 +11:00
Bob Long
74279d9b32
AP_Scripting: add fuel_pressure_status binding
2023-03-07 20:35:13 +09:00
Peter Hall
9ac488d500
AP_Scripting: add binding to set motors external limits
2023-03-07 10:12:30 +11:00
Peter Hall
23fb73085a
AP_Scripting: add bindings to get throttle, forward, lateral and spool state from motors
2023-03-07 10:12:30 +11:00
Andrew Tridgell
bc3fc9a317
AP_Scripting: added bindings for motors roll, pitch, yaw outputs
2023-03-07 10:12:30 +11:00
Iampete1
54a9239e62
AP_Scripting: fix PWMSource deletion crash
2023-03-05 09:42:05 +11:00
Tom Pittenger
5498bbec33
Scripting: add bindings for jump tags
2023-02-28 12:00:18 +11:00
Stephen Dade
0d8fedd2d5
AP_Scripting: Add bindings for throttle and frame type
2023-02-21 22:32:32 +11:00
Stephen Dade
a3cdfd0e3c
AP_Scripting: Add high latency MAVLink control
2023-02-21 22:32:32 +11:00
rishabsingh3003
c86d2641f1
AP_Scripting: Add support for lua scripting based RangeFinder
2023-02-21 16:47:56 +11:00
Randy Mackay
a84cf91dd0
AP_Scripting: add get_camera_state binding
2023-02-16 16:49:51 +09:00
Andrew Tridgell
2e5c5074af
AP_Scripting: added bindings for quadplane package place
2023-02-09 07:02:12 +11:00
Andrew Tridgell
84944bbf53
AP_Scripting: added set_rudder_offset binding
2023-02-08 16:25:39 +11:00
Iampete1
c5c7863829
AP_Scripting: add bindings for E-stop, Interlock and Safety state
2023-02-07 10:24:18 +11:00
Randy Mackay
0cbdd28f82
AP_Scripting: add mount driver bindings
2023-01-31 17:20:37 +09:00
Henry Wurzburg
f8c4356ce2
AP_Scripting: add error check to mission_load.lua
2023-01-21 11:09:52 +11:00
Henry Wurzburg
71099c881d
AP_Scripting: add error check to mission_load.lua
2023-01-17 10:24:08 +11:00
Henry Wurzburg
8de4195ffc
AP_Scripting: add readme.md file and completion
2023-01-04 16:20:12 +11:00
Andrew Tridgell
ea89f04a56
AP_Scripting: script switching system
...
Co-authored-by:Henry Wurzburg (hwurzburg@yahoo.com )
2023-01-04 16:20:12 +11:00
Peter Barker
1203f118d7
AP_Scripting: allow FRSky to be compiled out
2022-11-15 18:44:45 +11:00
Iampete1
6086402528
AP_Scripting: use helpers for full range return types to save flash
2022-11-15 10:33:51 +11:00
WillyZehnder
a7d5f8addc
AP_Scripting: bindings: get_alt_frame included
...
bindings.desc + docs.lua: get_alt_frame included
2022-10-25 10:21:05 +11:00
Andrew Tridgell
5def680fb9
AP_Scripting: fixed binding for nav_script_time
2022-10-23 18:11:15 +11:00
Iampete1
48ce8c4e16
AP_Scripting: binding gen: add number of argument to manual functions and generate docs for manual
2022-10-19 18:35:32 +11:00
Andrew Tridgell
ac1be8b500
AP_Scripting: added get_aux_cached() RC binding
2022-10-11 11:47:04 +11:00
Andrew Tridgell
19fd2d0b88
AP_Scripting: added relay get() binding
2022-10-11 11:47:04 +11:00
Randy Mackay
57f8a46339
AP_Scripting: add winch bindings
2022-10-06 14:39:28 +11:00
Andrew Tridgell
c00c13d011
AP_Scripting: changed bindings to ap_object
2022-10-02 08:15:06 +11:00
Andrew Tridgell
acb18cf946
AP_Scripting: update bindings for new fields
2022-10-02 08:15:06 +11:00
Joshua Henderson
d74081b22b
AP_Scripting: add scripting EFI bindings
2022-10-02 08:15:06 +11:00
Randy Mackay
7f8448e344
AP_Scripting: add Location::offset_bearing_and_pitch binding
2022-09-28 17:09:31 +10:00
Randy Mackay
dd58cb7492
AP_Scripting: add binding for Mount get_attitude_euler
2022-09-28 17:09:31 +10:00
Iampete1
b49ded9f8e
AP_Scripting: fix userdata skip check
2022-09-26 08:05:54 +10:00
MatthewHampsey
d17b528cab
AP_Scripting: added new functions to support trajectory script
2022-09-22 05:55:15 +10:00
Peter Barker
7a80c2778b
AP_Scripting: add and use AP_RPM_ENABLED
2022-09-20 09:28:27 +10:00
Iampete1
cb34895cfa
AP_Scripting: add maunal i2c binding allowing read of sequentual registers
2022-09-15 12:40:04 +10:00
Iampete1
41e36e3128
AP_Scripting: Parameter helper: allow optional param name in constructior
2022-09-14 13:59:40 +10:00
Iampete1
e51c42f8a5
AP_Scripting: enfoce skip check on correct types update description to match
2022-09-13 18:43:13 +01:00
Andrew Tridgell
1768149a72
AP_Scripting: added set_rpm_scale API
2022-09-13 07:48:19 +10:00
nrt
2c58206a75
AP_Scripting: added Lua example demonstrating the use of active source set
2022-08-18 02:05:27 -04:00
Peter Barker
20f73ad55e
AP_Scripting: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1
df6a5f0e0d
AP_Scripting: reuse uint32 dev operation for idiv
2022-08-17 17:18:26 +10:00
Andrew Tridgell
1995dbf47c
AP_Scripting: added update_rpm() scripting binding
2022-07-13 17:33:00 +10:00
Yuri
6a74be104f
AP_Scripting: add set_desired_speed binding
2022-07-07 19:34:10 +09:00
Andrew Tridgell
39fd4f01cd
AP_Scripting: fixed SimOnHardware build
...
HAL_MOUNT_ENABLED depends on !HAL_MINIMIZE_FEATURES
2022-07-07 12:33:01 +10:00
Andrew Tridgell
d8b98789e6
AP_Scripting: add support for scripting2 protocol
2022-07-03 08:21:55 +10:00
Randy Mackay
47e10eaefa
AP_Scripting: add bindings to control mount
2022-07-02 09:21:53 +09:00
Iampete1
7850aea186
AP_Scripting: load uint32_t bindings via generator
2022-05-10 09:42:57 +10:00