Commit Graph

51227 Commits

Author SHA1 Message Date
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
Andrew Tridgell 662327f2ea AP_InertialSensor: added support for more ADIS IMUs
support 32 bit delta angles and velocities
2021-12-29 18:25:18 +11:00
Peter Barker f637facea2 Sub: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
Peter Barker e55eea961f ArduPlane: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
Peter Barker f361d9b0d0 AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
Peter Barker 285d752143 ArduCopter: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker d2693e4276 GCS_MAVLink: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker a741499cff AP_UAVCAN: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker 1b0f21e2a3 AP_Scripting: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker 99ccbee474 AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker ca8436ba5d AP_DAL: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker 268032e640 SITL: add missing include file for terrain 2021-12-29 16:10:17 +11:00
Andrew Tridgell fa2ae44926 AP_BattMonitor: fixed a segv with BATT_MONITOR=14
this causes a hang on boot on some boards
2021-12-29 10:51:35 +11:00
MallikarjunSE 3ff9b76b08 AP_HAL_ChibiOS: Sierra-F405 support 2021-12-29 10:13:54 +11:00
MallikarjunSE eb8cfea507 AP_HAL_ChibiOS: Sierra-F412 support 2021-12-29 10:12:40 +11:00
MallikarjunSE 02c0ff25c6 Tools: Reserve board id for SierraF412 2021-12-29 10:12:40 +11:00
Andrew Tridgell d62e946d48 AP_Periph: fixed temperature reporting
more common to have ESC temp than motor temp, so report ESC
temperature
2021-12-28 16:30:14 +11:00