Andrew Tridgell
24487d6b0d
DataFlash: added logging of safety state in POWR message
2018-07-06 10:17:40 +10:00
Andrew Tridgell
41c037e30a
HAL_PX4: implement BRD_SAFETYOPTION
2018-07-06 09:57:50 +10:00
Andrew Tridgell
3c5c56253a
AP_BoardConfig: added BRD_SAFETYOPTION parameter
...
allow control of safety button behaviour
2018-07-06 09:57:17 +10:00
bnsgeyer
2df6ede784
AP_Motors: added comments to indicate parameter indices previously used by RSC_PWM_MIN, RSC_PWM_MAX, and RSC_PWM_REV
2018-01-23 14:17:49 +09:00
Andrew Tridgell
750e90994a
AP_Motors: protect against writes to NULL servo_aux
...
if user changes parameter while setting up it could crash
2018-01-23 14:16:41 +09:00
Andrew Tridgell
9d3fd0e6b6
AP_Motors: removed unused pwm parameters for heli
2018-01-23 14:16:10 +09:00
bnsgeyer
2b0f23d5b0
AP_Motors: Tradheli - Fixed Directdrive Variable Pitch Feature
2018-01-23 14:10:29 +09:00
Andrew Tridgell
b18891f8e0
HAL_PX4: added LIS3MDL on FMUv4
2018-01-20 10:36:39 +09:00
Mark Whitehorn
bdc75be3f2
AP_Compass: add LIS3MDL probe for Pixracer
2018-01-20 10:36:38 +09:00
Andrew Tridgell
9b9a189c96
AP_Param: added support for embedded parameters
...
use a block of flash to hold embedded parameters that can be changed
using apj_tool.py
2018-01-20 09:12:28 +09:00
Randy Mackay
3c184f559f
AP_Compass: ICM20948 default rotation to Pitch180Yaw90
2018-01-20 09:01:51 +09:00
Andrew Tridgell
d2ab46e4ac
AP_Compass: fixed missing break
2017-11-15 16:12:06 +11:00
Andrew Tridgell
1ac9e923d8
AP_Compass: probe for LIS3MDL on 0x1e
...
as well as 0x1c
2017-11-15 16:11:01 +11:00
bnsgeyer
63f2a0eaf2
AP_Motors: Tradheli- fixes servo_test function for Dual Heli frame
2017-11-08 11:01:23 +09:00
Andrew Tridgell
45e71fc2e7
AP_Motors: fixed scaling of servo outputs
...
thanks to bnsgeyer for noicing this in issue #6977
this will break existing dual-heli setups, but there are so few people
flying them so far that I think it is a worthwhile change
2017-11-08 10:11:30 +09:00
Peter Barker
8717f1f27e
DataFlash: protect write fd with semaphore
...
If the sensor threads are using WriteBlock they may pass the _write_fd
== -1 check but then have that set to -1 by the main thread
This is a backport of 3af5be76aa
2017-11-07 16:16:22 +09:00
Francisco Ferreira
594edc1929
AP_Rangefinder: search buses 0 and 1 for Maxbotix I2C driver
2017-11-07 13:57:35 +09:00
Francisco Ferreira
edd8fb5293
AP_HAL: stop defining a default Lightware I2C bus
...
When a specific bus isn't defined we now search I2C buses 0 and 1
2017-11-07 13:57:35 +09:00
Francisco Ferreira
633b17f7e5
AP_Rangefinder: look in buses 0/1 when Lightware I2C bus isn't defined
2017-11-07 13:57:35 +09:00
ChristopherOlson
3296bcb10a
AP_Motors:TradHeli - DDFP Tail
...
change to prevent DDFP Tail from starting without motor interlock raised and armed state = true
Change Type: bug fix - resolves issue #6287
2017-11-07 13:52:45 +09:00
Andrew Tridgell
1c9d34b96e
AP_SerialManager: enable debug console use for other protocols
...
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
2017-11-07 11:57:40 +09:00
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
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
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
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
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
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
Lucas De Marchi
e37a084864
AP_HAL: change aerofc baud to 921600
...
(cherry picked from commit 2c72fc94ba
)
2017-10-19 15:16:55 -07: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
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
Randy Mackay
c8c8868975
AP_OpticalFlow: init checks if enabled
2017-09-11 08:42:21 +09:00
Randy Mackay
448bd34590
AP_OpticalFlow: px4flow retries init 10 times at startup
...
This resolves an issue in which some px4flow sensors are slow to startup
2017-09-11 08:42:18 +09:00