Commit Graph

46124 Commits

Author SHA1 Message Date
Gone4Dirt 1e1be590e2 Copter: Add ignore pilot yaw option bit 2021-02-09 19:39:17 +09:00
Randy Mackay 0703a1cf93 AC_PosControl: add PSCZ logging 2021-02-09 19:33:52 +09:00
Randy Mackay 9f914d9e7d AC_PosControl: add get_z_accel_cmss helper function 2021-02-09 19:33:52 +09:00
Randy Mackay 3ae8af6b21 AP_Logger: add PSCZ logging
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>

includes const log_PSCZ declaration
also changed PSZ ThO to percentage
2021-02-09 19:33:52 +09:00
Josh Henderson 8135d9e60a AP_VisualOdom: Privatize Logging 2021-02-09 19:33:14 +09:00
Josh Henderson 00e3bda2f5 AP_Logger: Privatize AP_VisualOdom Logging 2021-02-09 19:33:14 +09:00
Iampete1 9ace8ed216 AP_Motors: Matrix 6DoF scripting add get_frame_string 2021-02-09 12:43:54 +09:00
Iampete1 7d5e5f8dd7 AC_AttitudeControl: add SITL panic to remind us to implent the quarternion 2021-02-09 12:43:54 +09:00
Iampete1 a572820dbc Copter: system: use config_error loop don't panic 2021-02-09 12:43:54 +09:00
Peter Hall cc26a520bc AP_MotorsMatrix: init to virtual and remove duplicate set initalised 2021-02-09 12:43:54 +09:00
Iampete1 1395f9ce79 AP_Scripting: add 6DoF motors matrix bindings and example 2021-02-09 12:43:54 +09:00
Iampete1 28e8c5e56e AP_Scripting: add 6DoF attitude control bindings and example 2021-02-09 12:43:54 +09:00
Iampete1 5c3725d899 AP_Motors: add 6DoF scripting matrix mixer 2021-02-09 12:43:54 +09:00
Iampete1 791e68b4ef AC_AttitudeControl: add 6DoF support 2021-02-09 12:43:54 +09:00
Iampete1 d6fa4d97e3 Copter: add 6DoF support 2021-02-09 12:43:54 +09:00
Gone4Dirt f490c9d799 AC_Autorotation: Add copter vehicle type to flight log metadata 2021-02-08 22:09:49 -05:00
Gone4Dirt 6dc100728f AP_Motors: Fix spelling of autorotation flag 2021-02-08 22:09:49 -05:00
Patrick José Pereira 030b6f2a49 Rover: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-09 11:05:14 +09:00
Patrick José Pereira ffe356d597 ArduCopter: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-09 11:04:18 +09:00
Mark Whitehorn 9bc8a8c912 AP_Motors: make frame*string getters more const 2021-02-09 12:43:53 +11:00
Mark Whitehorn 236961f17f Plane: use get_frame_class/type string methods
use AP_Enum<> for frame_class/type
remove invalid copterTS check
improve quadplane setup failure message

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-02-09 12:43:53 +11:00
Mark Whitehorn f405454aba Copter: add nullptr checks for get_frame_string
fix rebase errors
2021-02-09 12:43:53 +11:00
Mark Whitehorn cb687a6fff Copter: move get_frame_string to Motors class 2021-02-09 12:43:53 +11:00
Mark Whitehorn 6b2184a53a AP_Motors: add frame_class and frame_type strings
move frame_class/type string assignments down into subclasses
2021-02-09 12:43:53 +11:00
Andrew Tridgell 814393c9c2 HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310 2021-02-09 11:37:07 +11:00
Andrew Tridgell dad55b496b AP_Baro: support DPS310 temperature fix
separate DPS310 from DSP280
2021-02-09 11:37:07 +11:00
Randy Mackay 1814524fcb AP_NavEKF3: fix using_external_yaw when using external nav
the first if would always return true meaning the method would always return false when using external nav
thanks to David Sastre for finding this!
2021-02-09 11:35:39 +11:00
Andrew Tridgell 86fda93781 HAL_ChibiOS: added heater correction of AK09916
this fixes a problem with the internal compass being impacted by the
magnetic field from the heater
2021-02-09 11:32:19 +11:00
Andrew Tridgell a90b54ba6e AP_Compass: allow for AK09916 correction by heater duty cycle 2021-02-09 11:32:19 +11:00
Andrew Tridgell 1097d04e5d AP_BoardConfig: added get_heater_duty_cycle() 2021-02-09 11:32:19 +11:00
Andrew Tridgell 5920c52285 Scripting: simple relay example
toggle at 50Hz
2021-02-09 10:23:06 +11:00
Andrew Tridgell 55de28c0fd CI: added upload of failed builds 2021-02-09 10:09:43 +11:00
Samuel Tabor db8aaeb63a Plane: During takeoff keep limit at LEVEL_ROLL_LIMIT until rotate speed is reached. 2021-02-09 10:08:41 +11:00
Andrew Tridgell 2ab8ad0ef0 HAL_ChibiOS: added Durandal pinout details 2021-02-09 07:14:02 +11:00
Peter Barker 742d5a9fa0 autotest: add body_frame_velocity 2021-02-08 22:44:32 +11:00
Arsh 3609a1b5fd Copter:PreArm Battery low voltage failsafe message repeated two times fix 2021-02-08 09:12:51 +09:00
Peter Barker 164da261f1 Tools: initvagrant: install missing cmake so we can build jsbsim 2021-02-07 08:22:28 +11:00
Andrew Tridgell a70f9d54c0 Copter: update release notes for 4.0.7rc1 2021-02-06 19:16:10 +11:00
Randy Mackay d1dda86f60 AC_AutoTune: report step in lower case
also shortens displayed accuracy to 0.1deg and removes one pair of brackets
we should use lower case for reporting because it is easier to read and it takes up less space when displayed on MP's HUD (and probably other GCSs too)
2021-02-06 14:45:53 +09:00
Randy Mackay 25beab4c82 AC_AutoTune: add failure to level warning 2021-02-06 14:45:53 +09:00
Randy Mackay 4032ac9884 AC_AutoTune: level criteria is 5deg for plane and 2.5 for all others 2021-02-06 14:45:53 +09:00
Andrew Tridgell 2e9b2fbc2b Plane: update release notes for 4.0.9beta1 2021-02-06 15:46:01 +11:00
Michael du Breuil 623951a262 AP_HAL_ChibiOS: Add some extra GPS SBF config 2021-02-05 11:52:29 -07:00
Michael du Breuil 5f3b1b92a4 AP_GPS: SBF don't send configuration until we've recieved a prompt
This fixes a configuration problem with SBF unit's where sometimes we
fail to detect the GPS unit continously, until it's been manually
configured. This was tested by doing a hard reset to the GPS unit.

This also now accepts a set of defines from the hwdef, or build
environment, which allows us to specify extra config options.
2021-02-05 11:52:29 -07:00
Michael du Breuil d9ffd04a96 AP_GPS: Broadcast the detect message on AP_Periph over CAN 2021-02-05 11:52:29 -07:00
Andrew Tridgell b113fe15ab Tools: added MatekH743-periph to autobuild 2021-02-05 20:13:36 +11:00
basti a3c47e0a23 AP_OSD: add SD-card handling to font README 2021-02-05 19:48:06 +11:00
Randy Mackay f20fc28a85 Tools: param files to ease SITL setup of GPS-for-yaw 2021-02-05 17:22:27 +09:00
Peter Barker 3da156e358 AP_InertialSensor: prevent nullptr dereference in SITL 2021-02-05 15:02:12 +11:00
Andrew Tridgell 6144136b61 Filter: fixed reset of filters to first value
the delay elements were set incorrectly
2021-02-05 15:01:22 +11:00