Commit Graph

17233 Commits

Author SHA1 Message Date
Andrew Tridgell a403254c81 AP_AHRS: added get_DCM_rotation_body_to_ned()
this specifically asks for the DCM attitude, which will be used for
the comass calibration to help determine compass orientation
2018-08-02 12:38:36 +09:00
Andrew Tridgell 0bf8b84be0 AP_AHRS: don't do yaw correction in DCM while calibrating compass
this avoids applying bad compass yaw, and helps the compass
calibration code
2018-08-02 12:38:35 +09:00
Michael du Breuil 40d3226cd9 AP_AHRS: Remove unused ADC include 2018-08-02 12:38:34 +09:00
Andrew Tridgell 6f22faa71b HAL_SITL: update to plane3.9.0beta6 2018-08-02 12:38:32 +09:00
Andrew Tridgell b2f4cccd52 HAL_ChibiOS: update to plane3.9.0beta6 2018-08-02 12:38:31 +09:00
Andrew Tridgell faa937e41d HAL_Linux: update to match plane 3.9.0beta6 2018-08-02 12:38:31 +09:00
Andrew Tridgell 524dfdf217 AP_HAL: update to match plane3.9.0beta6 2018-08-02 12:38:30 +09:00
Andrew Tridgell 252ab82c97 HAL_PX4: update to match plane3.9.0beta6 2018-08-02 12:38:29 +09:00
Andrew Tridgell d1a16a0e2f HAL_SITL: update to match plane3.9.0beta6 2018-08-02 12:38:28 +09:00
Andrew Tridgell bb3b5ed869 AP_IOMCU: update to match plane3.9.0beta6 2018-08-02 12:38:28 +09:00
Andrew Tridgell 97dae1a03d HAL_ChibiOS: update to match plane 3.9.0beta6 2018-08-02 12:38:27 +09:00
Andrew Tridgell 9384bc9b03 AP_IOMCU: use compressed interface for IO fw upload 2018-08-02 12:38:26 +09:00
Andrew Tridgell 230e1f681b AP_IOMCU: use thread_create() API 2018-08-02 12:38:25 +09:00
Andrew Tridgell 2de747a71e AP_ROMFS: added support for compressed files in ROMFS 2018-08-02 12:38:20 +09:00
Andrew Tridgell 195550998d HAL_PX4: backup storage to microSD if possible
very useful for diagnostics
2018-08-02 12:38:20 +09:00
Randy Mackay cbd225ae38 AP_BattMonitor: add BLHeli ESC to MONITOR param desc 2018-08-01 15:11:41 +09:00
Randy Mackay d98d1764df AP_RSSI: const get_gpio and fix includes 2018-08-01 15:10:44 +09:00
Randy Mackay 3ffd516cae AP_RSSI: support pwm input on gpio pin 2018-08-01 15:10:29 +09:00
Randy Mackay 9deb0d7d12 AP_RSSI: minor format fix 2018-08-01 15:10:26 +09:00
Randy Mackay 08ef942907 AP_RSSI: clarify PIN_LOW/HIGH parameter description 2018-08-01 15:10:24 +09:00
Raouf cb8210599e AC_Fence: add always land option 2018-08-01 15:09:07 +09:00
bnsgeyer 7e8c2a3e83 AP_Motors: Tradheli-corrected get_motor_mask method 2018-08-01 15:03:54 +09:00
bnsgeyer abdb1e07c5 AP_Motors: convert heli code to use SRV_Channels
this converts the heli code to use the SRV_Channels output
functions. It does not change behaviour, but removes the last vehicle
type that did its own servo output calculations.  This change also
fixed servo initialization conflicts.

