Commit Graph

52190 Commits

Author SHA1 Message Date
Tom Pittenger
c3bd6d6014 modules: DSDL change mppt/Stream ID from 20020 to 20009 to avoid conflict with Volz 2022-02-18 12:16:31 -08:00
Peter Barker
001a06d17d autotest: add tests to a pair of lua scripts 2022-02-18 21:23:06 +11:00
Peter Barker
9229fb6f9d AP_AHRS: add alias get_position to get_location 2022-02-18 21:23:06 +11:00
Peter Barker
9aeab4978f AP_Scripting: replace get_position alias with call to wrapper method
the alias breaks the call it is aliasing to
2022-02-18 21:23:06 +11:00
Peter Barker
f6a1df472a Filter: add trivial test that ModeFilter's get method works
.... previously only checking return value of apply
2022-02-18 17:55:04 +11:00
Peter Barker
0a8cccd79a Filter: add test for AverageIntegralFilter 2022-02-18 12:11:46 +11:00
Peter Barker
25263b7db7 mavlink: reference mavlink master 2022-02-18 06:50:31 +11:00
Andrew Tridgell
3a59002bf1 Tools: updated CAN bootloaders for px4 fw update compat 2022-02-17 14:37:41 +11:00
Andrew Tridgell
7e18d85f7e hwdef: added compat board ID for FreeFly RTK GPS 2022-02-17 14:37:41 +11:00
Andrew Tridgell
16725f2dd4 AP_Bootloader: support ALT_BOARD_ID 2022-02-17 14:37:41 +11:00
Andrew Tridgell
432c2d1758 AP_Bootloader: support firmware update from px4 firmware
allows droncan_gui_tool to update px4 firmware with ArduPilot
bootloader
2022-02-17 14:37:41 +11:00
Andrew Tridgell
f2308e96a9 HAL_ChibiOS: added stm32_was_software_reset() 2022-02-17 14:37:41 +11:00
Andrew Tridgell
a641eb3a30 HAL_ChibiOS: support ALT_BOARD_ID
allow for compat with px4 board ID for the same board
2022-02-17 14:37:41 +11:00
Andrew Tridgell
e96507f55f AP_Math: added crc_crc64() 2022-02-17 14:37:41 +11:00
Iampete1
9fd14dbf94 Plane: quadplane: set IO failsafe limit for all motors 2022-02-17 12:31:16 +11:00
Iampete1
42a2e1094c Plane: set failsafe limit for throttle left and right 2022-02-17 12:31:16 +11:00
Peter Barker
67b86867f2 AP_Logger: add LogMessage documentation for PIDN and PIDE 2022-02-17 10:53:41 +11:00
Bob Long
bb30bb7b46 SITL: add locations of RealFlight airports 2022-02-17 10:12:50 +11:00
Peter Barker
4afc14007b SITL: correct PS_LightWare_SF45B simulator 2022-02-17 09:23:29 +11:00
Peter Barker
6521bc31c7 SITL: correct altitude of suggested test location 2022-02-17 09:23:29 +11:00
Peter Barker
574f041224 SITL: do not abort if we fail to send a message to the autopilot
This is happening at boot - the simulated sensor is sending data too
quickly too soon to the autopilot, which hasn't detected the instance at
the time we abort.
2022-02-17 09:23:29 +11:00
Peter Barker
17915faa98 autotest: add test for proximity sensors 2022-02-17 09:23:29 +11:00
Iampete1
23ea84bf32 copter: fix condition yaw early completion 2022-02-16 19:33:38 +09:00
khanasif786
4f915fa5b1 AP_GyroFFT: fix 'arm_status' shadowing a global declaration error
changed 'arm_status' to 'cmsis_arm_status'
2022-02-16 19:05:07 +11:00
xianglunkai
beb194b4a1 AP_L1_Control: update_waypoint wrap added to nav_bearing
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2022-02-16 18:29:48 +11:00
Andy Piper
4f785b4aaa AP_Logger: add @SYS/timers.txt to logged files 2022-02-16 15:28:04 +11:00
Andy Piper
9cccab2de7 AP_Filesystem: add support for @SYS/timers.txt. 2022-02-16 15:28:04 +11:00
Andy Piper
83ac78e969 AP_HAL_ChibiOS: add support for @SYS/timers.txt
move out prescaler calculation and use closest prescaler everywhere
include timer id in PWM groups
2022-02-16 15:28:04 +11:00
Andy Piper
ea1af70f2b AP_HAL: add support for @SYS/timers.txt
move prescaler calculation here and add unit test
add ability to find closest matching frequency in prescaler calculation
account for bit widths in prescaler tests
2022-02-16 15:28:04 +11:00
Nathan Costa
a867e04116 AP_Periph: airspeed add support for CAN/I2C switch and LED 2022-02-16 13:25:58 +11:00
Nathan Costa
9f7aa715b1 AP_HAL_ChibiOS: add support for CAN/I2C switch 2022-02-16 13:25:58 +11:00
Peter Barker
c781897e52 Tools: powr_change.py also prints AccFlags changes 2022-02-16 10:07:56 +11:00
Peter Barker
de1c2ed598 Tools: add powr_change.py
Simpler to work out what's gone wrong in a log this way:

pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$ ./powr_change.py /tmp/00000109.BIN
1644894818: Creating connection
2022-02-14 00:30:25.91:  +MAV_POWER_STATUS_BRICK_VALID +MAV_POWER_STATUS_SERVO_VALID
2022-02-14 00:33:15.46:  +MAV_POWER_STATUS_CHANGED
2022-02-14 00:33:34.96:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:33:35.06:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.86:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.96:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.46:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.56:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.45:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.55:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.85:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.95:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.25:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.35:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.75:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.85:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:51.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:38:01.89:  -MAV_POWER_STATUS_CHANGED
pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$
2022-02-16 10:07:56 +11:00
Andrew Tridgell
1bdc9b5bf8 Plane: fixed in_vtol logic so QRTL can AIRBRAKE 2022-02-16 07:43:01 +11:00
Andrew Tridgell
aab6c94936 Plane: don't weathervane in AIRBRAKE state
this prevents unwanted VTOL motor throttle while trying to slow
down. In this stage the slaving of yaw rate to fixed wing roll control
is sufficient
2022-02-16 07:43:01 +11:00
Andrew Tridgell
2846f87eeb Plane: reduce height gain in auto landing for tiltrotors
avoid running the motors while tilted past the tilt max if we are in
AIRBRAKE state. This stops a large amount of forward thrust from the
tilted motors while trying to slow down, while still maintaining
attitude control
2022-02-16 07:43:01 +11:00
Bill Geyer
b1d1dc97ff Copter: set new parameter defaults for tradheli 2022-02-15 13:42:09 -05:00
Bill Geyer
6204898de4 AC_AttitudeControl: Tradheli-update default gains 2022-02-15 13:42:09 -05:00
Andy Piper
a34f8e1b8d scripts: add SPRacingH7 to manifest files and CI build 2022-02-15 11:32:52 +11:00
Andy Piper
e88ad24ab5 bootloaders: add SPRacingH7 bootloader 2022-02-15 11:32:52 +11:00
Andy Piper
7b15245efe AP_HAL_ChibiOS: update SPRacingH7 Extreme hwdef and add README
add SPRacingH7 board layout
2022-02-15 11:32:52 +11:00
Iampete1
e56b6d2765 AP_AHRS: View: get_gyro_latest should include pitch trim. 2022-02-15 11:08:05 +11:00
Peter Barker
376d7ade50 autotest: use assert_receive_message to remove redundant code 2022-02-15 11:06:10 +11:00
Henry Wurzburg
0f05cb06fa AP_NavEKF3: update and correct GSF parameter documentation 2022-02-15 10:56:35 +11:00
Henry Wurzburg
5e6447e893 AP_NavEKF2: update and correct GSF parameter documentation 2022-02-15 10:56:35 +11:00
Willian Galvani
77f9d4fdba Tools: scripts: build_ci.sh: validate firmware fwversion with firmware_version_decoder.py 2022-02-15 10:38:28 +11:00
Willian Galvani
55d8ba647c Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI 2022-02-15 10:38:28 +11:00
Peter Barker
0cd5bdebfb autotest: reduce Copter speed requirement in DO_CHANGE_SPEED 2022-02-15 08:29:10 +09:00
murata
e209a6e73b AP_Filesystem: Remove WHITE SPACE to match other method styles 2022-02-15 10:14:13 +11:00
murata
0967d79a93 AP_Filesystem: Change the judgment null of methods that return nullptr 2022-02-15 10:14:13 +11:00