Commit Graph

53352 Commits

Author SHA1 Message Date
Peter Barker 6eaf2c545a AP_Filesystem: correct run-length encoding in param download
If a parameter's name was a prefix of the previous name we would
suffer an integer-wrap problem and incorrectly encode the parameter name
2022-05-03 07:49:36 +10:00
Iampete1 20a2e6aaf0 AP_Scripting: allow deprecation warnings 2022-05-03 07:48:39 +10:00
Peter Barker 2c0f52a8b7 AP_BattMonitor: zero-terminate strings in caller rather than read_block
It was noted that we did not increment the return value bufflen when
adding zero.  This is an ambiguity in the function declaration; if we
are told to add a zero should the return value be like strnlen (does not
include terminating null character) or read (includes all bytes used in
return buffer).

This PR makes it a non-issue by ensuring string null termination in the
caller and removing the append_zero parameter.
2022-05-03 07:11:45 +10:00
Rhys Mainwaring 6d7086a8ad Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh
- Ensure the spawned terminal has the same pwd as the calling script to allow SITL to resolve relative paths

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2022-05-02 11:28:12 +10:00
Josh Henderson 51eb398277 SITL: SIM_BattMonitor_SMBus add registers to smartbatts 2022-05-02 10:56:39 +10:00
Kirill Shilov c414a021ae AirLink-HWDEF: external peripherals enabled with logical high 2022-05-02 10:56:09 +10:00
Mirko Denecke e60520160f SRV_Channel: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke 60b0be4a97 RC_Channel: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke 11a74cf28c AP_HAL_ChibiOS: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke 853fd7f8c1 AP_HAL: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke d6843c4ca1 AP_Airspeed: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke 4c727eca60 Tools: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke d6bca7405a ArduPlane: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Mirko Denecke 4d34d36ede ArduCopter: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Henry Wurzburg c6fbdc0cb8 AP_Relay:Prevent operation for sim-on-hardware,add logs
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2022-05-02 10:54:02 +10:00
Peter Barker 5b3a01ecb3 Vagrant: fixes for Jammy virtual machine 2022-05-02 08:05:00 +10:00
Oleksandr Shcherbatii 0cec5dccea Tools: Fix setup for Jammy 2022-05-02 08:05:00 +10:00
Iampete1 6eea4d12ee SITL: apply momentum drag per-motor 2022-05-01 09:17:23 +10:00
Iampete1 f9050c3040 SITL: Frame: take drag from thrust not accel 2022-05-01 09:17:23 +10:00
Iampete1 92135400f8 SITL: Frame: stop adding random physics noise 2022-05-01 09:17:23 +10:00
Iampete1 f869506b0a SITL: Motor: acount for airflow due to vehicle rotation 2022-05-01 09:17:23 +10:00
Iampete1 bead0ac0f8 SITL: JSON allow to set motor rotation direciton 2022-05-01 09:17:23 +10:00
m dbf00bae10 AP_Scripting: Add pre_arm_checks LUA binding 2022-04-30 10:23:28 +09:00
Andrew Tridgell ed89acea66 AP_Scripting: added PDmod binding for quick tuning 2022-04-29 11:54:12 +10:00
Andrew Tridgell f8fe74f5fe AC_AttitudeControl: added get_rpy_PDmod method
used for lua scripts to do VTOL tuning
2022-04-29 11:54:12 +10:00
Randy Mackay 9cf065072b Rover: 4.2.0-rc2 release notes 2022-04-29 08:11:58 +09:00
Randy Mackay fdc9aa79ff Copter: 4.2.0-rc2 release notes 2022-04-29 08:11:46 +09:00
bugobliterator 46f9ae54af AP_HAL_ChibiOS: fix CubeOrangePlus IMU rotation 2022-04-29 08:26:34 +10:00
Andrew Tridgell cf1594535a libcanard: update
this fixes building CAN bootloaders with py 3.10
2022-04-29 08:17:32 +10:00
Andrew Tridgell 12d829e740 Plane: release notes for plane 4.2.0beta6 2022-04-28 18:19:40 +10:00
Andrew Tridgell 406de11fe9 AP_Periph: mark ESC DShot channels as digital
this allows them to get the right default MIN and MAX values on the
channels
2022-04-28 13:56:41 +10:00
Andrew Tridgell 8c3d2205cb hwdef: added DShot peripheral for MatekL431 2022-04-28 13:56:16 +10:00
Andrew Tridgell 5b5319f1b3 Tools: added MatekL431-DShot bootloader 2022-04-28 13:56:16 +10:00
Peter Barker f4b46d3b9c ArduCopter: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Peter Barker a5dee06afb SRV_Channel: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Peter Barker 414d3d27db AP_RangeFinder: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Peter Barker c2bf79d3f3 AP_BattMonitor: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Andy Piper 742c2b034f AC_AutoTune: allow high ANGLE_P gains 2022-04-28 08:51:54 +09:00
Tatsuya Yamaguchi 32a39055db Sub: wscript: remove duplicated AP_RCMapper 2022-04-28 08:32:34 +09:00
Iampete1 2056525cdd Rover: wscript: remove AP_L1_Control 2022-04-27 18:41:25 +01:00
Leonardo Garcia 0eb6ae365a AP_InertialSensor: Added BMI085 support
Fixed styling for 61125e2

Remove whitespace l202

Removed else
2022-04-27 18:37:39 +10:00
Andy Piper 7c4d0ad9f4 AP_HAL_ChibiOS: catch and handle STM32_DMA_ISR_DMEIF in bdshot. 2022-04-27 18:19:24 +10:00
Andy Piper 8e0f83aaae Tools: iFlight Chimera 7 parameters 2022-04-27 17:51:56 +10:00
Andrew Tridgell 12f348398a Revert "AP_Notify: fixed DroneCAN LEDs on AP_Periph"
This reverts commit 1858969697.

This was an incorrect change that actually broke LEDs on CAN GPS modules
2022-04-27 17:13:40 +10:00
Andrew Tridgell e00608d922 Tools: fixed type of max-gap in CAN fix2 script 2022-04-27 17:13:07 +10:00
Andrew Tridgell 06b9b804a1 hwdef: uncompress bootloader for HolybroG4_GPS
not enough ram to uncompress at runtime
2022-04-27 17:12:08 +10:00
Tatsuya Yamaguchi a4d3607de1 Copter: move Disarm/EStop/Interlock check from arm_checks to run_pre_arm_checks 2022-04-27 09:36:36 +09:00
Tatsuya Yamaguchi 073683cc69 AP_Arming: remove ARMING_CHECK_ALL bit check from disarm_switch_checks 2022-04-27 09:36:36 +09:00
Tatsuya Yamaguchi b636abfde0 Copter: add disable prearm display option 2022-04-27 09:36:36 +09:00
Tatsuya Yamaguchi 02f966a35d AP_Arming: add ARMING_OPTIONS param 2022-04-27 09:36:36 +09:00