Commit Graph

21300 Commits

Author SHA1 Message Date
Andrew Tridgell 29a2351fd0 AP_HAL: rename AP_HAL::CAN to AP_HAL::CANHal
avoid conflict with ChibiOS STM32F3xx headers
2019-11-01 10:53:53 +11:00
Andrew Tridgell 3750ed2925 AP_BLHeli: fixed critical errors caused by BLHeli code 2019-11-01 08:44:54 +11:00
Leonard Hall 5979c750f9 AP_Motors: yaw headroom fix 2019-10-31 16:12:11 +09:00
Leonard Hall 3ca713fdcb AC_AttitudeControl: limit ATC_MOT_MIX_MAX in case of a fly away 2019-10-31 12:23:48 +08:00
Peter Barker 39863bf0b4 AP_Proximity: remove empty constructors
Well, some of them were only essentially empty
2019-10-31 11:58:15 +08:00
Peter Barker 5b2689a7a8 AP_Proximity: use rangefinder singleton 2019-10-31 11:58:15 +08:00
Peter Barker 34eff6d1c6 GCS_MAVLink: adjust for proximity status namespace change 2019-10-31 11:58:15 +08:00
Peter Barker daba5e26a5 AC_Logger: adjust for proximity status namespace change 2019-10-31 11:58:15 +08:00
Peter Barker 64281eee60 AC_Arming: adjust for proximity status namespace change 2019-10-31 11:58:15 +08:00
Peter Barker 0d624785f3 AC_Avoid: adjust for proximity status namespace change 2019-10-31 11:58:15 +08:00
Peter Barker 8fe16f5627 AP_Proximity: use enum class for status 2019-10-31 11:58:15 +08:00
Peter Barker f5f6eb8231 AP_Proximity: correct checking of valid instance in various getters 2019-10-31 11:58:15 +08:00
Peter Barker 5c3a0926a1 GCS_MAVLink: adjust for proximity rangefinder types changing namespacing 2019-10-31 11:58:15 +08:00
Peter Barker de7e3acc29 AP_Proximity: use enum class for proximity type
Removes verbiage from AP_Proximity.cpp
2019-10-31 11:58:15 +08:00
Peter Barker 4962b7a98e AP_Proximity: stop passing serial manager around, use singleton 2019-10-31 11:58:15 +08:00
Leonard Hall 368a8028ae Heli: Prevent loss of yaw control during large angle recovery 2019-10-31 11:53:27 +08:00
Leonard Hall 5afb5b4956 AC_AttitudeControl: Prevent loss of yaw control during large angle recovery. 2019-10-31 11:53:27 +08:00
Randy Mackay 5b8d7a35e7 AP_BLHeli: minor style fix for get_average_moto_frequency_hz 2019-10-31 12:20:41 +09:00
Andy Piper 6381183aa3 AP_InertialSensor: expose harmonic notch tracking mode 2019-10-31 11:18:40 +08:00
Andy Piper b242c5071b AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
correctly calculate rpm from erpm
2019-10-31 11:18:40 +08:00
Andy Piper 22111f59e8 Filter: add harmonic notch dynamic tracking mode
update harmonic notch REF docs
2019-10-31 11:18:40 +08:00
Leonard Hall a8913d0df5 AP_Motors: Add full yaw range calculation back 2019-10-31 11:04:40 +08:00
Leonard Hall f840f96276 AP_Motors: Freeze motor lost index on enabling thrust boost 2019-10-31 10:49:45 +08:00
Randy Mackay f24afbcf4b AP_NavEKF3: initialise pre-arm failure message 2019-10-31 09:51:27 +08:00
Randy Mackay cc5facf6d2 AP_NavEKF2: initialise pre-arm failure message 2019-10-31 09:51:27 +08:00
Mirko Denecke fe46dc34d4 AP_RCProtocol: remove duplicated definition from protocol_detected 2019-10-31 08:24:30 +11:00
Michael du Breuil 38e17e2068 AP_Scripting: Add Location get_distance_NED and get_distance_NE
Fixes a regression with nil punning which broke Location:offset() and
adds a test script that is suitable for CI to test this sort of thing
2019-10-31 07:10:55 +11:00
Siddharth Purohit 8c413d3c09 HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt 2019-10-30 22:15:04 +11:00
Randy Mackay 96616343ce GCS_MAVLink: mission item support more mav frames 2019-10-30 18:27:07 +08:00
Andrew Tridgell ecd9e45568 AP_Motors: switched tricopter to use rc_write_angle()
simplies tricopter handling
2019-10-30 16:01:15 +08:00
Andrew Tridgell 1fe146c409 AP_Compass: remove expected error
this happens with AK09916 probing on invensense sensor
2019-10-30 15:21:07 +11:00
Peter Barker a08443ff19 SITL: break out a SIM_SerialDevice base class, use it for SIM_Vicon 2019-10-29 18:41:13 +11:00
Mark Whitehorn 6e73feca5c AP_NavEKF2: add prearm failure message for null core pointer 2019-10-29 11:59:29 +08:00
Mark Whitehorn 3e21ef1389 AP_NavEKF3: add prearm failure message for null core pointer 2019-10-29 11:59:29 +08:00
Andrew Tridgell 8f14ea9e80 HAL_ChibiOS: enable advanced timers if we have any N PWM channels 2019-10-29 13:09:14 +11:00
Andrew Tridgell ff30ba87bc HAL_ChibiOS: fixed build of sparky2
running out of flash
2019-10-29 12:15:12 +11:00
yaapu dddfaa256f Ap_Frsky_Telem: replaced the passthrough scheduler with a WFQ one.
This replaces the default scheduler with a WFQ one
2019-10-29 10:27:17 +11:00
Patrick José Pereira e18883fddf SITL: Add missing shove forces in SIM_Submarine
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-10-29 09:44:24 +11:00
Andrew Tridgell fcf9356e2c HAL_ChibiOS: fixed build of f103 rangefinder 2019-10-29 08:07:29 +11:00
Andrew Tridgell 76dd2f0838 AP_RangeFinder: fixed failover between rangefinders
this fixes the case where we have one rangefinder that can handle
short range and another that is good for long range but no good for
short range (quite common, eg radar and lidar)

