Commit Graph

33067 Commits

Author SHA1 Message Date
Andrew Tridgell 6b05ce15c5 AP_ADC: update to match plane3.9.0 2018-08-02 12:38:37 +09:00
Andrew Tridgell b959e353e2 AP_Compass: added COMPASS_AUTO_ROT support
this is set to "check but don't fix" by default. This matches the
behaviour for plane3.9.0
2018-08-02 12:38:37 +09:00
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 406989c102 Tools: update bootloaders to plane3.9.0beta6 2018-08-02 12:38:33 +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
Stephen 086f7e8bd4 Tools: Add quotes in ChibiOS waf file
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
2018-08-02 12:38:24 +09:00
Andrew Tridgell a0ac6afb8e waf: recognise CubeBlack USB IDs 2018-08-02 12:38:24 +09:00
Andrew Tridgell 2e5bc723ad waf: use wildcard OSD fonts for SITL 2018-08-02 12:38:23 +09:00
Andrew Tridgell 0187e5cced waf: auto-compress ROMFS files 2018-08-02 12:38:22 +09:00
Andrew Tridgell f60a43ed74 waf: stop build if OSD libs missing and requested 2018-08-02 12:38:21 +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
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