Commit Graph

59632 Commits

Author SHA1 Message Date
Andrew Tridgell 65537bdaca AP_BattMonitor: cope with NaN in consumed_mah 2023-08-26 21:12:42 +10:00
Andrew Tridgell bc825fb4c1 AP_Periph: added battery balance plug node
this supports a periph node attached to a LiPo battery balance plug,
reporting via BatteryInfoAux
2023-08-26 21:12:42 +10:00
Andrew Tridgell 04e1dc65c6 Tools: added AR-F407SmartBat board ID 2023-08-26 21:12:42 +10:00
Andrew Tridgell 5566ed979d AP_Periph: fixed default CAN node name
use org.ardupilot.BOARD_NAME
2023-08-26 21:12:42 +10:00
Andrew Tridgell 202e71482f HAL_ChibiOS: support CKS32F407 MCU
based on STM32F407
2023-08-26 21:12:42 +10:00
Peter Barker a3038e7e6b Rover: correct comments on MAV_CMD_NAV_SET_YAW_SPEED packet fields
these are wrong and misleading; the packet contains metres/second and degrees
2023-08-26 18:24:09 +10:00
Peter Barker aa6f351571 autotest: add tests for Rover MAV_CMD_NAV_SET_YAW_SPEED 2023-08-26 18:24:09 +10:00
Peter Barker 76c6d537ed Rover: support running MAV_CMD_NAV_SET_YAW_SPEED as command_int 2023-08-26 18:24:09 +10:00
Asif Khan e3f0904616 GCS_MAVLink: move handling of all do-set-roi to AP_Mount library 2023-08-26 17:55:53 +10:00
Asif Khan 3927521aa6 AP_Mount: move handling of all do-set-roi to AP_Mount library 2023-08-26 17:55:53 +10:00
Andrew Tridgell 725a2227ca AP_AHRS: return estimates from state structure
this lowers CPU usage and fixes race conditions
2023-08-26 17:13:10 +10:00
Peter Barker fcf6cc0eff Tools: document SIM_ACCx_BIAS_y 2023-08-26 16:15:58 +10:00
Peter Barker 149921792c SITL: document SIM_ACCx_BIAS_y 2023-08-26 16:15:58 +10:00
Peter Barker 395f829f76 autotest: factor out a setup_ICEngine_vehicle method for quadplane 2023-08-26 16:15:39 +10:00
Asif Khan dffeaf0897 AP_Mount: Siyi fix for continuous zoom
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-08-26 14:46:31 +09:00
Peter Barker d44b51fa4d Rover: allow MAV_CMD_MISSION_START as both command_long and command_int 2023-08-26 08:59:30 +10:00
Peter Barker 1228f4c458 autotest: add test for Rover MAV_CMD_MISSION_START 2023-08-26 08:59:30 +10:00
Peter Barker 4c39d73794 autotest: tidy announcements of commands being run 2023-08-26 08:59:30 +10:00
muramura 0ab76afb4d AP_BattMonitor: Change to floating value multiplication 2023-08-26 08:59:12 +10:00
subashchandar f34bb256dc Tools: Add new board ids 2023-08-26 08:06:21 +10:00
Peter Barker 4e44ee1a07 Rover: allow motor test to be issued as COMMAND_INT 2023-08-25 09:57:29 +10:00
Andrew Tridgell 999919424b hwdef: allow for MCO pin to be configured
this allows for hwdef.dat lines like this:

  PA8 MCO1 RCC
  PC9 MCO2 RCC

you can control the scaling by defining the following:

