Commit Graph

28274 Commits

Author SHA1 Message Date
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
Randy Mackay 72d35593d8 Rover: send wheel encoder data to EKF 2017-07-27 16:52:28 +09:00
priseborough c7f6d52065 AP_NavEKF3: Add wheel encoder odometry
Uses the existing body frame odometry observation model.
Handles each sensored wheel as a separate sensor.
2017-07-27 16:52:27 +09:00
priseborough cbe8f97489 AP_NavEKF3: rename struct used for velocity odometry observations
Do this so we can add other odometry observation types.
2017-07-27 16:52:26 +09:00
priseborough 08a3f55c90 AP_NavEKF3: Fix error in scaling of observation error 2017-07-27 16:52:25 +09:00
priseborough 593437ca95 AP_NavEKF3: Add tuning of visual odometry observation error
Also adjust default values based on replay analysis.
2017-07-27 16:52:25 +09:00
Randy Mackay eaf8aad5ad AP_WheelEncoder: last_reading is last update time instead of system time 2017-07-27 14:19:08 +09:00
Randy Mackay 2c7b9d9cf7 AP_WheelEncoder: add get_delta_angle
The total angular change measured by the wheel encoder in radians
2017-07-27 14:19:08 +09:00
Randy Mackay a53e254bd0 AP_WheelEncoder: replace scaling with CPR and radius
CPR is the wheel encoder's counts per revolution of the wheel
radius is the radius of the wheel in meters
2017-07-27 14:19:08 +09:00
Randy Mackay cd71984705 AP_WheelEncoder: 3d position offset 2017-07-27 14:19:08 +09:00
Randy Mackay f97e43919b Copter: add gps glitch notification and pre-arm check 2017-07-27 14:16:23 +09:00
Randy Mackay 1ddf38869a AP_AHRS: set AP_Notify gps_glitching flag 2017-07-27 14:16:23 +09:00
Randy Mackay 0d5c98ad45 AP_Notify: add gps glitch notification 2017-07-27 14:16:23 +09:00
Randy Mackay 52bf93dd80 Copter: 3.5.1-rc1 release notes 2017-07-27 12:25:22 +09:00
Randy Mackay 9123b6034e SRV_Channel: update_aux_servo_function first checks function is valid
This resolves a bug in which the board could become unresponsive if an invalid function is selected
2017-07-27 11:09:57 +09:00
Patrick José Pereira 60834e9af0 Plane: Allow a second activation of parachute
The hardware can fail in the first activation,
this patch allow a second chance to active the parachute successfully.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-07-26 17:51:34 +01:00
Patrick José Pereira 1eeea82e31 AP_Parachute: Add function to return _release_in_progress status
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-07-26 17:51:34 +01:00
Randy Mackay 572df8b859 SRV_Channel: minor formatting fixes
no functional change
2017-07-26 13:28:07 +09:00
Randy Mackay 298eaaeb3e SRV_Channels: rename SERVO_DEF_RATE to SERVO_RATE 2017-07-26 13:28:07 +09:00
Randy Mackay 687ec98e5d AP_HAL_PX4: set default servo update rate only when changed
This removes the chance a small switch occurring whenever this function is called
2017-07-26 13:28:07 +09:00
Randy Mackay 3d13d98410 Rover: steering mode direction fix when reversing
this corrects the rotation direction when moving backwards in steering mode so that it's consistent with manual mode
2017-07-26 10:57:45 +09:00
Randy Mackay f9186de0ca Rover: steering mode formatting change
no functional change
2017-07-26 10:57:45 +09:00
Lucas De Marchi 7c2c780333 build: clarify --upload once again for Linux boards 2017-07-25 14:33:12 -07:00
Peter Barker 2aaaba8397 Sub: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker 87af817893 Plane: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker d3c5369352 Tracker: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker fec152385c Rover: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker f1ab50d4ea Copter: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker 85a0da6178 GCS_MAVLink: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Lucas De Marchi b0a25989b9 build: fix typos and add example for --upload 2017-07-24 18:54:38 -07:00
Randy Mackay a657daf635 Compass: disable QMC5883 compass driver by default
This driver causes occasional heading issues so disabling until these are resolved
2017-07-25 09:27:29 +09:00
khancyr 2d0bce18a8 AP_Baro: rename all local variable with prefix
fix last missing spaces
2017-07-24 10:15:15 -07:00
khancyr 35ac86ff8d AP_Baro: fix some style and const correctness 2017-07-24 10:15:15 -07:00
khancyr 0e895f5c74 AP_Baro: fix instance shadowing 2017-07-24 10:15:15 -07:00
khancyr 42516f7079 DataFlash: simplify Log_Write_Proximity 2017-07-24 13:44:43 +01:00