Commit Graph

28308 Commits

Author SHA1 Message Date
Andrew Tridgell
c8b00ed605 PX4NuttX: submodule update
added flag for nsh exit
2017-08-28 18:00:26 +10:00
Andrew Tridgell
32ee618a8f AP_SerialManager: enable debug console use for other protocols
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
2017-08-28 18:00:24 +10:00
Andrew Tridgell
efa07ea6b5 HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3 2017-08-28 18:00:21 +10:00
Andrew Tridgell
fdc6a30a35 Plane: fixed minacc and delay for launch
See
https://discuss.ardupilot.org/t/tkoff-thr-minacc-and-tkoff-thr-delay-doesnt-work-together/19928
2017-08-28 17:55:50 +10:00
Andrew Tridgell
7829e6652d SITL: added simple launch sim for plane
allow for bungee, catapult and hand launches
2017-08-28 17:55:47 +10:00
Andrew Tridgell
992baa7026 RC_Channel: fixed bug in manual with TRIM == MIN
This fixes the bug described here:

https://discuss.ardupilot.org/t/arduplane-reverse-thrust-setup/18324/5

which otherwise would prevent output with TRIM == MIN or TRIM == MAX
2017-08-26 20:31:36 +10:00
Andrew Tridgell
1b6d20db7f Plane: removed TRIM_RC_AT_START parameter
this option caused a lot more problems than it solved, and is buggy
2017-08-26 20:16:09 +10:00
Andrew Tridgell
775b60f9a9 Plane: fixed bug in TRIM_AUTO
fixed trim for differential spoilers
2017-08-26 20:16:00 +10:00
Andrew Tridgell
d08fcf25f2 Plane: updated release notes 2017-08-10 15:59:44 +10:00
Andrew Tridgell
e66f30eb90 Plane: prepare for plane 3.8.0 release 2017-08-05 16:38:21 +10:00
Michael du Breuil
e00811375b AP_NavEKF3: Fix possible compass nullptr dereference 2017-08-02 12:49:14 +10:00
Michael du Breuil
b09b7f7867 AP_NavEKF2: Fix possible compass nullptr dereference 2017-08-02 12:49:14 +10:00
Andrew Tridgell
6b72a025d4 Tools: improve devid decode 2017-08-02 12:49:13 +10:00
Andrew Tridgell
186a1f4a0b Plane: cope better with more RC trim/min/max values
when min > trim we need to do RC scaling via rc_config. This loses the
ability to go beyond RC limits, but that can be coped with using
MANUAL_RCMASK
2017-08-02 12:49:13 +10:00
Andrew Tridgell
c20ea87ef8 Plane: fixes from review
thanks Francisco
2017-08-02 12:49:13 +10:00
Andrew Tridgell
76818c1ff4 Plane: improve px4_mixer handling of servo trim/min/max 2017-08-02 12:49:13 +10:00
Andrew Tridgell
bf6853d3fe Plane: implement MANUAL_RCMASK
this replaces the functionality of the old "with input"
aileron/elevator functions, but in a much more flexible way. It means
that people who want to fly in MANAUL mode will have the ability to
have full control of trims and mixing using transmitter mixers if they
need that functionality
2017-08-02 12:49:13 +10:00
Andrew Tridgell
20bddf4d5a SRV_Channel: added copy_radio_in_out_mask() 2017-08-02 12:49:13 +10:00
Andrew Tridgell
0ebc7b5122 Plane: added AETR log message
this makes debugging mixers much easier
2017-08-02 12:49:12 +10:00
Andrew Tridgell
8e6fa0a707 Tools: updated parameters to remove ELEVON and VTAIL settings 2017-08-02 12:49:12 +10:00
Andrew Tridgell
fd3e459eb6 autotest: adjust default params for new mixing 2017-08-02 12:49:12 +10:00
Andrew Tridgell
4600f623db Plane: fixed px4_mixer for new function based mixing
this fixes the OVERRIDE_CHAN functionality to work correctly with the
new function based mixing code

