Commit Graph

40558 Commits

Author SHA1 Message Date
murata 44a8702d94 AP_BattMonitor: Maxell battery on any I2C bus 2019-12-18 15:54:42 +11:00
Randy Mackay 300c0aafb1 AP_BattMonitor: add cycle count for smbus batteries 2019-12-18 15:54:42 +11:00
Andrew Tridgell b99d6e075c HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000 2019-12-18 15:50:34 +11:00
Peter Barker ebbcd00873 GCS_MAVLink: send statustext to all GCSs until update_send is called
until update_send it called we don't mark channels as streaming, so
send_statustext won't send to that channel.

Calculating the streaming mask could have been done as part of the init
call, but this fix may allow for information getting to the user in the
case that the streaming parameters are all zero, too.
2019-12-18 14:36:58 +11:00
Andrew Tridgell 5098e3f79e AP_ICEngine: added ICE_OPTIONS
option to kill ignition on RC failsafe. This is needed for some RC
model clubs
2019-12-18 12:28:41 +11:00
Andrew Tridgell 132a1623d3 autotest: added --no-rcin option to sim_vehicle.py
disables mavproxy RC in emulation
2019-12-18 12:25:03 +11:00
Matt Lawrence 3f9e8f53ae Frame_params: remove test files
Must have had these in the directory by accident in my last PR
2019-12-18 09:15:34 +09:00
Mark Whitehorn 56b2c697d2 Plane: change tailsitter_input to bitmask
update parameter metadata for Q_TAILSIT_INPUT and Q_FRAME_TYPE
2019-12-18 08:33:29 +11:00
Mark Whitehorn c16f3a2cba Plane: simplify body-frame roll axis swapping and constrain yaw rate max 2019-12-18 08:33:29 +11:00
Mark Whitehorn 7e8aecac50 AC_AttitudeControl: simplify body-frame roll axis swapping 2019-12-18 08:33:29 +11:00
Mark Whitehorn 14fc6c5446 Plane: add logging for tailsitter gainscaling and clean up tailsitter body-frame roll input handling
fix metadata for tailsitter param GSCMSK
rework roll/yaw scaling for body-frame roll options
add constraints on body-frame roll and yaw inputs
move speed_scaler logging into QTUN message
2019-12-18 08:33:29 +11:00
Mark Whitehorn bb9b116574 AC_AttitudeControl: fix argument order in tailsitter bodyframe roll input methods
increase allowed yaw error in tailsitter bodyframe roll modes
add combined bodyframe roll method
delete old versions of body-frame roll input methods
invert mc_controls
2019-12-18 08:33:29 +11:00
Mark Whitehorn 68dcab3edb AP_Motors: add copter tailsitter differential torque frames 2019-12-18 08:33:29 +11:00
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