Note that this also allows helis to be setup with more than one
channel for a particular output (eg. two separate channels for tail
servo if they are wanted). This isn't likely to be used much, but does
make heli consistent with other vehicle types
2018-08-01 15:03:51 +09:00
bnsgeyer b728e781a7 SRV_Channel: fixes channel numbering for channel already assigned message 2018-08-01 15:03:46 +09:00
bnsgeyer 7c498b8978 SRV_Channel: modified set_output_pwm_trimmed for reverse property
Modified function to account for servo reverse property
2018-08-01 15:03:43 +09:00
Andrew Tridgell 28e66c95bc SRV_Channel: added function based set_output_min_max
this is for a conversion of AP_Motors heli code to servo functions
2018-08-01 15:03:40 +09:00
Andrew Tridgell b4bd0adfad HAL_ChibiOS: account for I2C base in compass masks 2018-07-31 14:26:56 +10:00
Andrew Tridgell 630dc96d0b HAL_ChibiOS: fixed internal i2c mask for Pixracer 2018-07-31 14:26:49 +10:00
Michael du Breuil e1b69a7534 RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
forever
2018-07-31 14:26:29 +10:00
Jonathan Challinger 83ed210869 AP_IOMCU: fix radio failsafe handling 2018-07-31 14:26:11 +10:00
Andrew Tridgell 26a8c75a84 AP_Compass: clear DEV_ID for undetected compasses
this prevents user confusion with the number of compasses detected
2018-07-31 14:25:40 +10:00
Timothy Knab 0dad18f014 HAL_ChibiOS: Updated OMNIBUSF7V2
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-31 14:24:39 +10:00
Andrew Tridgell 6d3ff416cf AP_IOMCU: fixed setting of rate masks
this affects layouts which set a subset of channels on a timer
2018-07-31 14:24:30 +10:00
Andrew Tridgell fa4d125727 HAL_ChibiOS: only set freq on valid IO channels 2018-07-31 14:24:27 +10:00
Andrew Tridgell a8302911b5 HAL_ChibiOS: added Pixhawk1 build target
this is more obvious to users than fmuv3
2018-07-31 14:24:17 +10:00
Andrew Tridgell 24338199ac AP_RangeFinder: fixed VL53L0X semaphore usage 2018-07-31 14:24:14 +10:00
Alexander Malishev 95d3dae64a HAL_ChibiOS: fix DTCM size in stm32f745 mcu 2018-07-31 14:24:11 +10:00
Andrew Tridgell ab71cec7ef AP_Arming: only check trim on valid channel count 2018-07-31 14:24:08 +10:00
Andrew Tridgell 34fd3a9bcf HAL_ChibiOS: changed uart order for KakuteF4
thanks to feedback from Arther
2018-07-12 11:50:30 +10:00
Andrew Tridgell 5bf48fad43 HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards 2018-07-12 11:44:32 +10:00
Andrew Tridgell 465c6c5a68 AP_BoardConfig: allow hwdef.dat override of BRD_TYPE 2018-07-12 11:44:30 +10:00
Andrew Tridgell 8a23a21383 HAL_ChibiOS: fixed mRoX21 IMU setup 2018-07-12 11:44:27 +10:00
fnoop 35a5166038 HAL_ChibiOS: MatekF405-Wing UART reorder 2018-07-12 11:43:23 +10:00
Andrew Tridgell cd6d585591 HAL_VRBrain: don't clear buffers on no baud change 2018-07-12 11:43:23 +10:00
Andrew Tridgell e661b1266f HAL_Linux: don't clear buffers on no baud change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 84a6c18c43 HAL_PX4: don't clear buffers if no baudrate change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 84624fbbf6 HAL_ChibiOS: don't clear buffers if no baudrate change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 4f78d7200f AP_FlashStorage: fixed build of example on small memory boards 2018-07-11 15:32:35 +09:00
fnoop abdf56d6dd HAL_ChibiOS: Fix MatekF405-Wing default compass rotation 2018-07-11 14:20:53 +09:00
Andrew Tridgell d9ba148083 AP_Compass: fixed compass orientations on PH4 2018-07-11 14:20:34 +09:00