Andrew Tridgell
fb061a225a
Plane: fixed build with HAL_MINIMIZE_FEATURES enabled
...
thanks to PompeCukor for noticing
6 years ago
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
6 years ago
Michael du Breuil
27ad9ac3ca
AP_GPS: Refactor get_singleton() to return a pointer
6 years ago
Michael du Breuil
35bd143532
Plane: Update GPS before updating current_loc
...
Fixes 20ms of extra induced lag on the DCM position estimate
6 years ago
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.
6 years ago
Peter Barker
31daaf9933
GCS_MAVLink: add floating-point-constant designators
6 years ago
Peter Barker
3b33f4ca4d
Copter: add floating-point-constant designators
6 years ago
Peter Barker
85b737db31
AP_Scheduler: add floating point specifier on constant
6 years ago
Peter Barker
39ae285a7f
AP_Math: add floating point constant designators
6 years ago
Peter Barker
ef860db558
AP_InertialSensor: add floating point constant designators
6 years ago
Peter Barker
8c68ff2e91
AP_Devo_Telem: add floating point constant designators
6 years ago
Peter Barker
5455d27e84
AP_Compass: specify floating point constants
...
Probably indicates compiler floating-point-constants directive isn't
working
6 years ago
Peter Barker
ae8862f266
AP_Beacon: add floating point constant designators
6 years ago
Peter Barker
e4b928be4d
AP_BattMonitor: add floating point constant designators
6 years ago
Peter Barker
c2f04615d9
AP_TempCalibration: add floating-point-constant designators
6 years ago
Peter Barker
6cfe7d5f34
AP_Beacon: add floating-point-constant designators
6 years ago
Peter Barker
63e75459e2
AC_PrecLand: add floating point specifier on constant
6 years ago
Peter Barker
112ace8adb
AC_PID: correct AC_PID_LEAK_MIN constant type
6 years ago
Peter Barker
2c5373e278
AC_WPNav: add floating point constant designators
6 years ago
Peter Barker
10cc05c8ed
AC_Baro: add floating point constant designators
6 years ago
Andrew Tridgell
d59cf15594
HAL_ChibiOS: enable heater pin on Pixhawk4Pro
6 years ago
Lucas De Marchi
2cac03bfd3
Tools: auto-build edge
6 years ago
IamPete1
d188245855
Tools: autobuild tracker on common boards
6 years ago
Michael du Breuil
6105d31c7c
AP_SmartRTL: fix rangefinder initilization
6 years ago
Michael du Breuil
ca260623cb
AP_OpticalFlow: Fix example rangefinder init
6 years ago
Michael du Breuil
3a25897ab4
Replay: Fix rangefinder constructor
6 years ago
Michael du Breuil
02b4379b6c
AP_AHRS: Fix example rangefinder init
6 years ago
Michael du Breuil
698e4e440e
Sub: Fix rangefinder init
6 years ago
Michael du Breuil
d28f9151c5
Tracker: Fix RangeFinder init
6 years ago
Michael du Breuil
ea031d720a
Plane: Fix RangeFinder init
6 years ago
Michael du Breuil
d1246f5868
Copter: Fix RangeFinder init
6 years ago
Michael du Breuil
8cf7c47f96
Rover: Fix RangeFinder init
6 years ago
Michael du Breuil
21b64ad19b
AP_Rangefinder: Remove parameter manipulation from initializer
6 years ago
Pierre Kancir
3f5999a6ad
ArduPlane: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
4cec958269
ArduCopter: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
58cd9361cb
AP_Terrain: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
3e122c19f3
AP_Scripting: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
72e4e69add
AP_Proximity: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
12a357ffd7
AP_Landing: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
a30404fb11
AP_Common: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
701c5dd4c0
AP_AHRS: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
b31e5bf055
AP_Math: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
58328da5f3
ArduPlane: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
5987966ac6
ArduCopter: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
007d317741
APMrover2: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
dfdef294e3
AntennaTracker: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
492c7532eb
AP_OSD: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
92be1780ac
AP_Mission: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
88b29ff18c
AP_Math: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Pierre Kancir
288ae80a59
AP_Landing: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago