Commit Graph

28423 Commits

Author SHA1 Message Date
Andrew Tridgell 7dc5e040e1 Plane: prepare for 3.8.5 release 2018-04-25 19:49:08 +10:00
Andrew Tridgell 03eb3f62c5 AP_Math: added from_rotation() to Matrix3
backport from master
2018-04-25 19:48:58 +10:00
Andrew Tridgell 66418d1ad4 SITL: allow for tailsitters in RealFlight 2018-04-25 19:48:40 +10:00
Andrew Tridgell 1686ae41d2 Plane: fixed a bug in transition to QSTABILIZE for tailsitters
this bug was found bug Marco on his tailsitter. It resulted in zero
throttle for 2s in transition from FBWA to QSTABILIZE
2018-04-25 17:25:49 +10:00
Andrew Tridgell e6942c53fd Plane: prepare for 3.8.5beta3 release 2018-04-14 11:37:37 +10:00
Andrew Tridgell aacb00fff1 PX4Firmware: submodule update 2018-04-14 11:37:37 +10:00
Andrew Tridgell ad20d51f70 HAL_PX4: implement BRD_SAFETYOPTION 2018-04-14 06:56:51 +10:00
Andrew Tridgell 3abd7ea051 AP_BoardConfig: added BRD_SAFETYOPTION parameter
allow control of safety button behaviour
2018-04-14 06:56:51 +10:00
Andrew Tridgell ef2f2d7e1c Plane: prepare for 3.8.5beta2 release 2018-03-28 15:19:27 +11:00
Randy Mackay eb2404b766 AP_Compass: ICM20948 default rotation to Pitch180Yaw90 2018-03-28 15:14:06 +11:00
Peter Barker 52d8c21f1c DataFlash: file not being initialised means logging is failed 2018-03-20 13:06:20 +11:00
Guglie 0ecce2ed22 SITL: fix pthread_setname_np to build on mac 2018-01-19 09:59:26 +11:00
Andrew Tridgell 206c4b95c7 SITL: adjust FlightAxis defaults
and map 0,0 to CMAC location, to improve how SITL works in
MissionPlanner
2018-01-19 09:58:56 +11:00
Andrew Tridgell 6e956bb0dc SITL: fixed build under cygwin 2018-01-19 09:58:47 +11:00
Andrew Tridgell bd9fe3f087 travis: update to master travis settings 2018-01-16 08:21:47 +11:00
Andrew Tridgell 3d82a9fd6a Plane: updated release notes for 3.8.5beta1 2018-01-16 08:02:06 +11:00
Andrew Tridgell eab64a639c Plane: mark 3.8.5beta1 2018-01-16 07:57:07 +11:00
Lucas De Marchi eaa603b05c AP_ADSB: fix getting a copy rather than a reference
These have been caught by making constructors private and enforcing
calling a create() method to create objects are supposed to be
statically allocated only.

