Commit Graph

58 Commits

Author SHA1 Message Date
Andrew Tridgell 10209a2a13 AP_Scripting: added UltraMotion servo driver 2024-11-28 09:24:03 +11:00
Andrew Tridgell 1c6ac0990c AP_Scripting: added UltraMotion servo driver
see https://www.ultramotion.com/servo-cylinder/
2024-11-28 09:24:03 +11:00
Thomas Watson dd270dac2e AP_Scripting: mount-djirs2: increase bus/mount setup flexibility
In particular allows the use of the gimbal using PROTOCOL2 attached to a
DroneCAN bus. ArduPilot 4.6 is recommended due to the timeout bug causing
message sends to fail regularly on 4.5.

Tested also that misconfiguring the CAN bus will result in the driver
failing to start, though the error message will be less specific.
2024-11-08 10:47:41 +11:00
Thomas Watson 1f0dff0178 AP_Scripting: mount-djirs2: filter out ignored packets
Allows using a smaller buffer and simplifying the script logic.
2024-11-08 10:47:41 +11:00
Thomas Watson afcc722995 AP_Scripting: mount-djirs2: re-enable lua checks and fix issues 2024-11-08 10:47:41 +11:00
Andrew Tridgell cbba88fccd AP_Scripting: added 2nd supply voltage to SkyPower EFI driver
and accept both extended and 11-bit CAN
2024-09-14 09:24:03 +10:00
Andrew Tridgell 842a4f507b AP_Scripting: added NMEA 2000 EFI driver
this has been tested on a marine engine, and correctly produces key
telemetry data

the NMEA_2000.lua module is broken out to make it easier to add other
NMEA 2000 based drivers
2024-07-06 07:19:25 +10:00
Andrew Tridgell 32750476be AP_Scripting: added more telemetry for INF Inject 2024-06-25 09:34:18 +10:00
Andrew Tridgell b108d9cf09 AP_Scripting: added throttle and ignition control for INF_INject
allows full control over serial
2024-06-25 09:34:18 +10:00
Andrew Tridgell c783f632c1 AP_Scription: added CANF logging to Halo6000 EFI driver
allows for easier debugging
2024-06-09 08:37:44 +10:00
Iampete1 5bb5f442e1 AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
Andrew Tridgell e2767f899f AP_Scripting: allow for 0x00 for 2nd checksum byte in INF_Inject driver
the device does send 0x00 sometimes and data is valid
2024-05-04 07:43:39 +10:00
Andrew Tridgell c628e31c0a AP_Scripting: fixed crc and added logging to INF_Inject driver 2024-05-02 12:17:49 +10:00
Andrew Tridgell 1cafe25854 AP_Scripting: improve INF inject driver
make it more robust to serial errors, and support correct checksum
2024-04-14 07:19:40 +10:00
Andrew Tridgell 098277ce6a AP_Scripting: added ANX CAN battery driver 2024-01-09 07:53:59 +11:00
Andrew Tridgell 8732f582c3 AP_Scripting: update SkyPower driver to support new model
support SP-275 dual-cylinder ECU
2023-12-17 14:14:20 +11:00
Randy Mackay 56a2474e1c AP_Scripting: djirs2 reply timeout reduced to 0.1 sec 2023-12-13 18:16:11 +11:00
Thomas Watson 95033b2ef5 AP_Scripting: mount-djirs2 yaw angle reporting fix 2023-12-13 18:16:11 +11:00
Randy Mackay b507075701 AP_Scripting: mount-djir2 handles both legacy and latest ver 2023-12-13 18:16:11 +11:00
Thomas Watson c6c41cb609 AP_Scripting: mount-djirs2: fix parsing for latest firmware
DJI R SDK version 2.2.0.5 released on October 30, 2020 added CmdSet and
CmdID bytes to reply frames before the data segment which need to be
skipped when parsing replies.

