Commit Graph

51293 Commits

Author SHA1 Message Date
Peter Barker 8b2bc89cf6 ArduCopter: make vehicles write notch log messages 2022-01-05 16:34:36 +11:00
Peter Barker c9eb7e3eda AP_GyroFFT: make vehicles write notch log messages 2022-01-05 16:34:36 +11:00
Peter Barker 709679ed60 Copter: compassmot: use is_positive for float comparison
tridge noted on the DevCall that very, very small numbers could yield
numerical errors during divisions further down
2022-01-05 10:46:14 +11:00
MallikarjunSE adff48c3ea hwdef: remove Notify LEDs from Sierra-F405
NTF_LED_BRIGHT 2, NTF_LED_LEN 8 used to cause board to get stuck in bootloader on reboot.
2022-01-05 09:22:45 +11:00
Andrew Tridgell 3f160b4910 Revert "AP_GPS: drop default GPS lag to 0.1s"
This reverts commit 1e60d2557b.
2022-01-04 19:02:54 +00:00
Lucas De Marchi 83f20ac66a AP_Logger: fix build with mavlink debug enabled 2022-01-04 07:25:28 -08:00
Lucas De Marchi 1ab005dc99 AP_Logger: use stderr for debug
Make AP_Logger_MAVLink use stderr, so it's easier to follow the debug
outputs without mixing with normal output.  And this is also what
AP_Logger is using.
2022-01-04 07:25:28 -08:00
Randy Mackay 7744dda4b0 AC_WPNav: add comment above get_wp_radius_cm 2022-01-04 16:44:13 +09:00
Peter Barker 427c08db26 autotest: add methods for asserting received mavlink data 2022-01-04 14:37:18 +11:00
Iampete1 ec4949c9e3 AP_Scripting: generator: use depends for singleton strings 2022-01-04 11:40:33 +11:00
Andrew Tridgell 1e60d2557b AP_GPS: drop default GPS lag to 0.1s
this impacts UAVCAN GPS modules, which these days usually have at
least u-blox M8
2022-01-03 16:39:07 -08:00
Iampete1 5e38f34a5d AP_Frsky_Telem: use set_and_save_by_name directly 2022-01-04 11:26:29 +11:00
Iampete1 1711fa9807 AP_Scripting: use alias for param function names 2022-01-04 11:26:29 +11:00
Iampete1 af83b1efd2 AP_Param: remove scripting function name helpers 2022-01-04 11:26:29 +11:00
Peter Barker 6bfcf2fb53 Copter: remove pointless wrapper around proximity init 2022-01-04 09:02:54 +09:00
Peter Barker f44335371f hwdef: set AP_OPTICALFLOW_ENABLED 0 for SkyViper-v2450 2022-01-04 11:01:40 +11:00
Leonard Hall b4ec303d74 Copter: Guided: When yaw is not specified use default yaw behaviour. 2022-01-04 08:52:31 +09:00
Peter Hall d4eb2c6396 Plane: quadplane: QPOS_POSITION1 tailsitters use input_vel_accel method 2022-01-04 10:42:12 +11:00
Iampete1 4848ac9166 Plane: quadplane: don't use `is_active_z()`, becasue its wrong 2022-01-04 10:42:12 +11:00
Iampete1 fb1f6b57ad Plane: Quadplane: never run Z controller if motors are not throttle unlimited 2022-01-04 10:42:12 +11:00
Peter Hall c215fa0745 Plane: Quadplane: never run Z controller in tailsiter VTOL transtion 2022-01-04 10:42:12 +11:00
Peter Hall 9df753551e Plane: quadplane: tailsitter: always relax pitch after transtion 2022-01-04 10:42:12 +11:00
Peter Hall d054ca0426 Plane: quadplane: limit post VTOL transtion pitch rate on tailsitters in maunal modes 2022-01-04 10:42:12 +11:00
Peter Hall 67d7ba490f Plane: quadplane: pass time to tailsitter.in_vtol_transition where avalable 2022-01-04 10:42:12 +11:00
Iampete1 9634641323 Plane: tailsitter: rate limit pitch up in VTOL pos control flight. 2022-01-04 10:42:12 +11:00
Peter Barker 9f17cd62a2 Copter: avoid division by zero in compass/motor interference calibration 2022-01-04 08:38:25 +09:00
Tom Pittenger dc5a25edbd Module DroneCAN: fix Jon's name - non-functional change. Just proper respect! 2022-01-03 13:00:50 -08:00
Willian Galvani 1dad7b2d56 HAL_Linux: update SPI speeds for Navigator
As @jaxxzer found out, if SCL goes under 1MHz, the MMC sometimes
glitches out, freezing.
2022-01-03 15:05:47 -03:00
Willian Galvani 725765c1cb AP_HAL: fix navigator ak09915 orientation 2022-01-03 15:05:47 -03:00
Willian Galvani d3e3922776 AP_HAL: Add HAL_PROBE_EXTERNAL_I2C_COMPASSES to Navigator 2022-01-03 15:05:47 -03:00
Andrew Tridgell 2691022e12 Plane: update release notes for 4.1.6 2022-01-03 13:11:18 +11:00
Joshua Henderson ac4304e2c4 Tool: ardupilotwaf fix duplicate reporting from build summary 2022-01-03 12:40:42 +11:00
Shiv Tyagi 3ad8e50603 Blimp: remove pilot_throttle_checks()
This method is redundant as throttle below FS_THR_THROTTLE value is already checked in set_throttle_and_failsafe() method.
2022-01-03 11:31:41 +11:00
Randy Mackay 53135b2df0 AR_AttitudeControl: improve get_turn_lat_accel accessor comments 2022-01-03 09:07:21 +09:00
Andrew Tridgell 2251293ec7 Plane: fix stabilize mode
should self-level. Broken by #19171
2022-01-03 08:09:53 +11:00
Joshua Henderson e610acf998 Tools: SITL Copter-heli.parm remove WP_YAW_BEHAVIOR 2022-01-01 23:22:15 -05:00
Randy Mackay 9828585400 Rover: 4.1.3 release notes 2021-12-31 14:13:03 +09:00
Randy Mackay 0c93aa0cc6 Copter: 4.1.3 release notes 2021-12-31 14:12:54 +09:00
Peter Barker 295276cd37 AP_Vehicle: pass GyroFFT loop rate in Hz rather than period in us
It just calculates this anyway
2021-12-31 11:15:20 +11:00
Peter Barker 9ea9c15c6a AP_GyroFFT: pass GyroFFT loop rate in Hz rather than period in us
It just calculates this anyway