It isn't a perfect match for ArduPilot mixing, but it is very close
for the key control surfaces, including mixed surfaces
2017-08-02 12:49:12 +10:00
Andrew Tridgell
7c888f4a12 Plane: removed old elevon and vtail mixers
now only use the function based mixing, and auto-convert on startup
2017-08-02 12:49:12 +10:00
Andrew Tridgell
336fbfbdbc SRV_Channel: added get/set for reversed and function
these are needed in plane for auto-conversion of old elevon code
2017-08-02 12:49:12 +10:00
Andrew Tridgell
470ae43ba4 SRV_Channel: prevent negative slew rate
thanks to Michael for pointing this out
2017-08-02 12:49:12 +10:00
Andrew Tridgell
5c10d81f60 Plane: always setup target airspeed
this sets up a target airspeed even when flying without an airspeed
sensor. This is needed for quadplanes without airspeed sensors where
we use synthetic airspeed during the transition in TECS
2017-08-02 12:49:11 +10:00
Peter Barker
4064a23b30 Sub: fix underflow in scheduler
4eee3b1317 fixed this in Copter
2017-08-02 12:49:11 +10:00
khancyr
da425c008c Rover: add reason to set_mode 2017-08-02 12:49:11 +10:00
squilter
c4fa8cb7a4 Copter: minor format fix for motors.cpp 2017-08-02 12:49:11 +10:00
Randy Mackay
159906762f AP_Arming: rename _MIN_VOLT to _VOLT_MIN
Also _MIN_VOLT2 to _VOLT2_MIN
2017-08-02 12:49:11 +10:00
Randy Mackay
1405801595 AP_Arming: minor variable type change
no functional change
2017-08-02 12:49:11 +10:00
Randy Mackay
ed6e740ad0 AP_Arming: Copter gets MIN_VOLT parameters 2017-08-02 12:49:11 +10:00
Randy Mackay
c5a098b928 Copter: battery arming checks call parent AP_Arming 2017-08-02 12:49:10 +10:00
Randy Mackay
7093d12fc7 Copter 3.5.1 release notes 2017-08-02 12:49:10 +10:00
Michael du Breuil
52c98b56cb L1_Control: Ensure that LIM_BANK passes a sea level sanity check
This fixes #6637 where the LIM_BANK can be set such that the vehicle demands a radius at sea level that is much higher then the loiter radius was configured to be. This effectively feels like a fly away and is due to bad parameters usually. If this happens just fall back to the simple EAS2TAS scaling of the radius.
2017-08-02 12:49:10 +10:00
Andrew Tridgell
96ad5e8f62 Plane: don't start a transition while disarmed
this can caused flooding of the GCS console while disarmed in FBWA
mode
2017-08-02 12:49:10 +10:00
Peter Barker
f3df1cae29 Sub: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:10 +10:00
Peter Barker
4290c6ab9a Plane: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:09 +10:00
Peter Barker
145d16f30d Copter: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:09 +10:00
Peter Barker
066d501e8d Rover: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:09 +10:00
Peter Barker
851f23fe9c AP_Camera: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:09 +10:00
Peter Barker
3e85c9bd83 AP_GPS: make time_epoch_usec const 2017-08-02 12:49:09 +10:00
priseborough
3772fd68da AP_NavEKF3: Fix bug in wheel odometry timestamp correction 2017-08-02 12:49:09 +10:00
Peter Barker
134cd9d071 Sub: handle GPS_INPUT in base GCS_MAVLINK class 2017-08-02 12:49:09 +10:00
Randy Mackay
11b3e3367a Rover: fix wheel encoder parameter names
extra underscore removed
2017-08-02 12:49:08 +10:00
Matt
d681ec304f AP_Notify: Fix for Oreo LED gyro init inidication
If parameter INS_GYRO_CAL is disabled, usually because operator is
arming on a moving vehicle such as a boat, the Oreo LEDs would wait
indefinitely for a gyro calibration that will never happen.  This
removes that dependency.  The LEDs will strobe blue only when gyros are
actually initializing. Not before.  Consequently, this greatly
simiplifies that portion of the code.
2017-08-02 12:49:08 +10:00
khancyr
93fdbf1573 AC_Fence: reset fences breach on disable
Also rename enable function parameter
2017-08-02 12:49:08 +10:00
Paul Riseborough
c25bd13b78 README: Add information for EKF3 maintainer 2017-07-27 11:59:15 +01:00
Randy Mackay
ddc70058d5 Rover: reporting wheel encoder rpm 2017-07-27 16:52:29 +09:00
Randy Mackay
ae487aa99b Rover: update wheel encoder at 20hz 2017-07-27 16:52:29 +09:00