Commit Graph

33418 Commits

Author SHA1 Message Date
Andrew Tridgell 40a0decbc2 HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards 2018-07-28 15:36:37 +10:00
Andrew Tridgell cdae1606ce AP_Compass: allow override of COMPASS_AUTO_ROT 2018-07-28 15:36:10 +10:00
Andrew Tridgell 7cb169d0b9 AP_IOMCU: fixed setting of rate masks
this affects layouts which set a subset of channels on a timer
2018-07-28 15:26:35 +10:00
Andrew Tridgell e75dfd793b HAL_ChibiOS: only set freq on valid IO channels 2018-07-28 15:26:33 +10:00
Andrew Tridgell 0fd20b6d0c Plane: pass rc_speed to motor backend constructors
this sets the right speed as early as possible
2018-07-28 15:26:27 +10:00
Andrew Tridgell d51b6ec505 Tools: auto-build Pixhawk1 2018-07-27 10:04:13 +10:00
Andrew Tridgell 811200776f Tools: added Pixhawk1 bootloader 2018-07-27 10:04:11 +10:00
Andrew Tridgell 9667e1766f HAL_ChibiOS: added Pixhawk1 build target
this is more obvious to users than fmuv3
2018-07-27 10:04:09 +10:00
Andrew Tridgell 3c95a74438 AP_RangeFinder: fixed VL53L0X semaphore usage 2018-07-27 10:04:02 +10:00
Alexander Malishev 06434a48c3 HAL_ChibiOS: fix DTCM size in stm32f745 mcu 2018-07-26 17:53:09 +10:00
Andrew Tridgell c6ac1bf95a AP_Arming: only check trim on valid channel count 2018-07-24 20:02:01 +10:00
Andrew Tridgell 6a4dbd0c70 Tools: added KakuteF7 bootloader 2018-07-19 17:10:03 +10:00
IamPete1 eb7f752ec5 Plane: added Q_TAILSIT_THSCMX
this provides more flexibility in tailsitter throttle scaling
2018-07-19 14:46:53 +10:00
Andrew Tridgell ac5fb07b2c Plane: prepare for 3.9.0beta5 release 2018-07-19 12:41:21 +10:00
Andrew Tridgell 0cffaad67b Plane: release notes for 3.9.0beta5 2018-07-19 12:39:59 +10:00
E Thomas e5659d7d47 Added support for PX4V1 UARTD in HAL_PX4_Class 2018-07-19 12:39:58 +10:00
Andrew Tridgell 301fb31e5e Tools: fixed build target for F4BY 2018-07-19 12:39:58 +10:00
Andrew Tridgell da80b5ff31 Tools: rename f4by-ch to F4BY 2018-07-19 12:39:58 +10:00
Andrew Tridgell 154302cb6d HAL_ChibiOS: rename f4by-ch to F4BY 2018-07-19 12:39:58 +10:00
Andrew Tridgell 237d9ea22d Tools: added f4by to autobuild list 2018-07-19 12:39:58 +10:00
Alexander Malishev f2ac91ca24 AP_Bootloader: add f4by bootloader 2018-07-19 12:39:57 +10:00
Michael du Breuil f842618d0f RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
forever
2018-07-19 07:54:11 +10:00
Jonathan Challinger d3c31f17cc AP_IOMCU: fix radio failsafe handling 2018-07-19 06:53:01 +10:00
Andrew Tridgell 26630fc370 Plane: prepare for 3.9.0beta4 release 2018-07-18 20:43:40 +10:00
Andrew Tridgell 12ee57c812 Plane: releases notes for plane 3.9.0beta4 2018-07-18 20:42:41 +10:00
Andrew Tridgell 5083f1957d AP_Compass: make COMPASS_AUTO_ROT=1 for plane stable release 2018-07-18 20:34:52 +10:00
Andrew Tridgell 07187f7797 Plane: fixed ARMING_REQUIRE=2 for dual-motor planes
many thanks to Marco for finding this bug!
2018-07-18 19:58:02 +10:00
Andrew Tridgell d49d5cbb85 autotest: fixed tailsitter default params for SITL 2018-07-18 19:58:02 +10:00
Andrew Tridgell 3a8ef21d89 HAL_F4Light: renamed bootloader 2018-07-18 17:49:54 +10:00
Andrew Tridgell 07871cb867 Tools: rename revo405_bl to F4LightF405_bl
this is the general bootloader used for F4Light. Prevents confusion
for ChibiOS users
2018-07-18 17:49:54 +10:00
Andrew Tridgell 75c5fda222 AP_SerialManager: make console do mavlink2 by default
this is low impact as it doesn't affect radios that may not do mavlink2
2018-07-18 16:21:02 +10:00
Randy Mackay 82aba6fe56 Rover: guided heading-and-speed control slows using yaw error 2018-07-18 15:11:09 +09:00
Randy Mackay 5dc4b8e66d Rover: guided mode slows to stopping point on init 2018-07-18 15:11:09 +09:00
Randy Mackay 77598f72d1 Rover: remove redundant set_steering calls from Guided
steering is centered within the stop_vehicle method
2018-07-18 15:11:09 +09:00
Randy Mackay 3b7e84ce7a Rover: calc_steering_to_heading updates yaw error
this allow the vehicle's speed to be reduced based on the heading error
2018-07-18 15:11:09 +09:00
Randy Mackay 84bda4e893 Rover: follow mode fixes and improvements
fix follow endless loop on enter
pass mavlink messages to AP_Follow
separate follow from guided
follow slows based on yaw error
check follow is enabled before entering follow mode
fix order in switch statement when converting from mode number to mode object
remove unused last_log_ms from follow mode
2018-07-18 15:11:09 +09:00
Ammarf c0082271e6 Rover: implement Follow mode 2018-07-18 15:11:09 +09:00
Randy Mackay 465564ba99 AP_Follow: fix initialisation of offsets 2018-07-18 15:11:09 +09:00
Randy Mackay 0834e7ae9b AP_Follow: update FOLL log column names
VelN is easier to understand than VelX
Also minor formatting fix
2018-07-18 15:11:09 +09:00
Randy Mackay f53bfdbd38 AP_Follow: fix reporting to GCS 2018-07-18 15:11:09 +09:00
Andrew Tridgell 027beb0dc1 AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT
request from Randy
2018-07-18 16:07:19 +10:00
Andrew Tridgell 15d2daabf0 AP_Compass: don't do auto-orientation if using ROTATION_CUSTOM 2018-07-18 16:07:19 +10:00
Andrew Tridgell a73492b40a AP_Compass: fixed newline in statustext 2018-07-18 16:07:19 +10:00
Andrew Tridgell 196ba0e858 AP_Compass: make COMPASS_ROT_AUTO take 3 values
0 for disabled, 1 for check only, 2 for check and fix
2018-07-18 16:07:19 +10:00
Andrew Tridgell d15a4ad92a AP_Compass: improved error reporting, check all compasses
this uses extensions to the MAG_CAL_REPORT message to convey failures
of orientation checking.

It also checks all compasses, external or internal. It only tries to
fix the orientation if it is external
2018-07-18 16:07:19 +10:00
Andrew Tridgell f10e9fe171 mavlink: extend MAG_CAL_REPORT 2018-07-18 16:07:19 +10:00
Andrew Tridgell a5749c1869 AP_Compass: allow diagonals and off-diagonals to be calculated on rot change
this re-runs the fit on change in orientation
2018-07-18 16:07:19 +10:00
Andrew Tridgell b4c7d1925e AP_Compass: allow for runtime changes to SIM_MAG_DIA_?
this makes for easier testing
2018-07-18 16:07:19 +10:00
Andrew Tridgell 3c2e8baee2 AP_Compass: improved orientation reporting
and fail magcal if we fail orientation detection for an external
compass
2018-07-18 16:07:19 +10:00
Andrew Tridgell 8b0f40b402 AP_Compass: implement automatic compass orientation
this automatically determines the compass orientation when doing a 3D
compass calibration, if COMPASS_ROT_AUTO is enabled.
2018-07-18 16:07:19 +10:00