Commit Graph

16085 Commits

Author SHA1 Message Date
Randy Mackay da629ce976 Copter: minor format fix 2015-04-29 12:03:34 +09:00
Jonathan Challinger f5fd89833d Copter: update YAW_LOOK_AHEAD to use inav velocity direction 2015-04-29 12:02:45 +09:00
Jonathan Challinger e5b6cf9966 Copter: use circular limit on tilt angle for arm check 2015-04-29 12:02:43 +09:00
Randy Mackay b55367ccc7 GCS_MAVLink: fix example sketch 2015-04-29 10:18:57 +09:00
Randy Mackay ff5f0f1d23 CPUInfo: add include to fix compile error 2015-04-29 10:10:21 +09:00
Randy Mackay 609bb0c56a Rover: fix MNT param description 2015-04-29 09:08:06 +09:00
Randy Mackay e122916815 Plane: fix MNT param description 2015-04-29 09:07:52 +09:00
Randy Mackay 85b0a18f61 Copter: fix MNT param description
extra underscore was appearing in the parameter descriptions on the web
2015-04-29 09:07:36 +09:00
Randy Mackay 276b2dcf5e Copter: move lost copter check to separate function
Also run from scheduler instead of from arm/disarm stick checks
Run at 10hz instead of 1hz
soundalarm_counter to uint8
Disable if equivalent aux switch is setup
Remove SEVERITY_LOW message because the GCSs never print these anyway
2015-04-29 00:05:03 +09:00
svefro 5bee93cba3 Copter: Lost copter alarm through sticks 2015-04-29 00:05:01 +09:00
Julien Dubois b7a6e3bf2c Copter: fix update_thr_average to run at 100hz
Committed by Randy on Julien's behalf
2015-04-28 22:44:59 +09:00
Peter Barker 56a8bf5460 Replay: use the message's name rather than number to determine which message handler to use for a message 2015-04-28 21:10:16 +10:00
Peter Barker 42351edfa6 Replay: use dataflash log format messages to extract message data instead of using structs
dataflash logs have been self-describing since 2013.  Replay now uses the descriptions supplied in the dataflash log to understand the format of any particular message.

This change should allow fields to be added to messages with no impact on Replay.
2015-04-28 21:10:15 +10:00
Randy Mackay 60bc986e71 VARTest: remove duplicate ap_message enum 2015-04-28 20:09:07 +09:00
Randy Mackay 64629914a4 Copter: fix RTL alt when no using Rally points 2015-04-28 17:20:00 +09:00
David Dewey 0545185218 Copter: RTL at no less than 2m above home alt 2015-04-28 17:19:56 +09:00
Randy Mackay 67b0c6f5c4 AC_PID: replace is_equal with is_zero 2015-04-28 16:22:08 +09:00
Randy Mackay 3514177314 AC_PI_2D: minor format fix 2015-04-28 16:21:53 +09:00
dgrat 303cfd683a AC_PID: replace floating point '==' with is_equal
Also add div-by-zero check to fix calc_filt_alpha

