Commit Graph

40545 Commits

Author SHA1 Message Date
kd0aij 95da094bfe Plane: update tailsitter speedscaling logic
add tailsitter gain scaling option mask and logging
tailsitter qassist bugfix; thanks, @iampete
apply roll limit in tailsitter bodyframe roll control
add define for future exclusion of tailsitter gainscaling debug code/logging
tailsitter bodyframe roll and qacro input scaling bugfixes:
  respect Q_TAILSIT_RLL_MX and roll/yaw scale parameters in bodyframe roll modes
  fix unintended swap of Q_ACRO_RLL/YAW_RATE params in QACRO mode
don't scale motor tilt

Co-authored-by: IamPete1 <33176108+IamPete1@users.noreply.github.com>
2019-12-18 08:33:29 +11:00
Randy Mackay b1ccf5b9d5 Sub: remove unused TERRAIN_FOLLOW parameter 2019-12-17 20:02:01 +09:00
Randy Mackay 21ea7902cf Tools: copter tests replace TERRAIN_FOLLOW with RTL_ALT_TYPE 2019-12-17 20:02:01 +09:00
Randy Mackay 842a9b78a9 Copter: remove out-of-date comment from terrain failsafe check 2019-12-17 20:02:01 +09:00
Randy Mackay 3e7fb66a77 Copter: precision landing does not use terrain database
precision landing was always only using the range finder, there was no use of the provided alt unless the rangefinder was good
2019-12-17 20:02:01 +09:00
Randy Mackay ea22e888c7 Copter: improve RTL terrain following
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
2019-12-17 20:02:01 +09:00
Randy Mackay 39a6b104dd Copter: move RTLState to ModeRTL 2019-12-17 20:02:01 +09:00
Randy Mackay 2e09acc2ae AP_Logger: add error code for rtl missing rangefinder 2019-12-17 20:02:01 +09:00
Randy Mackay 0a1b96e02d Copter: zigzag uses renamed AC_WPNav::rangefinder_used_and_healthy 2019-12-17 20:02:01 +09:00
Randy Mackay 3ca28e27c6 AC_WPNav: add get_terrain_source and rename existing method
this allows RTL to determine which source of terrain data will be used which is required when building the return path
2019-12-17 20:02:01 +09:00
Andrew Tridgell c545171cec Tools: fixed compiler path for autotest 2019-12-17 18:10:23 +11:00
giacomo892 1763be2c03 RC_Channel: added LOITER switch for plane 2019-12-17 16:14:53 +11:00
giacomo892 1ee3118bc4 Plane: added RC option for LOITER mode
Handy to have, and much better than use CIRCLE
2019-12-17 16:14:53 +11:00
Andrew Tridgell 9b4764eb1f SITL: fixed airsim example scripts 2019-12-17 15:40:00 +11:00
Andrew Tridgell 7a832ae8bd autotest: more airsim tuning improvements 2019-12-17 15:40:00 +11:00
Andrew Tridgell 061d778bfd SITL: improved AirSim quadX tuning
and move params to normal location, so they are found with
sim_vehicle.py
2019-12-17 15:40:00 +11:00
Andrew Tridgell d657fed34a SITL: fixed accuracy of lat/lon in AirSim 2019-12-17 15:40:00 +11:00
Randy Mackay e8a3f6d6a1 Copter: 4.0.0-rc3 release notes update 2019-12-17 12:51:40 +09:00
Randy Mackay 111dfc130b Copter: 4.0.0-rc3 release notes 2019-12-17 12:51:34 +09:00
Peter Barker 03cca68c5a AP_NavEKF3: use instance number when logging rather than multiple message IDs 2019-12-17 12:22:07 +11:00
Peter Barker 524647d221 AP_NavEKF2: use instance number when logging rather than multiple message IDs 2019-12-17 12:22:07 +11:00
Peter Barker 9d7016dca8 LogStructure: adjust for using instance numbers on NavEKF libraries 2019-12-17 12:22:07 +11:00
Mark Whitehorn 76b985fc9c SITL: only recalculate ahrs rotation matrix if necessary 2019-12-17 11:42:40 +11:00
Mark Whitehorn ab33679124 SITL: include ahrs_orientation in airspeed calculation 2019-12-17 11:42:40 +11:00
Andy Piper fc16c5c2ae Tools: align ci gcc with environment gcc v6 on arm 2019-12-17 10:56:44 +11:00
Andy Piper 143a071788 AP_InertialSensor: add rpm-based motor noise to gyros and accels
Remove sample time error in backend.
2019-12-17 10:07:06 +11:00
Andy Piper 39e948a40a Tools: add motor vibration test and support for post-test fft
perform FFT analysis on vibration output
2019-12-17 10:07:06 +11:00
Andy Piper 449e9ee13d AP_RPM: use updated rpm information for sitl 2019-12-17 10:07:06 +11:00
Andy Piper c807267bab SITL: add rpm-based motor noise per-motor to gyros and accels
convert multicopter thrust to rpm per motor
2019-12-17 10:07:06 +11:00
Rajat Singhal d34ccec084 SITL: Fix sensor data calculation in Airsim 2019-12-17 08:11:27 +11:00
Andrew Tridgell e27d1e8754 Plane: update release notes for 4.0.2beta2 2019-12-16 19:03:20 +11:00
Andrew Tridgell 43eb664be6 Plane: updated release notes for 4.0.2beta1 2019-12-16 19:03:18 +11:00
Andrew Tridgell 7f064f64c1 ChibiOS: handle SB without BUSY in I2Cv1 driver 2019-12-16 18:50:23 +11:00
Peter Barker bd8a27ff4c AP_Logger: tidy and rearrange log structures
Move non-SBP stuff out of the SBP block.  Remove unused split between
normal and advanced log entries
2019-12-16 17:11:43 +11:00
Leonard Hall 33ca2a20dd AC_AutoTune: Add check for reverse response abort. 2019-12-16 15:06:24 +09:00
bnsgeyer 2a8e2d19fa AP_Motors: Tradheli-incorporate DDFP for counter clockwise rotating rotors 2019-12-16 10:48:09 +09:00
bnsgeyer e3c55bdfbb Tools: update tradheli autotest sitl params 2019-12-14 09:00:31 +09:00
bnsgeyer 74d81e6d50 Copter: Change STAB_COL params to percent 2019-12-14 09:00:31 +09:00
bnsgeyer d5fed8ee4c AC_InputManager: Change STAB_COL params to percent 2019-12-14 09:00:31 +09:00
Randy Mackay 98ea8e0627 Copter: 3.6.12 release notes 2019-12-13 15:25:19 +09:00
Peter Hall a45041ce5d AP_Notify: add handle rgb 2019-12-12 21:35:23 -07:00
Peter Hall f9c4c17ff4 AP_Scripting: add rgb notify led example 2019-12-12 21:35:23 -07:00
Peter Hall 6b58501821 AP_Scripting: regenerate bindings 2019-12-12 21:35:23 -07:00
Peter Hall f35ffaddc6 AP_Scripting: add rgb notify binding 2019-12-12 21:35:23 -07:00
Andrew Tridgell f8f591c7db GCS_MAVLink: fixed critical error on prefight cal ops 2019-12-13 09:30:48 +11:00
Andrew Tridgell f17178ace0 HAL_ChibiOS: fixed build of SPI clock test 2019-12-13 09:30:48 +11:00
Randy Mackay b482d147df Copter: always store previous control mode
also minor spacing fixup
2019-12-12 09:13:24 +09:00
Randy Mackay f768e80458 Copter: remove unused prev_control_mode_reason 2019-12-12 09:13:24 +09:00
Peter Barker 516219533d autotest: prompt MAVProxy to do streamrate stuff after restarting SITL 2019-12-11 19:49:20 +11:00
Peter Barker 91c6a8c1d8 autotest: fix set_streamrate with rate of -1 2019-12-11 19:49:20 +11:00