Commit Graph

40590 Commits

Author SHA1 Message Date
Pierre Kancir
d6563bff7d AP_Compass: probe for RM3100 2019-12-21 09:07:20 +11:00
Andrew Tridgell
6f6fbb5b48 HAL_ChibiOS: make pwm pin pulldown 2019-12-20 16:50:48 +11:00
Andrew Tridgell
d249f870b9 AP_Periph: added HARDPOINT_RATE
and send highest pwm from last sample
2019-12-20 16:50:48 +11:00
Andrew Tridgell
41b49768b8 Tools: added f103-Trigger bootloader 2019-12-20 16:50:48 +11:00
Andrew Tridgell
9ed2f1d5e2 AP_Periph: support a PWM -> UAVCAN Hardpoint adapter
capture PWM input and map onto a hardpoint command
2019-12-20 16:50:48 +11:00
Andrew Tridgell
f732a482fe HAL_ChibiOS: support wider range of clock frequencies 2019-12-20 16:50:48 +11:00
Andrew Tridgell
cfed364dd0 AP_ROMFS: fixed build warning 2019-12-20 16:50:48 +11:00
Andrew Tridgell
a9946b41e9 HAL_ChibiOS: added f103-Trigger board 2019-12-20 16:50:48 +11:00
Andrew Tridgell
a87e3e41f0 HAL_ChibiOS: make Pixhawk4 GPS2 connection clearer 2019-12-20 12:34:26 +11:00
Randy Mackay
4f7be08442 Copter: 4.0.0-rc4 release notes 2019-12-20 09:29:30 +09:00
Michael du Breuil
cebe4eefa5 Tools: Remove gcc 4.9 from CI prereqs 2019-12-20 11:03:31 +11:00
Michael du Breuil
1a2dba1ee1 Travis: Remove unused gcc 4.9 dep 2019-12-20 11:03:31 +11:00
Andrew Tridgell
f42c4e9ce1 Sub: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell
0e79044285 Plane: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell
d9a255afc3 Copter: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell
18bfd45efb Rover: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell
69ea4882d2 Tracker: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
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