Commit Graph

40623 Commits

Author SHA1 Message Date
Peter Barker d1bbe4f03b GCS_MAVLink: correct output when ROUTING_DEBUG is set
This is a define in the code itself, so rarely a problem
2019-12-20 10:00:07 +11:00
Andrew Tridgell 6ff303adf4 RC_Channel: added comment on odd inheritance 2019-12-19 14:52:33 +11:00
Andrew Tridgell f3dfd62f32 Plane: fixed FS_GCS_ENABL=2 for hearbeat failsafe 2019-12-19 08:34:00 +11:00
Andrew Tridgell 6d981ce733 autotest: disable MotorVibration test 2019-12-18 21:08:19 +11:00
Andrew Tridgell 6902cd2961 mavlink: added MAV_CMD_FIXED_MAG_CAL_YAW 2019-12-18 17:20:37 +11:00
Andrew Tridgell dd73eac08c GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW 2019-12-18 17:20:37 +11:00
Andrew Tridgell 09d7e732b7 AP_Compass: added mag_cal_fixed_yaw()
this is a fast compass calibration that uses a yaw value provided by
the user.
2019-12-18 17:20:37 +11:00
Andrew Tridgell d422825715 HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
not needed any more
2019-12-18 17:18:44 +11:00
Andrew Tridgell fc867b1596 HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT 2019-12-18 17:18:44 +11:00
Andrew Tridgell 88e5e54770 AP_BoardConfig: removed duplicate define for RTSCTS 2019-12-18 17:18:44 +11:00
Andrew Tridgell b3459c024c HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS 2019-12-18 17:18:44 +11:00
Randy Mackay 0288b3d43c AP_BattMonitor: set default I2C bus for Solo and Maxell drivers 2019-12-18 15:54:42 +11:00
Randy Mackay 0d034821d1 AP_BattMonitor: Maxell cell voltages timeout after 5sec 2019-12-18 15:54:42 +11:00
Randy Mackay a5a1d2812a AP_Scripting: example to check battery cycle count 2019-12-18 15:54:42 +11:00
Randy Mackay fdf8d4b2ee AP_Scripting: add binding for BattMonitor's get_cycle_count method 2019-12-18 15:54:42 +11:00
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