Peter Barker
7af119b497
Copter: factor out loc_from_cmd from three functions
2018-10-16 10:17:12 +11:00
Peter Barker
5f552a6ce3
Copter: stop shadowing members of Copter
...
These references were taken to make the breaking out of Modes in Copter.
A lot of other code has already caused these sorts of things to go away,
but these particular ones seem reasonable to fix by pointing the users
at the copter object directly.
2018-10-16 10:17:12 +11:00
Peter Barker
a8d8e5c0ef
AP_RPM: remove unused variable
2018-10-16 10:17:12 +11:00
Peter Barker
1a660cefae
Copter: remove unused STREAM_RAW_CONTROLLER_msgs variable
2018-10-16 10:17:12 +11:00
Peter Barker
e02a645354
Copter: use fabsf() instead of labs()
...
wrap_180_cd returns a float
substracting a float from an int32 returns a float
2018-10-16 10:17:12 +11:00
Peter Barker
1b6ec1d5ad
AP_AccelCal: use mavlink define for field length
...
Also remove special-case handling for carriage return; no user of this
function has this problem.
2018-10-16 10:11:28 +11:00
Peter Barker
902bd7dda6
AP_Frsky_Telem: use mavlink definition to get statustext size
...
Also, add one for null-termination
2018-10-16 10:11:28 +11:00
Peter Barker
40daa8e15f
AP_GPS: use mavlink definition to get statustext size
...
Also, add one for null-termination
2018-10-16 10:11:28 +11:00
Peter Barker
c0e03522c6
DataFlash: change unit ID of PWM to Y to remove conflict with deglongitude
...
Closes #9554 (thanks @wbrueg)
2018-10-16 10:02:19 +11:00
Peter Barker
b177554f61
DataFlash: add sanity check for duplicate units/multipliers
2018-10-16 10:02:19 +11:00
Andrew Tridgell
cb88947700
Tools: added speedybeef4 and F35Lightning to autobuild
2018-10-16 09:40:57 +11:00
Andrew Tridgell
74c5831afa
Tools: added mRoX21-777 to autobuild
2018-10-16 09:37:39 +11:00
Phillip Kocmoud
f1d223a32a
HAL_ChibiOS: Add support for the mRo X2.1-777
...
a new flight controller from Mayan Robotics based on the x2.1 upgraded to a STM32F777 MCU
2018-10-16 09:37:39 +11:00
Lucas De Marchi
1a9c386df2
AP_Compass: MMC3416: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
e83b345cbb
AP_Compass: MAG3110: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
ac2771b311
AP_Compass: LSM9DS1: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
2324a28e39
AP_Compass: LSM303D: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
38d1f8705f
AP_Compass: LIS3MDL: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
b05b3b9932
AP_Compass: IST8310: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
8d54276263
AP_Compass: BMM150: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
565df5ec94
AP_Compass: AK09916: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
e769c6932f
AP_Compass: QMC5883L: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
c0bccdaed6
AP_Compass: HMC5843: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
329516373c
AP_Compass: add common method to accumulate and drain samples
...
Instead of repeating on each driver the same sequence of steps,
let's move them to the common parent class. This only implements
it, but no driver was ported yet.
2018-10-15 14:41:09 -07:00
Lucas De Marchi
5521fce676
AP_Math: add non-uniform Vector3f scaling
2018-10-15 14:41:09 -07:00
Leonard Hall
2f87d8808f
AP_Motors: handle boost in spool up and down the same way
2018-10-16 00:44:50 +09:00
Leonard Hall
d29a47d605
Copter: Add thrust check, counter reset and comments
2018-10-16 00:44:50 +09:00
Leonard Hall
1a3d181756
Copter: Fix feedback in crash check
2018-10-16 00:44:50 +09:00
Randy Mackay
0cf2850593
Copter: fix thrust_loss check angle check
...
angle deviation corrected to 15deg and based on total lean angle instead of roll and pitch separately
fixed compile error on send_text
2018-10-16 00:44:50 +09:00
Randy Mackay
7a43a21784
Copter: formatting fixes to thrust loss check
2018-10-16 00:44:50 +09:00
Randy Mackay
853a56dc9b
AP_MotorsMatrix: formatting fixes
2018-10-16 00:44:50 +09:00
Leonard Hall
54a59f581f
Copter: add motor thrust lost check
2018-10-16 00:44:50 +09:00
Leonard Hall
4774cb8daf
AP_Motors: improved motor loss redundancy
...
This detects a failed motor on copters with at least 6 motors
and recalculates the mixer to compensate
2018-10-16 00:44:50 +09:00
Leonard Hall
96a8bcf641
AC_AttitudeControl: limit gyro correction to 45 degrees error
2018-10-16 00:44:50 +09:00
Leonard Hall
acaefe9316
AC_AttitudeControl: remove output limits
2018-10-16 00:44:50 +09:00
Sam Bristow
823d09b212
Copter: Fix confusing indentation
...
Commit d94663d5
introducted a minor whitespace issue which made the
indentation of the nested if statements slightly confusing. We may as
well clean it up sooner rather than later :-)
2018-10-15 16:32:15 +11:00
Peter Barker
e503df48ff
AP_Baro: emit calibrated messages for each connected baro
...
Thanks to OlliW for pointing this out
2018-10-15 08:13:50 +11:00
chobitsfan
d94663d5af
Copter: support changing vertical speed in DO_CHANGE_SPEED
2018-10-13 13:16:26 +09:00
chobits
7fa7c8f403
AC_WPNav: add set_speed_z
2018-10-13 13:16:26 +09:00
Eugene Shamaev
95ea3d8726
AP_Baro: fix temperature
2018-10-12 21:53:08 +01:00
vierfuffzig
2243c524db
Chibios: Add board FuriousFPV F35Lightning
2018-10-12 20:28:50 +11:00
Prince Kumar
ca328bde2b
README.md: updated link of contributing guidelines
2018-10-11 21:04:38 -07:00
murata
2d4dd1643d
AP_Baro: Delete the total temperature process.
...
AP_Baro: Delete the total temperature process.
2018-10-12 12:05:17 +11:00
mirkix
0c9fd0ae93
AC_WPNav: fix typo
2018-10-12 00:53:42 +01:00
murata
820f9bd260
AP_RTC: Delete unused variables
...
AP_RTC: Delete unused variables
2018-10-11 13:23:29 +11:00
Peter Barker
d05ab1b983
AP_Baro: notify GCS of all barometer ground pressures
2018-10-11 08:05:05 +11:00
Pierre Kancir
4f35992049
Tools: make param_parse.py error more explicit
...
Signed-off-by: Pierre Kancir <pierre.kancir@azurdrones.com>
2018-10-10 11:22:45 +11:00
Andrew Tridgell
38616e6bee
AP_Notify: ensure we can't skip a step in RGBLed timing
2018-10-09 20:25:49 +09:00
Andrew Tridgell
6489166996
AP_Notify: fixed PixracerLED on NuttX
...
led_dim must be a positive number, and is not related to the led off
value
2018-10-09 20:25:49 +09:00
Andrew Tridgell
ed71790945
AP_HAL: fixed PX4 LED polarity
2018-10-09 20:25:49 +09:00