Tested with gimbal firmware 01.04.00.20 and 01.05.00.20 (latest version).
2023-12-13 18:16:11 +11:00
Andrew Tridgell c1831bae32 AP_Scripting: added HobbyWing DataLink lua driver 2023-11-06 07:12:35 +11:00
Andrew Tridgell 96f7cc2d38 AP_Scripting: added SVFFI generator support 2023-10-18 09:01:57 +11:00
Andrew Tridgell 020807a064 AP_Scripting: added INF_Inject EFI driver 2023-10-04 18:29:10 +11:00
Andrew Tridgell 4ca2277f1a AP_Scripting: added logging to EFI_Halo6000.lua driver
allows for log analysis of current/voltage
2023-09-30 17:15:36 +10:00
Andrew Tridgell 23e4fba3f7 AP_Scripting: added EFI driver for DLA EFI serial protocol
a simple serial protocol, no CRC, gap framed
2023-09-03 08:34:33 +10:00
rishabsingh3003 153ff58bd9 AP_Scripting: Add drivers for NoopLoop TOFSense-M CAN and Serial sensors 2023-08-03 08:02:49 +09:00
Randy Mackay 380c20154f AP_Scripting: mount-djirs2 driver angle reporting fix 2023-07-26 17:33:18 +10:00
Randy Mackay a81f1cb993 AP_Scripting: viewpro driver fix for pitch angle reporting 2023-07-26 17:33:18 +10:00
Randy Mackay b80ea6572c AP_Scripting: viewpro driver comment fix 2023-07-18 21:02:02 +09:00
Andrew Tridgell 533577924e AP_Scripting: fixed temperatures for Halo6000 driver
temps are offset by 40 deg C
2023-06-07 07:27:46 +10:00
Andrew Tridgell 8cb638b7e1 AP_Scripting: added Halo6000 generator/EFI driver
used to monitor Foxtech Halo6000 generator for Thor210 hexacopter
2023-05-30 21:04:34 +10:00
Randy Mackay d3f2309eac AP_Scripting: viewpro driver uses camera state with Vector2f 2023-05-08 21:26:35 +10:00
Randy Mackay 7db3f27357 AP_Scripting: viewpro driver implements image tracking 2023-05-08 21:26:35 +10:00
Randy Mackay 294eb1db5b AP_Scripting: viewpro driver uses focus type and value 2023-04-26 22:55:47 +10:00
Randy Mackay ea1836304a AP_Scripting: ViewPro driver supports zoom pct 2023-04-19 17:31:46 +10:00
Randy Mackay b9e06438f1 AP_Scripting: ViewPro driver bug fix 2023-04-14 07:47:47 +10:00
Randy Mackay ffc3ad1c1a AP_Scripting: viewpro driver uses camera scripting backend 2023-04-13 07:04:46 +10:00
Randy Mackay af64de3412 AP_Scripting: mount-viewpro driver gets param desc 2023-04-12 17:08:12 +10:00
Randy Mackay 6934a638a1 AP_Scripting: Viewpro driver setup instruction fix 2023-04-12 17:08:12 +10:00
Bob Long 74279d9b32 AP_Scripting: add fuel_pressure_status binding 2023-03-07 20:35:13 +09:00
Randy Mackay 5fc322b327 AP_Scripting: add djirs2 driver parameter descriptions 2023-02-22 18:08:27 +11:00
Randy Mackay c80c4adf3e AP_Scripting: djirs2 driver supports upsidedown setup 2023-02-22 18:08:27 +11:00
Randy Mackay 4918bb4705 AP_Scripting: djirs2 driver minor comment fix 2023-02-22 18:08:27 +11:00
Randy Mackay 0797cdf6fe AP_Scripting: viewpro mount driver 2023-02-16 16:49:51 +09:00
Iampete1 02e9bf6ff5 AP_Scripting: drivers: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Randy Mackay eb752a8397 AP_Scripting: djirs2 comment fix 2023-02-15 18:03:39 +11:00
Randy Mackay 4b8d99b25d AP_Scripting: djirs2 roll direction fix 2023-02-15 18:03:39 +11:00
Randy Mackay 00b9838c08 AP_Scripting: djirs2 driver gets missing wrap_360 2023-02-15 18:03:39 +11:00
Andrew Tridgell 6bf633d5d9 AP_Scripting: added parameters for EFI_SkyPower 2023-02-12 07:02:15 +11:00
Randy Mackay 7266f6ee7b AP_Scripting: DJIR2 gimbal driver 2023-01-31 17:20:37 +09:00