Commit Graph

33093 Commits

Author SHA1 Message Date
Andrew Tridgell 1e79e6106f Copter: CH_12 can be used with any HAL, not just HAL_PX4 2018-08-01 15:11:19 +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 b7609cdf95 Copter: Handle always land mode 2018-08-01 15:09:12 +09:00
Raouf cb8210599e AC_Fence: add always land option 2018-08-01 15:09:07 +09:00
SergeyBokhantsev ccefe9da84 Copter: implement user auxswitch functions 2018-08-01 15:08:30 +09:00
Randy Mackay d616e28100 Copter: motor test can spin motor for 10min
A user requested they be able to perform longer term tests of their vehicle's motors
2018-08-01 15:07:55 +09:00
Randy Mackay ed9fed75d3 Copter: minor format fix to motor_test 2018-08-01 15:07:52 +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 8e6a8bca82 Tools: added Pixhawk1 bootloader 2018-07-31 14:24:19 +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 e50f771f19 Tools: added KakuteF7 bootloader 2018-07-31 14:24:05 +10:00
Randy Mackay c04a2e3f1a Copter: version to 3.6.0-rc6 2018-07-16 10:39:47 +09:00
Randy Mackay c47de89d08 Copter: release notes for 3.6.0-rc6 2018-07-16 10:39:47 +09: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 b6ac9aa279 Tools: added bootloaders for mRoX21 and Pixracer 2018-07-12 11:44:35 +10:00
Andrew Tridgell 1c5515c2e5 Tools: build Pixracer and mRoX21 in autobuild 2018-07-12 11:44:33 +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
Randy Mackay 2301b19636 Copter: version to 3.6.0-rc5 2018-07-11 15:32:37 +09:00
Randy Mackay 55ef44327f Copter: 3.6.0-rc5 release notes 2018-07-11 15:32:36 +09: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
Andrew Tridgell 260ac21e13 AP_HAL: make linux internal i2c be 0xffff
based on feedback from Lucas
2018-07-11 14:20:26 +09:00
Andrew Tridgell 59a3deba3e HAL_Linux: allow for 16 I2C buses on Linux 2018-07-11 14:20:21 +09:00
Andrew Tridgell 16bd8ae852 AP_Compass: use I2C bus masks
this allows for external compasses on all external I2C ports, while
retaining existing device ordering
2018-07-11 14:20:18 +09:00