Commit Graph

16756 Commits

Author SHA1 Message Date
Lucas De Marchi 9ef870c08a AP_HAL_AVR: Do not compare delegate to NULL
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
2015-05-26 13:46:48 +10:00
Lucas De Marchi 57386434d1 AP_ADC: remove AP_ADC_HIL
It's not being used and it's actually broken: it references
AP_ADC_HIL::read() that doesn't exist.
2015-05-26 13:46:48 +10:00
Lucas De Marchi c423fb5f46 build: switch to c++11 2015-05-26 13:46:48 +10:00
Lucas De Marchi 58a3d70f8b build: avr: Fix build with gcc > 4.8
Pass -fno-use-cxa-atexit as option to compiler so it's possible to build
with gcc newer than 4.8.
2015-05-26 13:46:47 +10:00
Andrew Tridgell b40d8f94d6 build: removed .d dependency files in sketch directory on px4-cleandep 2015-05-26 13:46:02 +10:00
Andrew Tridgell 97687f04af Plane: enable messages for MAVLink gimbal support 2015-05-26 08:30:30 +10:00
Andrew Tridgell b1f7b80f7e build: minimise the number of eval calls in build 2015-05-26 07:46:05 +10:00
Randy Mackay d777166c6f AP_MotorsTri: revert tail servo to Ch7 2015-05-25 22:27:38 +09:00
Randy Mackay 182db2ece0 Copter: remove unnecessary bracket 2015-05-25 22:13:51 +09:00
Randy Mackay 1a1fa7ca4b AP_MotorsHeli: add comment to avoid param conflict 2015-05-25 22:13:49 +09:00
Randy Mackay 4c94a69e33 AP_MotorsCoax: resolve param conflict with TradHeli 2015-05-25 22:13:47 +09:00
Randy Mackay 78b49fb4c6 AP_MotorsSingle: resolve param conflict with TradHeli
Also rename servo reverse parameters to be consistent with tricopter
2015-05-25 22:13:45 +09:00
Randy Mackay 8dc7cf7fa8 AP_MotorsTri: YAW_SV_REV values -1 or +1
Also resolve parameter conflict with TradHeli
2015-05-25 22:13:43 +09:00
Randy Mackay 71e4bccecb AP_Motors: init members in constructor
Also add f to end of float constants
2015-05-25 22:13:41 +09:00
Robert Lefebvre 8f275ca2c4 Copter: Employ heli_radio_passthrough() for servo setup 2015-05-25 22:13:39 +09:00
Robert Lefebvre 915236f1f5 AC_AttitudeControl: Non-functional comment change
Don't encourage future misuse of g.rc3
2015-05-25 22:13:37 +09:00
Robert Lefebvre e87ca6de6f AC_PosControl: Change motors.get_throttle_out
to get_throttle to follow function renaming in AP_Motors
2015-05-25 22:13:34 +09:00
Robert Lefebvre b8181b6b90 AP_Motors: RCMAP fix
Remove all RC Input channels passed as reference into AP_Motors.  All input handling self-contained inside AP_Motors.
Rework Tricopter to use internal servo calcs.
2015-05-25 22:13:32 +09:00
Robert Lefebvre 70a9a5699c Copter: usage of rc_3.servo_out to use motors.get_throttle
servo_out is no longer a data holder for control functions
2015-05-25 22:13:30 +09:00
Robert Lefebvre 316196b12f Copter: Finish RCMap fix.
All g.rc_X references changed to channel function pointers.
2015-05-25 22:13:27 +09:00
Robert Lefebvre acdf4a226f Copter: RCMAP Fix, remove RC_Channel references
from AP_Motors objects.  And a few function renaming to follow changes in AP_Motors.  Also add new throttle channel setter functionality.
Remove RC7 object from Tricopter.  Add special Tricopter param handling.
2015-05-25 22:13:25 +09:00
Andrew Tridgell 554de1f2d7 Copter: added channel objects named after input function
this follows the pattern used in plane and rover
2015-05-25 22:13:23 +09:00
Andrew Tridgell d48bd8708b build: allow ccache to be found on windows cygwin 2015-05-25 23:02:23 +10:00
Andrew Tridgell ef72d5bff2 build: don't expand all target unless a '-' is in main target 2015-05-25 22:41:13 +10:00
Andrew Tridgell 527fc2a610 SITL: use 127.0.0.1 to improve reliability on windows 2015-05-25 22:02:18 +10:00
Andrew Tridgell 563be63d00 SITL: try to get speedup accurate on both windows and linux 2015-05-25 21:48:42 +10:00
Andrew Tridgell 2b2259a6d7 SITL: use more granrular sleeps for windows 2015-05-25 17:05:44 +10:00
Andrew Tridgell 320b69c375 autotest: make sim_vehicle.sh work better on windows 2015-05-25 16:50:27 +10:00
Andrew Tridgell 23617b442e build: use a config.mk if it exists, but don't require it 2015-05-25 14:51:12 +10:00
Andrew Tridgell c06d81a06a SITL: use autotest_dir
this allows for the aircraft directory for SITL to be packaged without
the source tree
2015-05-25 13:04:46 +10:00
Andrew Tridgell 3daee9c8bc HAL_SITL: added --autotest-dir option 2015-05-25 13:04:17 +10:00
Andrew Tridgell 4f37926aea SITL: fixed gimbal build on PX4 2015-05-25 12:39:40 +10:00
Andrew Tridgell 532839d7dd autotest: remove old python simulators 2015-05-25 12:22:28 +10:00
Andrew Tridgell 958d8b4787 GCS_MAVLink: update from upstream headers 2015-05-25 12:20:27 +10:00
Andrew Tridgell 9f09ac64cf autotest: enable internal MAVLink gimbal
and add -B option to help debugging
2015-05-25 12:20:27 +10:00
Andrew Tridgell e7abc07898 HAL_SITL: enable --gimbal option
instantiates a MAVLink gimbal
2015-05-25 12:20:26 +10:00
Andrew Tridgell 7f5b206c55 SITL: added gimbal simulator class 2015-05-25 12:20:26 +10:00
Andrew Tridgell 2f7facba40 GCS_MAVLink: removed old MAVLink 0.9 headers 2015-05-25 10:19:47 +10:00
Andrew Tridgell d96e62cce7 AP_Mount: update gimbal for changed quaternion API 2015-05-25 09:08:45 +10:00
Andrew Tridgell 2a8f645d81 AP_Math: use matrix3 euler312 operations in quaternion library 2015-05-25 09:08:31 +10:00
Andrew Tridgell 7aa7e03169 AP_Math: added euler312 functions (for gimbal) 2015-05-25 09:03:11 +10:00
Andrew Tridgell 2bb5f677c7 SITL: removed earth frame rates 2015-05-25 09:03:10 +10:00
Andrew Tridgell 8dce5e11d6 HAL_SITL: removed earth-frame rates 2015-05-25 09:03:10 +10:00
Andrew Tridgell 0d20167294 autotest: removed earth-frame rates usage
work only with rates in body frame
2015-05-25 08:42:21 +10:00
Andrew Tridgell 5511140f95 Plane: fixed fence return point on breach
this was broken by the recent guided mode changes. Thanks to Grant for
noticing!
2015-05-24 15:24:02 +10:00
Andrew Tridgell 8f5c663463 autotest: show -M option in usage for sim_vehicle.sh 2015-05-24 15:24:02 +10:00
Andrew Tridgell 19419fd901 AP_Mount: fixed reporting of MAVLink gimbal position to GCS 2015-05-24 15:24:02 +10:00
Robert Lefebvre 7a0e07e67a Copter: update AC3.3-rc5 release notes 2015-05-23 21:18:07 +09:00
Andrew Tridgell b61f7fa2f6 AP_AHRS: enable EKF by default on plane
now we have arming checks enabled by default I think this is the best
choice
2015-05-23 17:17:44 +10:00
Andrew Tridgell efd958f0b0 AP_NavEKF: rename file to remove spaces
spaces in file names break shell scripts
2015-05-23 17:14:52 +10:00