Commit Graph

64359 Commits

Author SHA1 Message Date
Peter Barker b6426516b8 AP_HAL_SITL: work around bug in dash
dash doesn't search the path for scripts, so allow user to specify path to ArduPilot scripts
2024-08-07 17:03:52 +10:00
George Zogopoulos 1f01f75036 AP_NavEKF3: Corrected logged units 2024-08-07 17:02:28 +10:00
Nicole Ashley 7eb9bfc54e autotest: Add IBus test to Arducopter test suite 2024-08-07 14:01:44 +10:00
Nicole Ashley 3763d094f6 Tools: Add i-BUS telemetry to build and feature flags 2024-08-07 14:01:44 +10:00
Nicole Ashley 126d54bc93 AP_Vehicle: Initialise i-BUS telemetry when enabled 2024-08-07 14:01:44 +10:00
Nicole Ashley e2c7b489a1 AP_OSD: Add i-BUS telemetry serial protocol value 2024-08-07 14:01:44 +10:00
Nicole Ashley 6f42acc01f AP_SerialManager: Add serial protocol for i-BUS telemetry 2024-08-07 14:01:44 +10:00
Nicole Ashley 8040e7c502 AP_IBus_Telem: Initial implementation
Allows telemetry data to be sent to receivers that support the
i-BUS protocol (FlySky and Turnigy).
2024-08-07 14:01:44 +10:00
Peter Barker 994e3edfb5 Plane: move braces to be around entire case in do_aux_function 2024-08-07 12:22:49 +10:00
Peter Barker 70b23733ac AR_Motors: make AP_Motors::PWMType enum class
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-06 18:15:35 +10:00
Peter Barker 70a1bc7606 AP_Motors: make AP_Motors::PWMType enum class
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-06 18:15:35 +10:00
Peter Barker a211b66472 AP_BLHeli: make AP_Motors::PWMType enum class
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-06 18:15:35 +10:00
Peter Barker 7537acd3bc Tools: add build_option.py entry for Plane offboard-guided control 2024-08-06 17:45:17 +10:00
Peter Barker 74bf618a32 ArduPlane: add build_option.py entry for Plane offboard-guided control 2024-08-06 17:45:17 +10:00
Leonard Hall a4a9113cde AC_Autotune: Fix bug introduced in #27370 2024-08-06 17:45:04 +10:00
George Zogopoulos 14b505c3cb ArduPlane: Fixed typos 2024-08-06 14:03:27 +10:00
George Zogopoulos 9df4796b70 AP_Scripting: Typo fixes 2024-08-06 14:03:27 +10:00
Peter Barker bc80358e9b AP_Camera: rely on AHRS for position, not GPS
our location may not be coming from a GPS
2024-08-06 12:11:30 +10:00
Peter Barker b65a5a904c AP_SerialManager: tweak error message 2024-08-06 11:36:33 +10:00
Pradeep CK a6fe130225 Tools: addition of ESC extended status message
- Conditional compilation definition : AP_EXTENDED_ESC_TELEM_ENABLE
 - ESCX log structure
 - Update functionalities for ESCX status message
 - ESCX DroneCAN callback
2024-08-06 10:57:36 +10:00
Pradeep CK 0e53eb74df AP_ESC_Telem: addition of ESC extended status message
- Conditional compilation definition : AP_EXTENDED_ESC_TELEM_ENABLE
 - ESCX log structure
 - Update functionalities for ESCX status message
 - ESCX DroneCAN callback
2024-08-06 10:57:36 +10:00
Pradeep CK c7216c05b8 AP_DroneCAN: addition of ESC extended status message
- Conditional compilation definition : AP_EXTENDED_ESC_TELEM_ENABLE
 - ESCX log structure
 - Update functionalities for ESCX status message
 - ESCX DroneCAN callback
