Andrew Tridgell
5901b8b22a
APM_Control: allow for a wider range of P values for roll/pitch
...
values above 1.0 are sometimes needed
2013-07-18 09:05:17 +10:00
Randy Mackay
41ba4a1ed2
Copter: initialise ch7 and ch8 aux switches
...
This ensures that if you have simple mode or sonar attached to an
auxiliary switch it will be enabled or disabled according to the switch
immediately after start-up
2013-07-16 22:05:59 +09:00
Randy Mackay
d9824dc23e
AutoTest: rename and remove copter mission files
2013-07-16 21:41:06 +09:00
Randy Mackay
1dcc5886d0
Copter: ensure take-off alt is at least 1m
...
fixes issue #377
2013-07-16 15:51:18 +09:00
Randy Mackay
336357fbaf
Copter: ensure _spin_when_armed is not higher than _min_throttle
2013-07-16 15:25:57 +09:00
Randy Mackay
62f3eed4e0
Copter: fix to SPIN_ARMED parameter desciption
2013-07-16 12:59:38 +09:00
Randy Mackay
b709b90a59
Copter: implement safety spin for Tricopters
2013-07-16 12:48:01 +09:00
Randy Mackay
6477c746cd
Copter: renamed MOT_UNSAFE_THR to MOT_SPIN_ARMED
...
Removed special purpose spin_unsafe function
renamed _throttle_unsafe to _spin_when_armed and changed to an AP_Int8
2013-07-16 12:47:59 +09:00
Randy Mackay
e6412b6996
Copter: do not spin motors during arming process
2013-07-16 12:47:57 +09:00
Jonathan Challinger
9f51a4a4f7
Copter: Cancel arming if throttle input above cruise_throttle.
2013-07-16 12:47:55 +09:00
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
2013-07-16 12:47:51 +09:00
Jonathan Challinger
ae2b1e3b7e
AP_Motors: Added MOT_UNSAFE_THR parameter - Throttle setting used to signal that the copter is armed or otherwise unsafe to approach
2013-07-16 12:47:49 +09:00
Andrew Tridgell
81bb4f26a1
autotest: update plane test with more modes
...
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
2013-07-16 13:23:48 +10:00
Andrew Tridgell
a4f49a28fb
Plane: prepare for 2.74b release
2013-07-16 09:45:32 +10:00
Andrew Tridgell
e27dd14bcc
Plane: fixed FBWB aileron control
2013-07-16 09:44:23 +10:00
Andrew Tridgell
2ee43a694c
APM_Control: fixed YAW2SRV_IMAX handling
...
thanks to Steven G for noticing this!
2013-07-16 09:44:23 +10:00
Randy Mackay
02b64e259d
Copter: bug fix for descent during loiter_turns
2013-07-15 20:44:56 +09:00
Andrew Tridgell
032cc513ca
DataFlash: fixed example build
2013-07-15 14:10:58 +10:00
Andrew Tridgell
206ed04e76
AP_Mount: fixed example build
2013-07-15 14:10:50 +10:00
Andrew Tridgell
47450a9b40
AP_InertialNav: fixed example build
2013-07-15 14:10:40 +10:00
Andrew Tridgell
98d6331387
AP_Airspeed: fixed example build
2013-07-15 14:10:27 +10:00
Andrew Tridgell
1bd6849d00
AP_AHRS: fixed example build
2013-07-15 14:10:17 +10:00
Andrew Tridgell
82152c058e
AC_WPNav: disabled broken example build
...
this test doesn't actually do anything yet
2013-07-15 14:09:48 +10:00
Andrew Tridgell
04835b095f
AC_Fence: fixed examples build
2013-07-15 14:09:18 +10:00
Andrew Tridgell
c7141c4851
AP_GPS: fixed examples build
2013-07-15 14:09:07 +10:00
Andrew Tridgell
2802814a66
autotest: cope with slower updating roll in MAVLink for plane
...
need less precision in horizontal roll test
2013-07-15 13:11:41 +10:00
Andrew Tridgell
e8355905dd
Plane: prepare for 2.74 release
2013-07-15 11:19:38 +10:00
Andrew Tridgell
dbd47b2a30
Plane: make TECS the default speed/height controller
2013-07-15 11:12:24 +10:00
Andrew Tridgell
a5ede20cb1
Rover: update to 2.43beta2
2013-07-15 10:31:52 +10:00
Andrew Tridgell
6e52a09e50
Rover: fixed HIL build
2013-07-15 10:30:10 +10:00
Andrew Tridgell
e96d0f745c
Rover: fixed dead-zone on throttle
2013-07-15 10:25:30 +10:00
Andrew Tridgell
8c7619a837
Rover: moved camera parameter indexes
...
this prevents a conflict with some old parameters
2013-07-15 10:25:04 +10:00
Andrew Tridgell
5b88334dbb
Rover: added full camera and mount support
2013-07-15 09:57:00 +10:00
Andrew Tridgell
9a159a5e23
Copter: make wp_distance static
...
removed hack with AP_Camera library
2013-07-15 09:56:45 +10:00
Andrew Tridgell
ec21922233
Plane: make wp_distance static
...
removed hack in AP_Camera library
2013-07-15 09:56:28 +10:00
Andrew Tridgell
3ba713352f
Plane: use update_aux() for setting up extra channels
2013-07-15 09:56:12 +10:00
Andrew Tridgell
0f72eae216
AP_Camera: removed 3 camera trigger types that do not work
...
the trigger by wp distance, trigger with throttle off and trigger a
transistor all don't work, and are not structured correctly, plus are
dangerous.
The existing relay support can (correctly!) handle the resistor case
without hard-wiring a pin. The "turn off throttle to trigger" idea is
badly broken, it would crash a copter if it worked. We can make it
work properly on planes if there is demand. As it was it didn't work
anyway.
The triggger by wp distance method was broken, and had no way to
initiate a trigger anyway
2013-07-15 09:55:38 +10:00
Andrew Tridgell
ed20c4cbc8
Plane: fixed initial reporting of battery remaining
...
we were not showing battery remaining 100% until we used some battery
2013-07-14 21:59:15 +10:00
Andrew Tridgell
e80d73df93
Plane: expand docs for TRIM_AUTO
2013-07-14 21:23:15 +10:00
Andrew Tridgell
4087fde140
Plane: enable CTUN log message by default
2013-07-14 21:10:12 +10:00
Randy Mackay
47ab02d686
Copter: bug fix to ROI to pull target from conditional command queue
2013-07-14 17:37:06 +09:00
Randy Mackay
f1969d5662
Copter: switch from NAV_ROI to DO_SET_ROI
2013-07-14 17:37:05 +09:00
Andrew Tridgell
e79023ceee
Plane: fixed problem with slow ground station connects
...
don't trigger the "scheduler out of time" code when in the delay
callback
Thanks to Marijm Slootweg for noticing this!
2013-07-14 17:28:34 +10:00
Randy Mackay
bd6a60f28b
AP_Math: add M_PI_2 definition
...
Required when building under arduino
2013-07-14 15:57:26 +09:00
Randy Mackay
8545071a21
GCS_MAVLink: include AP_Math.h
...
Required because mavlink_conversions's mavlink_dcm_to_euler function
uses atan2
2013-07-14 15:56:58 +09:00
Randy Mackay
9b40ba98d7
GCS_MAVLink: regenerated messages
2013-07-14 15:52:55 +09:00
Randy Mackay
6bcbcc0382
GCS_MAVLink: add DO_SET_ROI to common.xml
2013-07-14 15:49:17 +09:00
Andrew Tridgell
d9f13b6b8c
GCS_MAVLink: merge in changes from upstream mavlink repo
2013-07-14 16:02:29 +10:00
Andrew Tridgell
b1202ccbff
GCS_MAVLink: merge in latest upstream XML changes
2013-07-14 15:41:25 +10:00
Randy Mackay
2b5f6e2668
Copter: pre-arm checks for rc ch 1~4 min and max
2013-07-13 21:38:22 +09:00