Also stops assigning a uint16_t value into a uint32_t value
2021-12-31 11:15:20 +11:00
Andrew Tridgell e5888d42d9 Tools: update build_sizes.py from master 2021-12-31 11:11:34 +11:00
Andrew Tridgell 7e2b010458 Tools: a script to list builds with flash free
example: https://firmware.ardupilot.org/Tools/BuildSizes/builds.html

Pair programmed with MichelleR
2021-12-31 11:11:34 +11:00
Andy Piper d307b15c2d Tools: add BMI270 to decode_devid.py 2021-12-31 09:25:29 +11:00
Andy Piper f9e14ffa30 AP_HAL_ChibiOS: add support BeastF7v2 2021-12-31 09:25:29 +11:00
Andy Piper 3fd79b8ffb AP_InertialSensor: BMI270 driver 2021-12-31 09:25:29 +11:00
Iampete1 abe9e4425b Plane: quadplane: remvoe unused loiter initial pitch varable 2021-12-31 08:46:31 +11:00
Andrew Tridgell 7c8794b0bd AP_InertialSensor: fixed INS_generic example
useful for driver development
2021-12-30 10:02:35 +11:00
Andrew Tridgell b901117ab9 Tools: added missing periph builds 2021-12-30 06:03:14 +11:00
Andrew Tridgell c44b8cf73a AP_Motors: fixed PWM_TYPE range for quadplanes
when motors don't start at SERVO1 we were applying the range to the
wrong output.

This allows users to control the PWM of individual motors precisely
for quadplanes where calibration of motors is difficult
2021-12-29 18:40:41 +11:00
Andrew Tridgell fb019eb0f3 Plane: add a low pass filter to speed scaler
this is needed due to the filtering done on the target rate in
AC_PID. With a low filter rate in AC_PID a step in the speed scaler
results in a step in the FF output due to the mismatch in the
instantaneous SS and the filtered target rate
2021-12-29 18:36:05 +11:00