The Vector3f reference was just nearby and was a change copied from
similar PR from Peter Barker (#6873).
2018-01-16 07:43:59 +11:00
rde-mato e23a2c5254 AP_Baro: make AP_Baro a singleton
for AP_Airspeed
2018-01-16 07:43:59 +11:00
Andrew Tridgell d7bbf9bf66 DataFlash: log health and primary for airspeed 2018-01-16 07:43:59 +11:00
Andrew Tridgell eba0e43912 Plane: change airspeed parameter prefix
this makes for clearer parameter names with dual sensors
2018-01-16 07:23:09 +11:00
Andrew Tridgell e2c243fac2 AP_Baro: moved constants to AP_Math/definitions.h 2018-01-16 07:23:04 +11:00
Andrew Tridgell 56e549e12b AP_Math: moved constants from AP_Baro 2018-01-16 07:23:00 +11:00
Andrew Tridgell 7da569c395 Plane: check all airspeed sensors are healthy 2018-01-16 07:22:56 +11:00
Andrew Tridgell 5229fbd854 AP_Arming: check all airspeed sensors are healthy 2018-01-16 07:22:51 +11:00
Andrew Tridgell b36911c47d DataFlash: log both airspeed sensors 2018-01-16 07:22:42 +11:00
Andrew Tridgell 8de2cebd78 AP_Airspeed: support dual airspeed sensors
allow for a primary and secondary airspeed sensor
2018-01-16 07:17:33 +11:00
rde-mato eaa4861693 AP_Airspeed: added SDP3X airspeed sensor driver 2018-01-16 07:16:24 +11:00
Michael du Breuil b5707c0180 AP_Airspeed: Allow specifying the MS5525 address 2018-01-16 07:16:19 +11:00
Andrew Tridgell e62e40a5c9 Plane: updated release notes for 3.8.4 release 2018-01-09 09:05:49 +11:00
Andrew Tridgell cd9c0f091e Plane: prepare for 3.8.4 release 2018-01-09 09:05:38 +11:00
Andrew Tridgell 53180f2ba3 AP_Airspeed: fixed timing errors in MS5525 driver
this fixes issue #7188, where we could read from the MS5525 sensor too
soon after requesting data and the result coming back would be garbage
2017-12-21 15:10:41 +11:00
Andrew Tridgell b59bbdab8c Plane: fixed transitions for tailsitters after auto-takeoff
need to use angle wait
2017-11-19 16:34:24 +11:00
Andrew Tridgell f02db254b7 Plane: fixed a division by zero
if min airspeed is zero
2017-11-19 16:34:22 +11:00
Andrew Tridgell 5ad64b8656 AP_Compass: probe for LIS3MDL on 0x1e
as well as 0x1c
2017-11-15 16:08:17 +11:00
Andrew Tridgell 031166f64d Plane: prepare for 3.8.3 release 2017-11-13 15:05:07 +11:00
Andrew Tridgell 1dd91732b0 Plane: updated release notes for 3.8.3 2017-11-13 15:04:36 +11:00
Andrew Tridgell edc2509ac7 Plane: disable rudder scaling in tailsitters
this is most often implemented as dual-motor differential thrust, and
we don't want to do surface speed scaling for that.

In the future we'll move this scaling so it can be done on rudders for
3D planes
2017-11-13 14:58:40 +11:00
Michael du Breuil ec86a30a4d Plane: Support unlocking cruise heading with rudder 2017-11-09 09:42:03 +11:00
Andrew Tridgell dc85e538e1 Plane: prepare for 3.8.3beta4 2017-11-05 21:41:40 +11:00
Andrew Tridgell 7d6aeb7789 Plane: update release notes for 3.8.3beta4 2017-11-05 21:41:15 +11:00
Andrew Tridgell b0e401d91b Plane: extend QLOITER transition pitch limit
use twice transition time for pitch envelope to reduce QLOITER
transition harshness
2017-11-05 21:40:08 +11:00
Andrew Tridgell 57e7be0502 Plane: fixed a warning 2017-11-05 21:40:05 +11:00
Andrew Tridgell 1583d18b20 Plane: added Q_TRANS_DECEL
this gives a deceleration rate for QRTL transition from RTL, and also
for transitions to QLOITER
2017-11-05 21:39:54 +11:00
Andrew Tridgell 08ef1dfbdb Plane: smooth out fwd tailsitter transition
use Q_TRANSITION_MS and the transition angle to pitch forward more
slowly
2017-11-05 21:39:07 +11:00
Andrew Tridgell 0a70ed2516 Plane: added tailsitter surface speed scaling
added scaling of control surfaces by throttle when in hover. This helps
the controller remain stable over a wide range of throttle levels, such
as when descending or rapidly climbing
2017-11-05 21:39:04 +11:00
Andrew Tridgell 98c2f23371 AP_Motors: apply tailsitter min spin to both motors 2017-11-04 11:41:05 +11:00
davidaroyer e5154abc38 AP_RangeFinder: cleanup variable names in uLanding driver 2017-11-04 11:33:11 +11:00
davidaroyer 039b295c66 AP_RangeFinder: update uLanding driver for new firmware data format 2017-11-04 11:33:07 +11:00
Michael du Breuil 8e53fb2a78 ArduPlane: Only run is_flying landing checks when in landing stage 2017-11-04 10:07:35 +11:00