Randy Mackay
989ffb79cd
AP_NavEKF2: minor format fix
2020-06-19 13:46:52 +09:00
Randy Mackay
966d59a26d
AP_NavEKF2: protect against ExtNav being NaN
2020-06-19 13:46:52 +09:00
Peter Barker
349c11d631
RC_Channel: comment some of our range conventions on RC channel options
2020-06-19 10:03:02 +09:00
Rishabh
47e4e9f7c9
AC_Avoid: Store 3D data in OA_DB and use 3D distance in BendyRuler
2020-06-19 09:45:34 +09:00
Rishabh
9b5922786e
AP_Proximity: Push 3D data into OA_DB
2020-06-19 09:45:34 +09:00
Rishabh
0779cf436e
AP_Math: Added function to calculate shortest distance betwwen point and line segment in 3D
2020-06-19 09:45:34 +09:00
Iampete1
a23934fe93
AP_Scripting: add set angle demo
2020-06-19 10:09:35 +10:00
Iampete1
dc34dfb003
AP_Scripting: add guided mode set angle
2020-06-19 10:09:35 +10:00
Iampete1
98d5aa91a8
AP_Vehicle: add scripting guided mode set angle
2020-06-19 10:09:35 +10:00
Andrew Tridgell
4aa10a6c30
AP_GPS: added force_disable_yaw() API
2020-06-18 15:01:00 +10:00
Andrew Tridgell
7d430ae0ca
RC_Channel: added rc option 105 to disable GPS yaw
...
very useful when doing testing of a moving baseline GPS yaw setup
2020-06-18 15:01:00 +10:00
Andrew Tridgell
9f0967eb94
AP_Terrain: added verbose option to terrain tester
2020-06-18 13:29:13 +10:00
Tatsuya Yamaguchi
ed14518634
AP_RangeFinder: TYPE param becomes enable flag
2020-06-18 12:30:00 +10:00
Rishabh
15f25aa2a5
AC_Avoid: Skip unnecessary retries to build inner fences
2020-06-17 16:44:57 +09:00
Rishabh
4ec8602de2
AC_Avoid: Remove unnecessary sanity checks
2020-06-17 16:43:27 +09:00
Peter Barker
e4621e6921
GCS_MAVLink: do not process commands after we have decided to reboot
2020-06-17 11:54:03 +10:00
Rishabh
34b17d0993
AC_Avoid: Check if origin is set before any obstacle avoidance algorithm is run
2020-06-17 08:26:50 +09:00
Andy Piper
1280eff6ef
RC_Channel: add AIRMODE for copter
2020-06-16 20:30:26 +10:00
Peter Barker
040f78f515
RC_Channel: announce RC switch changes via statustext
2020-06-16 14:03:07 +10:00
Peter Barker
0c5d31f40f
AP_Logger: ensure log directory exists before opening log
...
This will help with starting logs when inserting a fresh SD card which
doesn't have the ardupilot log directory on it
2020-06-16 12:03:21 +10:00
Peter Barker
66f8359c6b
AP_Logger: factor out an ensure_log_directory_exists method
2020-06-16 12:03:21 +10:00
Randy Mackay
839e03f3e4
AP_AHRS: attitudes_consistent obeys always_use_EKF
2020-06-16 11:29:24 +10:00
Peter Barker
799c538c3e
AC_Fence: ALT_MAX is Copter-and-Sub only
2020-06-16 11:21:47 +10:00
Peter Barker
30c65e57be
SITL: remove use of Vector3 as function
2020-06-16 11:06:47 +10:00
Peter Barker
2f8c0dd65b
AP_Math: remove use of Vector3 as function
2020-06-16 11:06:47 +10:00
Peter Barker
0f2bcea647
AP_Compass: remove use of Vector3 as function
2020-06-16 11:06:47 +10:00
Peter Barker
8c0aed9c6c
AP_AHRS: remove use of Vector3 as function
2020-06-16 11:06:47 +10:00
Peter Barker
dad5b4e903
AP_Math: remove use of Vector2 as function
2020-06-16 11:00:44 +10:00
Michael du Breuil
f25d20f549
AP_Compass: Only send a single MAG_CAL_* message per poll
...
this fairly allocates bandwidth between the calibrators
2020-06-16 10:09:14 +10:00
Michael du Breuil
ab2dea5b86
AP_Common: Add % operator to TSIndex
2020-06-16 10:09:14 +10:00
Rishabh
b3a2b360e6
AC_Fence: clear breach if breached fence is not enabled
2020-06-16 08:27:19 +09:00
Andrew Tridgell
7f429302ed
HAL_ChibiOS: increase monitor thread stack to 768 bytes
...
attempt to fix issue #14582
2020-06-15 17:56:34 +10:00
bugobliterator
82480f0a3d
AP_Compass: return id of max empty compass state when prio id is 0
2020-06-13 07:52:20 +10:00
Andrew Tridgell
6fa623d074
HAL_ChibiOS: added Holybro Pix32v5
2020-06-12 21:23:16 +10:00
ashvath100
042ca7861f
AP_Scripting: get_output_scaled method
2020-06-12 14:48:02 +10:00
Peter Barker
ea03504af2
AP_Camera: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos'
2020-06-12 08:11:46 +10:00
Peter Barker
8fd50dd66e
AP_Arming: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos'
2020-06-12 08:11:46 +10:00
Peter Barker
88f4232e46
RC_Channel: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos'
2020-06-12 08:11:46 +10:00
MATEKSYS
14e01e21b7
HAL_ChibiOS: MatekH743: move baro to I2C2 bus
2020-06-11 17:31:59 +10:00
Andrew Tridgell
c1403a2e2b
HAL_ChibiOS: fixed default CubeOrange pin for 2nd current sensor
2020-06-10 17:32:11 +10:00
Andrew Tridgell
9ddc7ea763
SITL: rebuilt linux tcp connector for matlab
2020-06-10 17:08:58 +10:00
Iampete1
2f99326db8
SITL: MATLAB: fix conector auto reconect
2020-06-10 17:08:58 +10:00
Iampete1
10000ed8ee
SITL: recompile MATLAB pnet function
2020-06-10 17:08:58 +10:00
Peter Barker
8867457c4f
AP_OSD: fix pointless multiple/divide
...
This is scaling code; OSD wants 0 to 99 vs 0 to 255 the uint8_t
function gives. Use the unerlying 0-1 function in the OSD code in
preference to unscaling it from 255 then scaling to 99
2020-06-10 09:39:59 +10:00
Peter Barker
0e964a4654
AP_Logger: use config error loop rather than abort
...
Also add a specific check for the length of the labels field
2020-06-10 09:02:35 +10:00
chobits
f5f403947c
AP_NavEKF2: clarify POSNE_M_NSE desc
2020-06-09 20:44:57 +09:00
chobitsfan
4477e2c617
AP_VisualOdom: fix desc typo
2020-06-09 13:31:21 +09:00
chobitsfan
01e6b316a6
AP_VisualOdom: clarify POS_M_NSE and YAW_M_NSE description
2020-06-09 13:31:21 +09:00
chobitsfan
255c685a8a
AP_Logger: fix missing unit description in VISP
2020-06-09 13:31:21 +09:00
Randy Mackay
6714aa4e83
AP_Logger: shorten VISP and VISV log field names
2020-06-09 13:31:21 +09:00
chobits
9b448b83c0
AP_NavEKF3: use err info from ext nav interface
2020-06-09 13:31:21 +09:00
chobits
5e5a0d2111
AP_Logger: log ext nav pos err and ang err
2020-06-09 13:31:21 +09:00
chobits
5d271d1e04
AP_VisualOdom: support covariance from msg and add pos, ang err parameters
2020-06-09 13:31:21 +09:00
chobits
991387dbfb
GCS_MAVLink: support covariance field in vis pose msg
2020-06-09 13:31:21 +09:00
chobits
e64c92b322
AP_NavEKF2: use err info from ext nav interface
2020-06-09 13:31:21 +09:00
Sergey Bokhantsev
f92d539b41
RC_Channel: Aux switches to respect 'reverse' option
2020-06-09 11:13:35 +10:00
Peter Barker
f04acbd7de
RC_Channel: stop writing events when fence enabled or disabled
...
AC_Fence now does this
2020-06-09 10:52:19 +10:00
Peter Barker
973b103a4a
AC_Fence: write log event when fence enabled or disabled
2020-06-09 10:52:19 +10:00
Peter Barker
f158533fe9
GCS_MAVLink: allow private channels to also be active
...
This will allow for logging of private channels.
2020-06-09 10:37:32 +10:00
Peter Barker
06012cbc56
GCS_MAVLink: cope with RingBuffer rename if empty() to is_empty()
2020-06-09 10:21:48 +10:00
Peter Barker
e15abd3320
AP_RCTelemetry: cope with RingBuffer rename if empty() to is_empty()
2020-06-09 10:21:48 +10:00
Peter Barker
fd3dd77489
AP_HAL: rename ringbuffer empty() to is_empty()
2020-06-09 10:21:48 +10:00
Peter Barker
b428f12913
GCS_MAVLink: add and use accessor for last-RADIO_STATUS.remrssi-ms
2020-06-09 10:20:29 +10:00
Peter Barker
07e3f1d48f
GCS_MAVLink: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
2020-06-09 10:20:29 +10:00
Peter Barker
547b641c91
AP_RSSI: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
2020-06-09 10:20:29 +10:00
Randy Mackay
345029ec67
AP_NavEKF3: print extNav buff size
2020-06-09 09:42:14 +10:00
Randy Mackay
c4440a81f4
SITL: SIM_Vicon supports sending at 50hz
2020-06-09 09:42:14 +10:00
Randy Mackay
6c10655059
AP_NavEKF2: accept extnav at up to 50hz
2020-06-09 09:42:14 +10:00
Randy Mackay
0f212ca727
AP_NavEKF3: accept extnav at up to 50hz
2020-06-09 09:42:14 +10:00
Iampete1
fee5b998bf
AP_Logger: add min MB free param
2020-06-09 09:23:25 +10:00
Iampete1
0d53ce4cd7
SRV_Channel: re-work timeout
2020-06-09 09:04:14 +10:00
Iampete1
66cbed78f5
SITL: JSON examples: update readme
2020-06-08 17:50:03 +10:00
Andrew Tridgell
5d9e0cb58d
SITL: added robot.py pybullet example code
2020-06-08 17:50:03 +10:00
Andrew Tridgell
86d53c96d1
AP_Scripting: added opendog lua demo
2020-06-08 17:50:03 +10:00
Andrew Tridgell
ac5594566e
SITL: rebuild matlab pnet for x86_64 linux
2020-06-08 17:50:03 +10:00
Andrew Tridgell
5b58b91626
SITL: allow connect back to originating port for matlab
2020-06-08 17:50:03 +10:00
Iampete1
f5e98a6d69
SITL: update MATLAB example
2020-06-08 17:50:03 +10:00
Iampete1
fbb4df97a3
SITL: SIM_JSON: update
2020-06-08 17:50:03 +10:00
Andrew Tridgell
44f727cfd2
SITL: removed use of extra port for JSON
2020-06-08 17:50:03 +10:00
Iampete1
c6603be64a
SITL: MATLAB regenerate pnet.c for windows
2020-06-08 17:50:03 +10:00
Iampete1
99465b718f
SITL: allow MATLAB pnet.c UDP no connect
2020-06-08 17:50:03 +10:00
Andrew Tridgell
843485ba5c
SITL: fixed formatting of pnet.c
2020-06-08 17:50:03 +10:00
Andrew Tridgell
d9fc96f971
AP_Terrain: shortcut ocean tile creation
2020-06-08 13:56:42 +10:00
Andrew Tridgell
078de3205c
AP_Terrain: added test option to terrain creation script
2020-06-08 13:56:42 +10:00
Andrew Tridgell
15f9f7009c
AP_Terrain: fixed filling of all lattitudes in terrain generation script
2020-06-08 13:56:42 +10:00
Andrew Tridgell
6a1f43d5df
HAL_ChibiOS: fixed build with our old compiler
...
gcc 4.9 doesn't like static_assert() in C code
2020-06-07 14:11:48 +10:00
Paul Riseborough
71ae9426c5
SITL: Fix hand launch behaviour
...
Launch acceleration should be multiplied by vehicle mass when calculating launch force.
10 m/s (1g) is much too low for a hand launch. 25 m/s (2.5g) over a shorter period is more realistic and will trigger the recommended value of TKOFF_THR_MINACC of 15 recommended for hand launches.
2020-06-07 11:53:02 +10:00
Peter Barker
c1de346150
GCS_MAVLink: avoid copying data twice in ftp transfers
2020-06-07 08:51:09 +10:00
duccan
cdcdd5ce27
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
...
Rework after review:
- Kept old IMU and barometer definition of crazyflie 2.0 in hwdef
- Added comment regarding soft-reset command
- Added defaults.parm for crazyflie
2020-06-07 07:49:37 +10:00
duccan
0d96c7f7a5
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
2020-06-07 07:49:37 +10:00
Randy Mackay
9f26bd0a67
AP_BattMonitor: TYPE param swap for SMBus-Maxell and SMBus-Generic
...
Generic becomes type "7" which was previously Maxell. Maxell becomes type 16
2020-06-05 16:57:39 -07:00
Randy Mackay
ff0460342b
AP_Proximity: minor comment fix
2020-06-05 16:57:39 -07:00
Randy Mackay
2396a8176c
AP_BattMonitor: comment fix
2020-06-05 16:57:39 -07:00
Randy Mackay
268c67d12d
AP_BattMonitor: correct Maxell capacity
2020-06-05 16:57:39 -07:00
Randy Mackay
3de2dff6e3
AP_BattMonitor: simplify SMBus driver includes
2020-06-05 16:57:39 -07:00
Randy Mackay
4ea565e4ed
AP_BattMonitor: Maxell driver inherits from SMBus_Generic
2020-06-05 16:57:39 -07:00
Randy Mackay
f869cd9aa6
AP_BattMonitor: complete rename of SMBus_Maxell to Generic
2020-06-05 16:57:39 -07:00
Randy Mackay
c13c037f7b
AP_BattMonitor: rename SMBus_Maxell to Generic
2020-06-05 16:57:39 -07:00
Andrew Tridgell
2e7dc380c4
SITL: revert default physics step to 1200
...
this should help us pass CI
2020-06-06 08:17:25 +10:00
Andrew Tridgell
5349113104
SITL: improved the speedup code
...
more accurate sleeps using sleep debt system
2020-06-06 08:17:25 +10:00