Commit Graph

16501 Commits

Author SHA1 Message Date
Andrew Tridgell
553abda91c AP_NavEKF3: use single precision ceilf() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
4404c95cc8 HAL_Linux: use ceilf() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
ce5db7b813 AP_Scheduler: fixed use of sqrt() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
a5fe798e7f GCS_MAVLink: we don't need the conversion helpers 2018-05-07 11:43:23 +10:00
Andrew Tridgell
4e1d310959 AP_GPS: fixed use of pow() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
86e85a7089 AP_Baro: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
14cf54b2f0 AP_FlashStorage: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
7cff648f8a StorageManager: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
930d22daf9 AP_SmartRTL: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
99884c89c9 AP_Scheduler: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell
61c8dfac31 AP_Math: split out double precision location functions
this allows ALLOW_DOUBLE_MATH_FUNCTIONS to be used
2018-05-07 11:43:23 +10:00
Andrew Tridgell
9766c4ed26 AC_AttitudeControl: fixed use of double precision maths 2018-05-07 11:43:23 +10:00
Andrew Tridgell
48e27ab242 AP_Landing: fixed use of double precision maths
and rename log() to Log() to prevent name collision with libm function
2018-05-07 11:43:23 +10:00
Andrew Tridgell
3b8ec3a2a0 AP_Math: allow double precision maths where needed 2018-05-07 11:43:23 +10:00
Andrew Tridgell
53d36c02ae AP_GPS: enable double precision maths where needed 2018-05-07 11:43:23 +10:00
Andrew Tridgell
097632eeb3 AP_HAL: try to prevent use of double maths functions
this will help reduce the number of misuses of double precision maths
functions
2018-05-07 11:43:23 +10:00
Michael du Breuil
88ea7ac5fa AP_GPS: Remove software check from SBF driver 2018-05-06 14:52:04 -06:00
Randy Mackay
ce44326ba8 AR_AttitudeControl: fix get_steering_out_heading while reversing 2018-05-06 16:58:00 +09:00
Peter Barker
efdf03e27d AP_AdvancedFailsafe: remove rcmap member from AP_AdvancedFailsafe 2018-05-05 18:06:31 +09:00
Andrew Tridgell
dcab51801c HAL_ChibiOS: implement boost_end
this fixes problems with main thread priority and SPI bus delays on
fmuv3
2018-05-05 07:45:53 +10:00
Andrew Tridgell
5ae410f7ca AP_AHRS: called boost_end() on AHRS update 2018-05-05 07:45:53 +10:00
Andrew Tridgell
84a4f9dc96 AP_HAL: added boost_end() method to Scheduler API
this allows for a better method of controlling main thread priority
2018-05-05 07:45:53 +10:00
Lucas De Marchi
b1b4b66e65 AP_HAL_Linux: minlure: fix uart path
In some point in past it may have been ttyS2, but right now on kernel
4.16+ the UART is on ttyS5. We could do like is done for I2C and search
on sysfs, but it requires additional changes.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
b54b95de12 AP_HAL: minlure: search for specific I2C controller
The number can change from one kernel version to another and even from
one boot to another. Find the I2C controller on sysfs and stick to that,
like it's done for PCA9685.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
320db1d79b AP_HAL_Linux: remove unused i2c devpaths 2018-05-04 11:47:04 -07:00
Lucas De Marchi
2000e17646 AP_HAL: move get_device() method from AP_HAL_Linux
This way it's possible to use the method in platform-independent code
without a need to up cast.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
4f2498947b AP_HAL_Linux: remove redundant ifdef
CONFIG_HAL_BOARD_SUBTYPE should be set in the boards header.
2018-05-04 11:42:55 -07:00
Lucas De Marchi
904888fba7 DataFlash: Linux boards never use /fs 2018-05-04 11:42:55 -07:00
mirkix
0c353d2af0 AP_HAL_Linux: change PocketPilot to final baro sensor 2018-05-04 08:00:49 +10:00
mirkix
ee86418587 AP_HAL: change PocketPilot to final baro sensor 2018-05-04 08:00:49 +10:00
mirkix
598ae5c3f7 AP_HAL_Linux: PocketPilot: change pru to final design 2018-05-04 08:00:49 +10:00
Francisco Ferreira
483048398e
AP_Relay: document BB Blue pin options 2018-05-03 15:35:28 +01:00
Andrew Tridgell
5854ccbb4c HAL_ChibiOS: removed stray debug code
thanks to @alielectric for noticing
2018-05-03 17:04:14 +10:00
Eugene Shamaev
5d4579a086 AP_HAL_SITL: add wind type parameters 2018-05-02 07:32:25 -07:00
Eugene Shamaev
d086edc762 SITL: add wind type parameters 2018-05-02 07:32:25 -07:00
Peter Barker
83b918f1c3 AP_Param: make send_parameter_value_all a GCS method rather than static 2018-05-01 09:39:01 +10:00
Peter Barker
bf124e9333 GCS_MAVLink: make send_parameter_value_all a GCS method rather than static 2018-05-01 09:39:01 +10:00
Peter Barker
1a640e3405 AP_InertialSensor: parameterise sensor-rate logging, generalise it
AP_InertialSensor: add parameters for push-to-log interval and count

AP_InertialSensor: rename BAT_RAW to BAT_OPT

This becomes a bitmask of options for the BatchSampler

AP_InertialSensor: rename 'fast sample' to 'sensorrate sample'

AP_InertialSensor: const sensor-rate filter method

AP_InertialSampler: remove hard-coding of sample rate multiplier

AP_InertialSensor: use parameter to enable/disable sensor-rate logging

AP_InertialSensor: use a parameter to control sensor-rate logging

AP_InertialSensor: allow backends to override sensor data multiplier

e.g. some accelerometers are sensitive over wider ranges than the default 16G

AP_Inertialsensor: correct sample rate multiplier
2018-05-01 09:35:29 +10:00
Andrew Tridgell
44131202cd AP_InertialSensor: 4kHz batch sampling 2018-05-01 09:35:29 +10:00
Andrew Tridgell
4869dd0ae4 AP_NavEKF3: send airspeed variance over mavlink 2018-04-30 15:41:32 +10:00
Andrew Tridgell
fb0deba3aa AP_NavEKF2: send airspeed variance over mavlink 2018-04-30 15:41:31 +10:00
Andrew Tridgell
0b03562cf2 AP_AHRS: fix for mavlink update 2018-04-30 15:39:43 +10:00
Peter Barker
767f81265b Sub: correct compilation under clang++ on MacOSX 2018-04-30 13:04:03 +09:00
Andrew Tridgell
2684f46641 HAL_ChibiOS: fixed IMU orientation for revo-mini 2018-04-30 08:33:39 +10:00
night-ghost
c51dda45e7 HAL_F4light: fix compilation errors 2018-04-30 08:32:58 +10:00
night-ghost
1cfdfe55a1 DataFlash: fix HAL_F4light compilation errors 2018-04-30 08:32:58 +10:00
night-ghost
a05c79f1d8 Compass: fix HAL_F4light compilation errors 2018-04-30 08:32:58 +10:00
night-ghost
eb0343649b Baro: fix HAL_F4light compilation errors 2018-04-30 08:32:58 +10:00
Jacob Walser
e5bd6e289e AP_Motors: Add current limiting to 6DOF motors for Sub 2018-04-29 17:16:34 -04:00
mirkix
c2eee2db23 AP_HAL_ChibiOS: add STM32F7 I2C support 2018-04-29 07:59:52 +10:00