Commit Graph

37953 Commits

Author SHA1 Message Date
ChristopherOlson 9d03b44cf7 Copter:Heli - governor set_rpm call independent of frame type 2019-06-03 07:53:01 +09:00
ChristopherOlson 2f7d198196 Copter:Logging TradHeli - add governor output and throttle logging for heli governor 2019-06-03 07:53:01 +09:00
ChristopherOlson 8312dcae5d Copter:Scheduler - increase update rate for rpm to 40Hz for helicopter governor 2019-06-03 07:53:01 +09:00
Peter Barker e9552ec4e1 Tools: autotest: more efficient set_rc_from_map 2019-06-02 10:02:24 +10:00
Andrew Tridgell 3f71a84894 Tools: timestamp build steps
try to track down what is slow
2019-05-31 07:36:16 +10:00
Peter Barker 062ee71135 AC_Fence: simplify fence loading
There's only one caller to this, who didn't force loading - so remove
the unused parameter.

Also remove the _boundary_loaded boolean; it was only set to true in one
place - just before the sole caller called the function!
2019-05-30 16:03:58 +09:00
Peter Barker b25acb4d22 Sub: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 13f7022cec Plane: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 112b153268 Copter: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 22c5954c8f Rover: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Andrew Tridgell ff603a1f0b HAL_ChibiOS: convert mini-pix 2019-05-30 15:39:57 +10:00
Andrew Tridgell 4548aa162b HAL_ChibiOS: convert mindpx-v2 2019-05-30 15:39:57 +10:00
Andrew Tridgell 91aa49ba6f HAL_ChibiOS: convert matek boards 2019-05-30 15:39:57 +10:00
Andrew Tridgell fca03bef8d HAL_ChibiOS: convert F4BY 2019-05-30 15:39:57 +10:00
Andrew Tridgell 8605060dfc HAL_ChibiOS: convert F35Lightning 2019-05-30 15:39:57 +10:00
Andrew Tridgell 288d5d6fe6 HAL_ChibiOS: convert DrotekP3Pro 2019-05-30 15:39:57 +10:00
Andrew Tridgell d90b05f685 HAL_ChibiOS: convert all fmuv5 boards to sensor config system 2019-05-30 15:39:57 +10:00
Andrew Tridgell 03bb94599b HAL_ChibiOS: support I2C sensor probes by bus mask 2019-05-30 15:39:57 +10:00
Andrew Tridgell fc1ec8a465 HAL_ChibiOS: convert airbot to new config 2019-05-30 15:39:57 +10:00
Andrew Tridgell 82b171582e HAL_ChibiOS: added sensor config for cube varients 2019-05-30 15:39:57 +10:00
Andrew Tridgell c36d76c213 HAL_ChibiOS: convert Pixhawk1 to new sensor config
saves 26k of flash, making 1M boards work for longer
2019-05-30 15:39:57 +10:00
Andrew Tridgell eae852962e HAL_ChibiOS: fixed case of no IMU, BARO or COMPASS config settings 2019-05-30 15:39:57 +10:00
Andrew Tridgell 068e6ea8d2 HAL_ChibiOS: convert KakuteF4 and KakuteF7 to new sensor config 2019-05-30 15:39:57 +10:00
Andrew Tridgell 1b0bf88c8f HAL_ChibiOS: convert crazyflie2 to new config 2019-05-30 15:39:57 +10:00
Andrew Tridgell b47ab5c8a9 HAL_ChibiOS: support I2C sensor config in hwdef.dat 2019-05-30 15:39:57 +10:00
Andrew Tridgell 4c5b651296 AP_HAL: removed board type for mRoControlZeroF7 2019-05-30 15:39:57 +10:00
Andrew Tridgell 38c775e6df AP_Compass: removed old mRoControlZeroF7 config 2019-05-30 15:39:57 +10:00
Andrew Tridgell aef343bfd0 AP_InertialSensor: removed old mRoControlZeroF7 config 2019-05-30 15:39:57 +10:00
Andrew Tridgell ceb9c3b83e HAL_ChibiOS: convert mRoControlZeroF7 to new sensor config 2019-05-30 15:39:57 +10:00
Andrew Tridgell 039e7366b0 AP_InertialSensor: support new sensor config setup 2019-05-30 15:39:57 +10:00
Andrew Tridgell 481ae22671 AP_Compass: support new sensor config setup 2019-05-30 15:39:57 +10:00
Andrew Tridgell f7b9368b94 AP_Baro: support new sensor config setup 2019-05-30 15:39:57 +10:00
Andrew Tridgell 5eb488303c HAL_ChibiOS: convert Pixracer to use new sensor config 2019-05-30 15:39:57 +10:00
Andrew Tridgell e198d552a8 HAL_ChibiOS: support IMU, COMPASS and BARO lines in hwdef.dat
this allows for main sensors to be set in hwdef.dat, making adding new
boards simpler
2019-05-30 15:39:57 +10:00
Andrew Tridgell 532b82b3a3 AP_Compass: use DRIVER_HMC5843 to match driver name 2019-05-30 15:39:57 +10:00
Andrew Tridgell 6690e38ee3 Tools: added in vehicletype
request from Michael
2019-05-30 15:36:41 +10:00
Tom Pittenger c67a585b68 AP_Proximity: increase angular resoluion to mavlink packet OBSTACLE_DISTANCE 2019-05-29 18:22:53 -07:00
Tom Pittenger eb37565a9f MAVLink: update OBSTACLE_DISTANCE for higher angle resolution and angle offset 2019-05-29 18:22:53 -07:00
Peter Barker 6fd138d613 Tools: Replay: build and link against AP_Arming 2019-05-30 07:37:30 +09:00
Peter Barker be9aac4444 Tracker: build and link against AP_Arming 2019-05-30 07:37:30 +09:00
Peter Barker 8fdc2a1bad Plane: emit throttle armed and throttle disarmed statustexts 2019-05-30 07:37:30 +09:00
Peter Barker 55a9165624 Rover: emit throttle armed and throttle disarmed statustexts 2019-05-30 07:37:30 +09:00
Peter Barker 1c4b5b0d73 AP_Arming: move arm status statustext messages back into vehicles
Not all vehicle maintainers like having these emitted as part of normal
operations.
2019-05-30 07:37:30 +09:00
Peter Barker 6dce39cbe1 Copter: use AP_Arming methods to arm and disarm vehicle
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Peter Barker 61a2be1470 AP_Arming: change arm and disarm to account for Copter now using them 2019-05-30 07:37:30 +09:00
Peter Barker 75ae6b59b0 GCS_MAVLink: allow Copter to disallow mavlink disarm 2019-05-30 07:37:30 +09:00
Peter Barker 84b16ea3dd AP_Arming: move check for ARMING_CHECK_NONE back into relevant vehicles
Plane and Rover allow all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE.  Not all vehicles allow this, so move this bypass
back into Plane and Rover.
2019-05-30 07:37:30 +09:00
Peter Barker 92ce75517c Plane: move check for ARMING_CHECK_NONE back into Plane
Plane allows all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE.  Not all vehicles allow this, so move this bypass
back into Plane.
2019-05-30 07:37:30 +09:00
Peter Barker def3bb374f Rover: move check for ARMING_CHECK_NONE back into Rover
Rover allows all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE.  Not all vehicles allow this, so move this bypass
back into Rover.
2019-05-30 07:37:30 +09:00
Peter Barker e340873d88 GCS_MAVLink: canonicalise on success on commanded-to-arm-when-armed
This means the mavlink return value indicates the current arm status of
the vehicle rather than success/failure of transitioning to the armed or
disarmed state (where trying to arm when armed is considered a failure).

MAVLink is a lossy communication mechanism.  It would not be
unreasonable for a GCS to issue a disarm command multiple times to
increase the chances of the command getting through.
2019-05-30 07:37:30 +09:00