Also get_i and get_shrink_i do not need to set values to zero in Vector2f
constructor because this is already done.
2015-04-28 16:21:46 +09:00
Randy Mackay 0392292489 AP_Math: inline is_equal, add is_zero 2015-04-28 16:19:01 +09:00
dgrat 726d7df710 AP_Math: add is_equal to compare floats 2015-04-28 16:18:59 +09:00
Grant Morphett 444841537e AP_Camera: Just putting the newline at the end of the file. 2015-04-28 15:23:34 +09:00
Andrew Tridgell 007b01533d AP_InertialSensor: switched to 16g accel range for MPU9250
this matches the Pixhawk, and makes us less prone to vibration. We
have seen clipping at 8g
2015-04-28 15:30:29 +10:00
Andrew Chapman 4311cd4e7a Copter: add logging for CH6 parameter tuning
Logs CH6 tuning values to a new PTUN log struct, specific to
APM::Copter at this point
2015-04-28 14:14:01 +09:00
Randy Mackay 2baf79ee7a Copter: remove TUNE param descr for AHRS Yaw/RP kP 2015-04-28 14:00:24 +09:00
Randy Mackay 33431acaa4 AC_WPNav: protect against div-by-zero related to gnd_speed_limit 2015-04-28 13:53:19 +09:00
Paul Riseborough 7481217445 AC_WPNav: Improve application of EKF optical flow speed limit 2015-04-28 13:53:17 +09:00
Andrew Tridgell d1de89f933 Travis: disable navio build due to another travis compiler bug 2015-04-28 14:50:10 +10:00
Andrew Tridgell 514c349060 AP_NavEKF: raise DCM error_rp threshold to 0.05
it was failing on many boards with fixed wing
2015-04-28 14:07:39 +10:00
Andrew Tridgell 6bfca648b9 AP_AHRS: raise DCM P gains when disarmed for first 20 seconds 2015-04-28 14:07:39 +10:00
Andrew Tridgell cb2427ef9e Copter: removed special cases for DCM gain changes on arm/disarm
copter no longer uses DCM, so it doesn't need these special cases
2015-04-28 14:07:39 +10:00
Andrew Tridgell 42d2addbdd HAL_SITL: removed the special code for cygwin
we no longer need special timing code for cygwin
2015-04-28 13:15:40 +10:00
Andrew Tridgell 063a33ebce HAL_SITL: implement barriers using pthread condition variables
this avoid pthread_barrier_*, which is not available on cygwin
2015-04-28 13:14:12 +10:00
Tom Pittenger c974134ea4 ArduPlane: RTL Autoland skip HOME
With RTL_AUTOLAND=1 we navigate to HOME then to the DO_LAND_START commands. Now with RTL_AUTOLAND=2 we head directly to the DO_LAND_START commands and thus skip changing altitude to ALT_HOLD_RTL and head directly to the first land waypoint as if it was the next normal waypoint.
2015-04-28 12:09:00 +10:00
Staroselskii Georgii 9517bb3049 Travis: added navio target 2015-04-28 11:43:56 +10:00
Jonathan Challinger 3812773485 AP_Math: make quaternion divide by zero protection more conservative 2015-04-28 11:42:13 +10:00
Jonathan Challinger fb8da1b2d8 AP_Math: add get_euler_(roll|pitch|yaw) functions to quaternion 2015-04-28 11:42:13 +10:00
Andrew Tridgell 020d9ea78a HAL_PX4: only consider power to have changed when armed
this prevents false positives with multi-battery setups
2015-04-28 11:05:29 +10:00
Andrew Tridgell 3c9ed9b5a6 Plane: don't limit down pitch during landing
there is no reason for a special case for aircraft without airspeed
sensors
2015-04-28 09:25:49 +10:00
Randy Mackay 94737e4df6 Tracker: add SYSID_TARGET and request 1hz pos data from vehicle 2015-04-27 16:58:05 +09:00
Randy Mackay 10b9f2ebe0 Tracker: snoop on all channels
This ensures we check for vehicle data on all channels
2015-04-27 16:58:02 +09:00
Randy Mackay 212e4940d4 Tracker: version to 0.5 2015-04-27 12:10:21 +09:00
Randy Mackay 404df7fe7d Tracker: add DISTANCE_MIN parameter
Vehicles will only be tracked if they are at least DISTANCE_MIN meters
away from the tracker
2015-04-27 12:10:20 +09:00
Randy Mackay f74d2101d1 Tracker: add SERVO_TEST mode
tracker switches into this mode when it receives a do-set-servo command
from the GCS.  In this mode the tracker simply moves the servo to the
specified pwm.
2015-04-27 12:10:19 +09:00
Randy Mackay f7f5040d2d Tracker: replace abs with labs for yaw servo 2015-04-27 12:10:18 +09:00
Randy Mackay 608bb3d611 Notify: minor format fix 2015-04-27 12:10:17 +09:00
Randy Mackay ebf700d736 Tracker: fix notify initialisation
notify should be initialised before setting the initial startup flag
status
2015-04-27 12:10:16 +09:00
Andrew Tridgell 028248d1f5 HAL_SITL: avoid floating point exceptions on i386
fixes issue #2147
2015-04-27 13:09:21 +10:00
Andrew Tridgell 4e86a6cd0e GCS_MAVLink: merged upstream header changes 2015-04-27 09:00:38 +10:00
Randy Mackay 35874292a0 AC_WPNav: move stop below all loiter methods
No functional change
2015-04-26 16:26:53 +09:00