Commit Graph

64349 Commits

Author SHA1 Message Date
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
Thomas Watson 308ee11ca2 AP_Bootloader: 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
Andrew Tridgell d48f9ef12c AP_Scripting: added example copter_deploy.lua 2024-08-03 14:29:51 +10:00
Andrew Tridgell ebad1631d7 AP_Scripting: added arm_force() and baro get_altitude_difference() 2024-08-03 14:29:51 +10:00
Andrew Tridgell 6a1d09959b AP_Arming: added arm_force() for scripting 2024-08-03 14:29:51 +10:00
Peter Barker 6fd1f3881d Tracker: remove ENABLED/DISABLED defines 2024-08-03 11:57:02 +09:00
EternAlmox 8fd99468fd Tools: added MFT-SEMA100 2024-08-02 18:40:59 +10:00
EternAlmox 2ad7177a39 AP_HAL_ChibiOS: added MFT-SEMA100 2024-08-02 18:40:59 +10:00
Peter Barker bc1c305629 AP_HAL: default SITL and Linux to have 4MB of "flash" 2024-08-02 16:29:57 +10:00
Peter Barker 894b99fce5 AP_HAL: remove unused HAL_MINIMIZE_FEATURES define 2024-08-02 16:29:57 +10:00
Peter Barker 9049aeaff6 GCS_MAVLink: accept mavlink standard force arm/disarm value for forced arming
the mavlink standard specifies just one value to do either arm or disarm.  Conform to that standard
2024-08-02 16:29:13 +10:00