Pierre Kancir
54bc960ca3
AP_AHRS: move check_latlng to Location
2019-04-08 12:56:01 -07:00
Andrew Tridgell
a767c15986
HAL_ChibiOS: change CUAVv5Nano default PWM count to 11
2019-04-08 08:21:39 -07:00
Andrew Tridgell
c6637fbe38
HAL_ChibiOS: fixed CUAVv5Nano uarts
2019-04-08 08:21:39 -07:00
Andrew Tridgell
ce4abf8dcb
HAL_ChibiOS: support for CUAVv5Nano board
...
F765 with no IOMCU
2019-04-08 08:21:39 -07:00
Pierre Kancir
ad75b1e56f
AP_Scripting: update locations_are_same to same_latlon_as
2019-04-08 08:05:05 -07:00
Pierre Kancir
b10e75f4e1
AP_Math: move locations_are_same to Location and rename to same_latlon_as
2019-04-08 08:05:05 -07:00
Pierre Kancir
a700b647db
AP_HAL_SITL: fix ‘heap’ shadowing
2019-04-08 08:02:40 -07:00
Pierre Kancir
ebdcfdf65b
SITL: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
6fbcb21ae3
AP_Terrain: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
51437ccc53
AP_Soaring: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
b3a1c9c90c
AP_NavEKF3: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
50e99b6e1a
AP_NavEKF2: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
058cade92c
AP_Math: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
49be270377
AP_Landing: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
25507d4d7b
AP_L1_Control: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
4ea10ce5f5
AP_GPS: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
d6277390f4
AP_Beacon: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
78ce60aa95
AP_Avoidance: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
6da820ac7b
AP_AHRS: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
e4987f17b9
AC_Fence: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
3f5a6a243c
AP_NavEKF2: use get_distance instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
0b50f32c32
AP_Landing: use get_distance instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
6397cb0c0e
AP_Arming: use get_distance instead of location_diff
2019-04-08 08:00:52 -07:00
Pierre Kancir
00fa07ef33
AP_Math: move location_diff to Location and rename
2019-04-08 08:00:52 -07:00
Andrew Tridgell
fa63243eb0
AP_InertialSensor: added BMI088 accel config retry
2019-04-08 19:58:12 +10:00
Randy Mackay
928d7c7e71
AP_MotorsHeli: add range checking to ext_gyro_gain
2019-04-08 15:24:00 +09:00
Andrew Tridgell
fef42c6219
AP_Baro: fixes for LPS2XH driver
...
use fractional temperature, and check status register to ensure we
have data available
2019-04-08 12:52:19 +10:00
Andrew Tridgell
f998a74adf
GCS_MAVLink: don't report SCALED_PRESSURE2 with a non-existant airspeed sensor
2019-04-08 12:52:19 +10:00
Randy Mackay
d2a2caf3a6
OpticalFlow: replace ENABLE with TYPE
2019-04-08 11:26:59 +09:00
Randy Mackay
bbd051b246
GCS_MAVLink: send OPTICAL_FLOW messages to optical flow driver
2019-04-08 11:26:59 +09:00
Randy Mackay
97b5c2b031
OpticalFlow: add MAVLink driver
2019-04-08 11:26:59 +09:00
Randy Mackay
5e9aebd678
AP_RangeFinder: BlueRobotics Ping driver
2019-04-08 09:43:41 +09:00
Randy Mackay
65966ac957
AP_RangeFinder: add LidarLitev3HP and PWM to TYPE param desc
2019-04-08 09:43:41 +09:00
Leonard Hall
6e76dff930
AC_AttitudeControl: remove unused set_throttle_out_unstabilized
2019-04-08 09:42:21 +09:00
Leonard Hall
c4e3c4142e
AP_AutoTune: replace set_throttle_out_unstabilized
2019-04-08 09:42:21 +09:00
Andrew Tridgell
edd793c152
HAL_ChibiOS: fixed fallback to microSD for storage
...
this is used when FRAM fails on a board with microSD support. The
double init caused the validate() in the FATFS code to fail
2019-04-07 13:37:57 +10:00
Michael du Breuil
27ad9ac3ca
AP_GPS: Refactor get_singleton() to return a pointer
2019-04-05 23:09:47 -07:00
Peter Barker
ce53ae63ae
AP_Math: use /2 in place of *0.5f
...
MdB says:
dividing by 2 is actually optimal. It's type correct for all usage, and the compiler generates the multiplication if it's float, and sticks with divide for integers
Godbolt indicates on any optimization level (O1-O3, and Os) that the compiler will correctly optimize the / 2 into a float multiplication if using a float, but if using integer types in the template it will stick with the / 2 which is faster then doing the conversions to/from float.
2019-04-05 23:04:17 -07:00
Peter Barker
31daaf9933
GCS_MAVLink: add floating-point-constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
85b737db31
AP_Scheduler: add floating point specifier on constant
2019-04-05 23:04:17 -07:00
Peter Barker
39ae285a7f
AP_Math: add floating point constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
ef860db558
AP_InertialSensor: add floating point constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
8c68ff2e91
AP_Devo_Telem: add floating point constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
5455d27e84
AP_Compass: specify floating point constants
...
Probably indicates compiler floating-point-constants directive isn't
working
2019-04-05 23:04:17 -07:00
Peter Barker
ae8862f266
AP_Beacon: add floating point constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
e4b928be4d
AP_BattMonitor: add floating point constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
c2f04615d9
AP_TempCalibration: add floating-point-constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
6cfe7d5f34
AP_Beacon: add floating-point-constant designators
2019-04-05 23:04:17 -07:00
Peter Barker
63e75459e2
AC_PrecLand: add floating point specifier on constant
2019-04-05 23:04:17 -07:00
Peter Barker
112ace8adb
AC_PID: correct AC_PID_LEAK_MIN constant type
2019-04-05 23:04:17 -07:00