Commit Graph

39911 Commits

Author SHA1 Message Date
Peter Barker ed5848238c AP_Buffer: remove as it is replaced with ObjectBuffer 2020-02-05 10:05:59 +11:00
Michael du Breuil faf7b63091 Plane: Geofence, speed up the no fence checks if disabled
This just checks if we are going to early out on the fence because it's
disabled. This also saves us 60 bytes of flash space. This technically
is a behaviour change as it was possible to load the fence before while
disabled if there was an RC channel mapped to it. This defers that until
the fence will have an action. The advantage of this though is that it
speeds up the check that's done per loop in a quadplane for stick mixing
2020-02-05 10:05:59 +11:00
Michael du Breuil a1abfbc222 Plane: Remove unused geofence enable reason 2020-02-05 10:05:59 +11:00
Michael du Breuil 68fac23aaa Plane: Reduce size of GeoFenceState
Cuts it from 32 bytes to 28
2020-02-05 10:05:59 +11:00
Michael du Breuil bfcd1da485 Plane: Remove unneeded state from geofence 2020-02-05 10:05:59 +11:00
Willian Galvani 8f6ca7bb8f APMotors6DOF: add roll factor for motors 4 and 5 for SIMPLEROV_4 and SIMPLEROV_5 2020-02-05 10:05:59 +11:00
Willian Galvani f5ba04d098 APMotors6DOF: add case for SIMPLEROV_3 2020-02-05 10:05:59 +11:00
Peter Barker 28c2179a97 Tools: autotest: send SIGTERM to processes before killing them
This allows coverage atexit functions to run
2020-02-05 10:05:59 +11:00
Peter Barker 552cc4be5c AP_HAL_SITL: catch SIGTERM and exit with zero exit status 2020-02-05 10:05:59 +11:00
Andrew Tridgell 7ecbec5b96 HAL_SITL: added MotorBoat 2020-02-05 10:05:59 +11:00
Andrew Tridgell be083aab1a SITL: added a MotorBoat class
a sailboat with zero sail area
2020-02-05 10:05:59 +11:00
Randy Mackay 930dad1934 Copter: update 3.6.11-rc1 release notes 2020-02-05 10:05:59 +11:00
Randy Mackay b083a3da34 Copter: 3.6.11-rc1 release notes 2020-02-05 10:05:59 +11:00
Lucas De Marchi 77a06de66f AP_RangeFinder: update minimum fw version of TFMiniPlus
Version 2.0.3 has important fixes to avoid having the sensor to lock up.
Let's make sure we check for it and warn on console.
2020-02-05 10:05:59 +11:00
Andrew Tridgell 7d5c36113d Copter: fixed EKF threshold for arming
when EKF failsafe is disabled by setting threshold to zero we need to
disable this arming check
2020-02-05 10:05:59 +11:00
Peter Hall 5b434e814a APM_Control: AR_AttitudeControl: add description for new PID params 2020-02-05 10:05:59 +11:00
Andrew Tridgell 3538bd62c3 waf: fixed --build-dates option
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2020-02-05 10:05:59 +11:00
Peter Barker 0da70fdc38 Tools: random Python cleanups based on lgtm analysis 2020-02-05 10:05:44 +11:00
Andrew Tridgell d85a7e4c4b AP_Logger: fixed use of old irqsave() API 2020-02-05 10:04:08 +11:00
Randy Mackay 65efc642ed Rover: pre-arm check that WP_SPEED is positive 2020-02-05 10:04:08 +11:00
Peter Barker 0eacb0e821 Tools: autotest: correct timeout on heli spline mission 2020-02-05 10:04:08 +11:00
Michael du Breuil af0c55b4df AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging 2020-02-05 10:04:08 +11:00
Michael du Breuil bfe4d6ee82 GCS_MAVLink: remove some unused includes 2020-02-05 10:04:08 +11:00
Peter Barker 79355ba845 Tools: autotest: more coverage out of the dataflash-over-mavlink tests 2020-02-05 10:04:08 +11:00
Peter Barker bd713e0c87 Tools: autotest: add test for SITL implementation of Block backend 2020-02-05 10:04:08 +11:00
Peter Barker 2308f2b097 Sub: remove stale enum entries for log message types 2020-02-05 10:04:08 +11:00
Peter Barker b6212291d8 Plane: remove stale enum entries for log message types 2020-02-05 10:04:08 +11:00
Peter Barker 6672248b02 Copter: remove stale enum entries for log message types 2020-02-05 10:04:08 +11:00
Peter Barker ec4a621c45 Rover: remove stale defines for log message types 2020-02-05 10:04:08 +11:00
Peter Barker 458f106c9b Copter: correct abs vs fabsf usage in Attitude 2020-02-05 10:04:08 +11:00
Peter Barker 506126cb44 AC_AutoTune: correct abs to fabsf for roll_cd and pitch_cd 2020-02-05 10:04:08 +11:00
Peter Barker 9d9da4b8f2 Sub: wrap_180_cd no longer returns floats for integer arguments 2020-02-05 10:04:08 +11:00
Peter Barker 3e9f470bfb AP_L1_Control: wrap_180_cd no longer solely returns floats 2020-02-05 10:04:08 +11:00
Peter Barker 7c2c809b06 APM_Control: wrap_180_cd no longer solely returns floats 2020-02-05 10:04:08 +11:00
Peter Barker 47fa4a3bf8 Copter: wrap_180_cd no longer returns floats for integer arguments 2020-02-05 10:04:08 +11:00
Peter Barker 33ef991282 AP_Math: stop returning float for integer wrap_180/wrap_360 etc 2020-02-05 10:04:08 +11:00
Peter Barker 818402ab99 AP_Math: add more tests for wrap functions 2020-02-05 10:04:08 +11:00
Peter Barker 3ae1a3dccf travis: run balancebot tests as part of CI 2020-02-05 10:04:08 +11:00
Ebin 033cd77ed4 Autotest: ATC_SPEED params for Balance Bot tweaked for better stability 2020-02-05 10:04:08 +11:00
Ebin e91a9d6128 Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10 2020-02-05 10:04:08 +11:00
Ebin 7933f94b2f Autotest: Balance Bot changes to Acro after Auto mission instead of Loiter 2020-02-05 10:04:08 +11:00
Willian Galvani c4182fc66b Sub: default RNGFNDR1_TYPE to mavlink 2020-02-05 10:04:08 +11:00
Peter Barker 678a966d4c Tools: autotest: fix for Plane receiver health test
Won't be healthy until SITL is repolled for RC input
2020-02-05 10:04:08 +11:00
Randy Mackay 59de79b0c0 Copter: version to 4.0.0-dev 2020-02-05 10:04:08 +11:00
Randy Mackay 60ac143763 Rover: version to 4.0.0-dev 2020-02-05 10:04:08 +11:00
Randy Mackay 311407741f Copter: compassmot and motor_test set_soft_armed 2020-02-05 10:04:08 +11:00
Peter Barker d68c9572d9 Tools: autotest: add test for spline-as-last-waypoint 2020-02-05 10:04:08 +11:00
Peter Barker 89cfdb678f AC_WPNav: do not calculate NEU vector from invalid location 2020-02-05 10:04:08 +11:00
Michael du Breuil 14f43f24a9 AP_Common: Include altitude in the init check for a location 2020-02-05 10:04:08 +11:00
Andrew Tridgell 5bac7018b6 AP_GPS: use jitter correction on GPS_INPUT data
this allows for more accurate timing when using GPS_INPUT for indoor
positioning systems
2020-02-05 10:04:08 +11:00