- STM32_MCO1SEL
- STM32_MCO1PRE_VALUE
- STM32_MCO2SEL
- STM32_MCO2PRE_VALUE
2023-08-25 07:37:12 +10:00
Peter Barker 7ed55bf0ff autotest: add tests for MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE 2023-08-24 22:07:12 +10:00
Peter Barker b8eb954f46 autotest: add specific tests for MAV_CMD_DO_MOUNT_CONTROL 2023-08-24 22:07:12 +10:00
Peter Barker e922d7e3bd ArduCopter: accept mount commands as command_int 2023-08-24 22:07:12 +10:00
Peter Barker a2d5244b10 GCS_MAVLink: accept mount commands as command_int 2023-08-24 22:07:12 +10:00
Peter Barker 02d1eca49b AP_Mount: accept mount commands as command_int 2023-08-24 22:07:12 +10:00
Randy Mackay c2be0a5767 Copter: 4.3.8 release notes 2023-08-24 20:28:28 +09:00
MallikarjunSE 00879e9b0b AP_HAL_ChibiOS/hwdef: Add hwdef for Sierra True series periphs 2023-08-24 17:47:05 +10:00
MallikarjunSE 6ffbc210da Tools/bootloaders: Add Sierra True series bootloader 2023-08-24 17:47:05 +10:00
MallikarjunSE 5e6591fa58 AP_HAL_ChibiOS/hwdef: Add hwdef for Sierra-PrecisionPoint 2023-08-24 17:45:31 +10:00
MallikarjunSE ac2c1056cd Tools/bootloaders: Add Sierra-PrecisionPoint bootloader 2023-08-24 17:45:31 +10:00
Ryan Friedman c58cc58363 ardupilotwaf: Fix incorrect comment for cmake minimum version
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 15:01:27 +10:00
Peter Barker 8decb9d43f Rover: rely on magic long-to-int conversion to handle MAV_CMD_DO_CHANGE_SPEED 2023-08-24 13:06:00 +09:00
Peter Barker 2b9b3c07cb autotest: add test for rover MAV_CMD_DO_CHANGE_SPEED 2023-08-24 13:06:00 +09:00
Andrew Tridgell 08fd7973e2 Tools: removed force32 bit option for sitltest-can
multicast does not work on CI as 32 bit binary
2023-08-24 13:06:40 +10:00
Andrew Tridgell 914d31b4cf autotest: fixed test known frames
this test can't handle periph based frames
2023-08-24 13:06:40 +10:00
Andrew Tridgell 6643231b2e autotest: implement parameter files per peripheral in CI tests
this allows for one peripheral to have ESCs and the other not
2023-08-24 13:06:40 +10:00
Andrew Tridgell 5f47a94e2b AP_RangeFinder: use NaN for invalid rangefinder data 2023-08-24 13:06:40 +10:00
Andrew Tridgell 1b6c329de5 SITL: use NaN for invalid rangefinder data
needed to cope properly with terrain errors leading to negative
rangefinder data
2023-08-24 13:06:40 +10:00
Andrew Tridgell f076f7c4f1 HAL_SITL: use nan to indicate no actuator value
this allows for multiple periph nodes, each providing a subset of
motors/servos
2023-08-24 13:06:40 +10:00
Andrew Tridgell cc9f973007 waf: enable ESC telemetry for CAN SITL peripheral 2023-08-24 13:06:40 +10:00
Andrew Tridgell 3a8fd367ad AP_ESC_Telem: use SIM_CAN_SRV_MSK and fixed throttle dependency
RPM should not depend on "throttle", it is per motor
2023-08-24 13:06:40 +10:00
Andrew Tridgell 4e71023018 SITL: added SIM_CAN_SRV_MSK
mask of outputs that will come from the CAN SITL peripheral
2023-08-24 13:06:40 +10:00
Andrew Tridgell b72f4a3cd8 HAL_SITL: enable GPIO and RC output in periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 823ac579cd HAL_SITL: added debug for multicast startup
useful for CI diagnosis
2023-08-24 13:06:40 +10:00
Andrew Tridgell 52d80241b9 autotest: added quadplane-can vehicle
setup with all CAN peripherals
2023-08-24 13:06:40 +10:00
Andrew Tridgell 4a07f7a4eb HAL_SITL: block in MC read for packet in AP_Periph
can't advance time without a new multicast packet
2023-08-24 13:06:40 +10:00
Andrew Tridgell 032c5cc6fe waf: enable RC output in AP_Periph SITL 2023-08-24 13:06:40 +10:00
Andrew Tridgell 54e4013d9f AP_Periph: link more RC output libs 2023-08-24 13:06:40 +10:00