If possible we want to use the first rangefinder that is in range for
the right orientation. If none are in range then use the first for the
orientation
2019-10-28 21:13:18 +11:00
vierfuffzig c97f785443 AP_BLHeli: fix eRPM conversion 2019-10-28 21:09:22 +11:00
Andrew Tridgell a4e51f3942 HAL_ChibiOS: lower speed of mpu9250
it isn't handling the full speed well, getting some SPI transfer
errors
2019-10-28 21:06:41 +11:00
Michael du Breuil 5bafd7d72c AP_GPS: Don't defeat the GCS message interval code 2019-10-28 00:26:28 -07:00
Andrew Tridgell 2708c99bfb AP_SerialManager: added set_protocol_and_baud()
used by AP_Periph for rangefinders
2019-10-28 15:53:16 +11:00
Andrew Tridgell 513fd4065b AP_Menu: use strtof() instead of atof() 2019-10-28 15:53:16 +11:00
Andrew Tridgell 34f5b40919 AP_IOMCU: use crc32_small() in AP_IOMCU
the slower speed is not noticible and this saves 1k ram
2019-10-28 15:53:16 +11:00
Andrew Tridgell 1ec921560e AP_WindVane: use strtof instead of atof
we don't need double precision
2019-10-28 15:53:16 +11:00
Andrew Tridgell c7fce7568e AP_Proximity: use strtof instead of atof
we don't need double precision
2019-10-28 15:53:16 +11:00
Andrew Tridgell 31b0663115 AP_Param: use strtof instead of atof
we don't need double precision
2019-10-28 15:53:16 +11:00
Andrew Tridgell ff2cfbaafb AP_Math: added smaller footprint crc32 2019-10-28 15:53:16 +11:00