Commit Graph

16569 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar do Carmo Lucas
5de3382ab4 Dataflash: Replace ppm (pulses per minute) with PWM in the RC channels 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
4fd37d17f0 Dataflash: Fix AHR2.Alt multiplier 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
babef0def1 Dataflash: Fix some battery units and multipliers 2018-05-08 10:38:40 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
a9ca471907 Dataflash: correct the multiplier factor of POS *Alt data 2018-05-08 10:38:40 +09:00
Peter Barker
5bf2fb186c DataFlash: parameterise dataflash-over-mavlink cachesize 2018-05-08 09:36:01 +10:00
anbello
5b56887428 Changes to be committed:
modified:   hwdef.dat

Modified as per @sh83 hints
2018-05-08 07:33:19 +10:00
anbello
93f551e56e define for AirbotF4 board (ChibiOS HAL)
modified:   libraries/AP_HAL/AP_HAL_Boards.h
	new file:   libraries/AP_HAL_ChibiOS/hwdef/airbotf4/hwdef.dat
2018-05-08 07:33:19 +10:00
Peter Barker
eecdcacf3e GCS_MAVLink: move sending of heartbeats up to GCS_MAVLINK 2018-05-07 11:30:13 -06:00
Peter Barker
e4b4a746e6 GCS_MAVLink: move try_send_message handling of VIBRATION up
Also, use singleton to get ins
2018-05-07 11:23:28 -06:00
Dr.-Ing. Amilcar do Carmo Lucas
9b9932ca9c AP_GPS: Document septentrio RXERROR flags 2018-05-06 20:32:39 -06:00
Dmitri Ranfft
8fa281fa5b RangeFinder: fixed a crash when VL53L0X was enabled in the software but not connected. 2018-05-07 11:47:39 +10:00
Alexander Malishev
776d5e6ba3 HAL_ChibiOS: Fixed s-bus signal polarity in SoftSigReaderInt.cpp 2018-05-07 11:46:35 +10:00
night-ghost
7601edfb87 HAL_F4Light: fixed boards definitions 2018-05-07 11:45:29 +10:00
night-ghost
4cffbf52d3 AP_COMPASS: fix MAG3110 driver 2018-05-07 11:45:29 +10:00
night-ghost
beecfcbae6 fix I2C on AirbotV2 board 2018-05-07 11:45:29 +10:00
Andrew Tridgell
d4d7d1f734 AP_Math: avoid double maths when not needed 2018-05-07 11:43:23 +10:00
Andrew Tridgell
c4fafa490f AP_Avoidance: fixed use of fabs() 2018-05-07 11:43:23 +10:00
Andrew Tridgell
27442e4a7b AP_Declination: use floorf() 2018-05-07 11:43:23 +10:00
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
Alexander Malishev
1fd52c4e01 HAL_ChibiOS: added input capture filter 2018-04-28 07:31:58 +10:00
night-ghost
a2cc54fb5d HAL_F4Light fixes: removed unused code, removed debugging printf(), removed hard-coded pins 2018-04-27 22:14:59 +10:00
night-ghost
e5c3fd43ee upgrade FatFS to most recent version 2018-04-27 22:14:59 +10:00
night-ghost
ccd90e19a1 fixed DataFlash_File_sd.cpp in case of SD error 2018-04-27 22:14:59 +10:00
night-ghost
051c8e9fe2 kill task in case of exception in armed state 2018-04-27 16:33:30 +10:00
Chris Gaddis
35dddbd35a AP_Relay: Enables relays 1-4 for Beaglebone Blue
Enables relays 1-4 on Beaglebone Blue GP0 connector pins 3-6
2018-04-27 00:13:33 +01:00
Francisco Ferreira
930981914a
AP_Mission: fix small bug in d5a4c6b 2018-04-26 23:21:29 +01:00
Michael du Breuil
d5a4c6b5bc AP_Mission: Sanity check for NaN's and infinities 2018-04-26 14:48:14 -07:00
Randy Mackay
0f9b679e98 AR_AttitudeControl: increase angle err P and reduce steering accel max defaults 2018-04-26 14:16:22 +09:00
Michael du Breuil
1d60b0ec62 AC_PID: Support new RC_Channels::read_input() 2018-04-26 08:00:09 +10:00
Michael du Breuil
30554d0de0 RC_Channels: Collapse has_new_input() with set_pwm_all() 2018-04-26 08:00:09 +10:00
Alexander Malishev
0d6043e0c6 HAL_ChibiOS: Fixed current and voltage sense on OmnibusF4PRO 2018-04-26 07:57:06 +10:00
night-ghost
9f1e45509a support for Matek F405-CTR board, causes minor changes in I2C descriptor block 2018-04-26 07:51:06 +10:00
Andrew Tridgell
f75dea34e1 HAL_ChibiOS: fixed integer promotion bug in SoftSigReaderInt
this caused corrupted PPM values. Many thanks to Andrea Belloni for reporting
2018-04-25 22:25:26 +10:00
Jacob Walser
6ae1bf4cf4 AC_AttitudeControl: Allow zero gains for Sub
Close bluerobotics/ardusub#70
2018-04-25 17:18:26 +09:00
Michael du Breuil
b1a3e0a537 AP_GPS: Report when SBF errors change 2018-04-24 12:32:35 -07:00
Jacob Walser
44d0f7b2a1 AP_Compass: update ORIENT @Values 2018-04-24 13:04:37 +01:00
Jacob Walser
74be9f0bda AP_AHRS: Add support for custom board orientations 2018-04-24 13:04:37 +01:00
Jacob Walser
ad4e928e7d AP_InertialSensor: add support for custom board orientations 2018-04-24 13:04:37 +01:00
Jacob Walser
6699c59ad3 AP_Compass: add support for custom board orientations 2018-04-24 13:04:37 +01:00
Jacob Walser
f97ac4af30 AP_Math: add custom rotation option 2018-04-24 13:04:37 +01:00
Jacob Walser
4f02f709a2 AP_Math: fix typo 2018-04-24 13:04:37 +01:00
Jacob Walser
b820da5c6f AP_AHRS: update AHRS_ORIENTATION metadata 2018-04-24 13:04:37 +01:00
Jacob Walser
e738f33770 AP_Math: Add ROTATION_PITCH_315 and ROTATION_ROLL_90_PITCH_315 2018-04-24 13:04:37 +01:00
Randy Mackay
3f1f68b130 AR_AttitudeControl: support vectored thrust
steering output is not scaled for speed
steering integrator does not build up at low speed
2018-04-24 19:57:19 +09:00
Randy Mackay
9c2da896b9 AR_AttitudeControl: get_throttle_out_stop only stops once desired speed reaches zero
this reduces the final jerk to a when transitioning from forward to reverse and in cases where ATC_ACCEL_MAX is small
2018-04-24 12:24:53 +09:00
Randy Mackay
365e1030db AR_AttitudeControl: separate speed limiting to new method
This allows the desired speed limiting (by acceleration) to be done before the speed-to-throttle PID controller is run.
This is required so the avoidance calls (which work on the desired speed) can be run after limiting but before the PID controllers
2018-04-24 12:24:53 +09:00
Andrew Tridgell
da5df5ca20 AP_Devo_Telem: fixed to check for have_position 2018-04-24 10:44:28 +10:00
Andrew Tridgell
33a26ac0a8 AP_HAL: enable DEVO telemetry on F4Light 2018-04-24 10:44:28 +10:00
night-ghost
09b5cc382b AP_SerialManager: devo telemetry support (RX705/707) 2018-04-24 10:44:28 +10:00
night-ghost
85c71273cf AP_Devo_Telem: devo telemetry support (RX705/707) 2018-04-24 10:44:28 +10:00
bnsgeyer
c8488e3333 AP_Motors: Tradheli - swashplate servo trim fix for heli single and dual frames 2018-04-24 10:30:26 +10:00