Commit Graph

33322 Commits

Author SHA1 Message Date
Michael du Breuil 961e16dca9 AP_Notify: Use a bitfield to load LED drivers 2018-07-20 14:53:23 +10:00
Andrew Tridgell 73cfd40e7f HAL_ChibiOS: reduce latency of DMA sharing
if we are sharing a DMA channel between i2c and SPI then this saves
latency on SPI by giving up the DMA channel between retries
2018-07-20 14:51:18 +10:00
Ebin ccb32cf357 APM_Control: BRAKE param default is true 2018-07-20 14:41:32 +10:00
Ebin 830a3bbacf Tools: modified default params for Balance Bot 2018-07-20 14:41:32 +10:00
Ebin 1dc1b28234 APM_Control: changed default PID for Balance Bot 2018-07-20 14:41:32 +10:00
Ebin 89ffa94427 SITL: Removed redundant variables and modified/deleted commented lines 2018-07-20 14:41:32 +10:00
Ebin 21445e91be SITL: new balancebot physics simulation 2018-07-20 14:41:32 +10:00
Andrew Tridgell cb19d4dffc AP_HAL: added toneAlarm_set_tune_string 2018-07-20 14:37:16 +10:00
Andrew Tridgell d93964b319 AP_Notify: support playing tunes by string on ChibiOS 2018-07-20 14:37:16 +10:00
Andrew Tridgell 4244daeb2d HAL_ChibiOS: support playing tunes by string 2018-07-20 14:37:16 +10:00
Andrew Tridgell ba7750de15 mavlink: extended PLAY_TUNE
allow for longer tune strings
2018-07-20 14:37:16 +10:00
Andrew Tridgell 98f87f5087 SITL: fixed gimbal for tailsitter 2018-07-20 14:21:06 +10:00
Andrew Tridgell 9a6113e5d8 AP_AHRS: fixed tailsitters in RealFlight
we need to use the rotated accel for the earth-frame accel
2018-07-20 14:21:06 +10:00
Andrew Tridgell cbd6f4cc21 AP_Compass: fixed compass for tailsitters in SITL 2018-07-20 14:21:06 +10:00
Peter Barker f06637d48e Copter: update servorelayevents @50Hz rather than 3Hz
One of the functions we allow for is toggling the servo at a set
frequency.  3Hz - the old rate - doesn't allow for precise triggering of
the servo.  This patch increases that rate to 50Hz - somewhat better.
2018-07-20 09:42:58 +09:00
Andrew Tridgell ff0f293d06 Tools: added KakuteF7 bootloader 2018-07-19 17:06:40 +10:00
Stephen Dade 0130ff9b89 Tools - updated URL and git submodule command for install-prereqs 2018-07-19 14:52:05 +09:00
Andrew Tridgell a4d3b08d87 Plane: release notes for 3.9.0beta5 2018-07-19 12:42:27 +10:00
Randy Mackay 9eebb6225a AR_AttitudeControl: brake fix to set limit in only one direction 2018-07-19 09:04:50 +08:00
Peter Barker fdd111a24d AP_HAL_SITL: move include for pthread.h
We need pthread_t for a member
2018-07-19 10:27:47 +10:00
IamPete1 20c67019b0 Plane: added Q_TAILSIT_THSCMX
this provides more flexibility in tailsitter throttle scaling
2018-07-19 09:48:25 +10:00
E Thomas c8ce76e8a6 Added support for PX4V1 UARTD in HAL_PX4_Class 2018-07-19 08:11:18 +10:00
Michael du Breuil 16b6201195 RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
forever
2018-07-19 07:53:43 +10:00
Jonathan Challinger 65b20bfd83 AP_IOMCU: fix radio failsafe handling 2018-07-19 06:52:09 +10:00
Andrew Tridgell 9cba2c9bd3 Tools: fixed build target for F4BY 2018-07-18 21:24:44 +10:00
Andrew Tridgell 578f17c45a Tools: rename f4by-ch to F4BY 2018-07-18 21:24:29 +10:00
Andrew Tridgell ec97e7772d HAL_ChibiOS: rename f4by-ch to F4BY 2018-07-18 21:24:11 +10:00
Andrew Tridgell 34e9a6e693 Tools: added f4by to autobuild list 2018-07-18 21:11:44 +10:00
Alexander Malishev f265d7e128 AP_Bootloader: add f4by bootloader 2018-07-18 21:10:39 +10:00
Andrew Tridgell 149a6af48f Plane: releases notes for plane 3.9.0beta4 2018-07-18 20:45:02 +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