2024-08-06 10:57:36 +10:00
Peter Barker 54a6344bd3 Tool: build_options.py: add AP_ROVER_ADVANCED_FAILSAFE_ENABLED 2024-08-06 09:38:08 +09:00
Peter Barker 227b6780b2 Rover: remove ENABLE/DISABLE defines 2024-08-06 09:38:08 +09:00
Peter Barker 516c2a853f hwdef: add named Pixhack-v3 board
allows for building this on the custom build server
2024-08-06 10:29:05 +10:00
Iampete1 c271771a1e AP_ICEngine: stop engine in E-Stop 2024-08-06 09:56:44 +10:00
Peter Barker 2fd10d5ff2 Plane: remove ancient parameter conversion code
upgrading from 3.7 to 4.6 will not work as well as it otherwise might after this...
2024-08-06 09:55:27 +10:00
Peter Barker cbdbbf436c AP_SerialManager: add warning iffrsky already configured 2024-08-06 09:46:56 +10:00
Peter Barker 6151b84c86 AP_LTM_Telem: disable LTM telemetry by default
we have a custom build server if this is required
2024-08-06 09:30:49 +10:00
Peter Barker cb57beaf8f AP_Hott_Telem: disable Hott telemetry by default
we now have a custom build server
2024-08-06 09:30:49 +10:00
Peter Barker 8f7cde12ab ArduCopter: add logging for land detector 2024-08-06 09:28:37 +10:00
YI-BOYANG 6279f67150 bootloaders: add GEPRCF745BTHD bootloader 2024-08-06 09:12:23 +10:00
YI-BOYANG 559a6e8f65 AP_HAL_ChibiOS: hwdef for GEPRCF745BTHD 2024-08-06 09:12:23 +10:00
YI-BOYANG d54a1e4434 AP_Bootloader: add board id for GEPRCF745BTHD 2024-08-06 09:12:23 +10:00
YI-BOYANG 50b68b608e scripts: add GEPRCF745BTHD to manifest generator 2024-08-06 09:12:23 +10:00
Thomas Watson a164abaafb AP_Scripting: add REPL applet
Implements a reasonably comfortable REPL accessible over serial entirely
as a loadable script.

Also accessible over MAVLink using QGroundControl's MAVLink Console and
the new mavport module.
2024-08-06 09:08:04 +10:00
Thomas Watson 87d2b017aa AP_Scripting: add mavport module
Abstracts the MAVLink SERIAL_CONTROL message to be usable as a Lua port,
in particular the DEV_SHELL device supported by QGroundControl's MAVLink
Console.
2024-08-06 09:08:04 +10:00
Thomas Watson 5ec3313c31 AP_HAL: remove never-overridden get_shell_stream function
The only caller is now gone and nobody ever overrode it to do return
more than nullptr.
2024-08-06 09:08:04 +10:00
Thomas Watson abae008250 GCS_MAVLink: remove vestigial SERIAL_CONTROL_DEV_SHELL support
The HAL always returns nullptr so the function always returns, which is
handled already by the default.
2024-08-06 09:08:04 +10:00
Peter Barker 6c851c4ea3 Tools: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Peter Barker 923b5185c6 AP_HAL_ChibiOS: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Peter Barker a6cda46de3 Plane: stop using ENABLED against OSD_ENABLED
it uses 1 in AP_OSD_config.h
2024-08-05 10:20:14 +10:00
Peter Barker b1659649ed Plane: remove ENABLED/ENABLE defines 2024-08-05 10:20:14 +10:00
Peter Barker c2f5c48fe5 Plane: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Peter Barker da562369b5 Plane: remove replace PARACHUTE define with AP_PARACHUTE_ENABLED 2024-08-05 10:20:14 +10:00
Peter Barker ba2bec07fa AP_HAL_ChibiOS: add env option to omit hwdef.dat from romfs 2024-08-05 10:20:14 +10:00
Peter Barker d3ab49205b Blimp: remove ENABLED/DISABLED defines
these are unused
2024-08-05 09:30:11 +10:00
Andrew Tridgell 9543eecf23 HAL_ChibiOS: fixed AP_FILESYSTEM_ROMFS_ENABLED for peripherals with defaults.parm
now that defaults are in ROMFS we must enable
AP_FILESYSTEM_ROMFS_ENABLED
2024-08-04 17:36:31 +10:00
Andrew Tridgell 7bdb8d770d SRV_Channel: added AM32 to the SERVO_DSHOT_ESC param docs
setting 3 works well with AM32
2024-08-04 07:31:22 +10:00
Thomas Watson f2f1ac39cf AP_Periph: remove redundant DroneCAN packet buffer initialization
The <msg>_encode method always zeros the buffer up to <msg>_MAX_SIZE
bytes so there is no need to do it before calling the function.

Saves at least 8 bytes per instance.
2024-08-03 19:02:39 +10:00