Commit Graph

27492 Commits

Author SHA1 Message Date
Andrew Tridgell
1f7a06ebd5 HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3 2017-11-07 11:57:39 +09:00
Kevin Lopez Alvarez
86d3de31a1 HAL_PX4: Adjust SPI params for ppro
Add SPI prescalers for 180 MHz and decrease LIS3MDL SPI speed
2017-11-07 11:57:38 +09:00
Kevin Lopez Alvarez
580295900f AP_Compass: LIS3MDL correct orientation 2017-11-07 11:57:37 +09:00
Kevin Lopez Alvarez
6c93749558 travis: Add ppro target 2017-11-07 11:57:37 +09:00
Kevin Lopez Alvarez
aa61a6231b AP_Compass: Remove comments and use correct board number 2017-11-07 11:57:36 +09:00
Kevin Lopez Alvarez
cf4e805470 AP_BoardConfig: Remove comments and use correct board number 2017-11-07 11:57:35 +09:00
Kevin Lopez Alvarez
5db5c752fe mk: Add bootloader for FMUv4pro 2017-11-07 11:57:34 +09:00
Kevin Lopez Alvarez
eb9c3ee972 AP_InertialSensor: add ppro support 2017-11-07 11:57:34 +09:00
Kevin Lopez Alvarez
2f1553d5e2 HAL_PX4: add ppro support 2017-11-07 11:57:33 +09:00
Kevin Lopez Alvarez
80d4a87975 AP_Compass: add ppro support
disable lis3mdl for now
2017-11-07 11:57:32 +09:00
Kevin Lopez Alvarez
26973fec54 waf: Initial waf support for ppro 2017-11-07 11:57:30 +09:00
Kevin Lopez Alvarez
1ce9917fd0 Tools: initial FMUv4pro support 2017-11-07 11:57:24 +09:00
Kevin Lopez Alvarez
6943e33c09 mk: initial FMUv4pro support 2017-11-07 11:21:17 +09:00
Kevin Lopez Alvarez
dea4b78387 AP_HAL_PX4: initial FMUv4pro support 2017-11-07 11:13:37 +09:00
Kevin Lopez Alvarez
905b34f84b AP_HAL: initial FMUv4pro support 2017-11-07 11:13:33 +09:00
Kevin Lopez Alvarez
5dcb9544ae AP_BoardConfig: initial FMUv4pro support 2017-11-07 11:13:30 +09:00
Kevin Lopez Alvarez
3f360c6ef4 AP_BattMonitor: initial FMUv4pro support 2017-11-07 11:13:27 +09:00
Kevin Lopez Alvarez
f82dc7f12a AP_Baro: initial FMUv4pro support 2017-11-07 11:13:24 +09:00
bnsgeyer
3b2c933306 Copter: heli: Update swashplate behavior
change swashplate behavior on ground in Acro, Stabilize, and AltHold
flight modes. See discussion here:

https://discuss.ardupilot.org/t/tradheli-swashplate-behavior-while-on-the-ground-and-potential-fix-to-issue-5396/22463/18
2017-11-06 17:02:25 +09:00
bnsgeyer
aec4045f91 AC_AttitudeControl: reset target attitude
added method to reset current vehicle attitude to support swash
behaviors in Trad Heli
2017-11-06 17:02:25 +09:00
Andrew Tridgell
2e11bef518 AP_Compass: merged compass changes from plane3.8 2017-11-06 16:56:02 +09:00
Andrew Tridgell
51e9091ca3 AP_Math: added rand_vec3f() 2017-11-06 16:55:59 +09:00
Lucas De Marchi
1d6b88ee68 AP_HAL_Linux: UARTDevice: never be the controlling terminal
If we are the controlling terminal for a tty device we will receive a
SIGHUP when the device disappears. Currently what happens is that we
simply stop the whole process. We don't want to fall off the sky due
to a bad device. This can happen for any reason, but it's more likely
if the UART is behind a USB connection.
2017-11-04 16:24:01 +09:00
Randy Mackay
78d1c55685 AP_Arming: check ahrs and gps differ by less than 10m 2017-11-04 16:02:43 +09:00
Randy Mackay
075564af2c Copter: support SET_GPS_GLOBAL_ORIGIN
also remove setting of origin from DO_SET_HOME command
initialise ekf_origin location when consuming SET_GPS_GLOBAL_ORIGIN
set_ekf_origin performs sanity check on location
2017-11-04 15:53:18 +09:00
Randy Mackay
9a45940c25 GCS_MAVLink: add send_ekf_origin 2017-11-04 15:53:11 +09:00
bnsgeyer
d66a980be3 AP_Motors: TradHeli - fixed servo test function 2017-11-04 15:09:15 +09:00
Andrew Tridgell
29a8127fed HAL_PX4: fixed a race condition on i2c init
we could call init on two devices with the same name, which caused
init_ok to be false. This could cause the SMBus battery to fail to
initialise

Thanks to Michael duBreuil for finding this!
2017-11-04 15:07:41 +09:00
Andrew Tridgell
61da180881 Copter: fixed motor runup check for heli
for all auto-throttle modes we should not allow a mode change to the
mode if the motor runup is not complete.

This moves the code to the set_mode() so it applies to all modes

fixes issue #6956
2017-11-04 15:06:04 +09:00
Andrew Tridgell
02f6f3b87b Copter: fixed collective input with H_SV_MAN=1 for heli
when H_SV_MAN=1 we do direct pass-thru so the user can test swash
range. The problem is that it uses norm_input() for throttle, which
depends on RC3_TRIM. Nowhere else in heli or copter do we depend on
RC3_TRIM, so the user gets a misleading idea of behaviour when testing
their swash.
2017-11-04 15:05:58 +09:00
Lucas De Marchi
e37a084864 AP_HAL: change aerofc baud to 921600
(cherry picked from commit 2c72fc94ba)
2017-10-19 15:16:55 -07:00
Lucas De Marchi
37144bde3c PX4Firmware: aerofc-v1: add support to baud of 921600 2017-10-19 15:16:55 -07:00
Lucas De Marchi
6fe09cd3b8 PX4NuttX: add fix to stm32 flash 2017-10-19 15:16:55 -07:00
Randy Mackay
1a85c237cb Copter: version to 3.5.3 2017-09-21 10:33:40 +09:00
Randy Mackay
9eb1db3dd2 Copter: 3.5.3 release notes 2017-09-21 10:33:05 +09:00
Randy Mackay
528d4d83d7 Copter: version to 3.5.3-rc1 2017-09-12 14:38:59 +09:00
Randy Mackay
ac108b31fa Copter: 3.5.3-rc1 release notes 2017-09-12 14:38:31 +09:00
Peter Barker
7ea991c724 DataFlash: file not being initialised means logging is failed 2017-09-12 14:26:27 +09:00
Michael du Breuil
c39ae3392e AP_GPS: SBF: Reject short packets early, allow 256 byte long messages to be decoded 2017-09-12 14:16:20 +09:00
Andrew Tridgell
697e856b12 AP_GPS: make SBF driver more robust
this fixes a crash bug in the SBF GPS driver where a badly formed packet
could cause crc16_ccitt to reference invalid memory
2017-09-11 08:44:31 +09:00
Randy Mackay
bcb136100c Replay: integrate simpler Log_Write_EKF 2017-09-11 08:43:04 +09:00
Randy Mackay
659aa0ce59 Tracker: integrate simpler Log_Write_EKF 2017-09-11 08:43:01 +09:00
Randy Mackay
6a4c8efd7b Plane: integrate simpler Log_Write_EKF 2017-09-11 08:42:58 +09:00
Randy Mackay
b7921a8341 Rover: integrate simpler Log_Write_EKF 2017-09-11 08:42:56 +09:00
Randy Mackay
2ab3c5a9c3 Sub: remove enabled check from optflow init 2017-09-11 08:42:52 +09:00
Randy Mackay
8cd5607231 Sub: integrate simpler Log_Write_EKF 2017-09-11 08:42:49 +09:00
Randy Mackay
ba6ca9511d Copter: remove enabled check from optflow init 2017-09-11 08:42:42 +09:00
Randy Mackay
215bd4208f Copter: integrate simpler Log_Write_EKF 2017-09-11 08:42:38 +09:00
Randy Mackay
179ebc5162 DataFlash: removed unused optFlowEnabled from Log_Write_EKF 2017-09-11 08:42:29 +09:00
Randy Mackay
6d1619f7ac AP_OpticalFlow: minor order declaration change
non-functional change
2017-09-11 08:42:24 +09:00