Randy Mackay
65276d360b
Copter: SPORT to use YAW_HOLD
2013-08-05 21:04:44 +09:00
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
2013-08-05 21:04:41 +09:00
Randy Mackay
a18d55a9d3
Copter: update version to 3.1-dev
2013-08-05 14:26:52 +09:00
Andrew Tridgell
9cb6c987d4
AP_Math: fixed example build
2013-08-05 12:37:51 +10:00
Andrew Tridgell
a33573352e
Plane: fixes for updated AP_Math and AHRS APIs
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:30:04 +10:00
Andrew Tridgell
086c7d70d8
Copter: use const references for Vector3f parameters
...
this is more efficient than passing a whole structure on the stack
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:24 +10:00
Andrew Tridgell
c4f11e6c74
Copter: fix longitude_scale() call for new API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:21 +10:00
Andrew Tridgell
ee19b09e9f
Rover: fixes for new AP_Math location API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:16 +10:00
Andrew Tridgell
0d36832b82
AP_AHRS: use const reference not pointers for locations
...
this makes life easier for the new AP_Mission library
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:12 +10:00
Andrew Tridgell
f3b3e23bbc
AP_Camera: fix for new AP_Math API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:09 +10:00
Andrew Tridgell
6b5ee80b70
AP_InertialNav: fix for new AP_Math API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:06 +10:00
Andrew Tridgell
cf4a74cfb8
AP_L1_Control: fix for new AP_Math API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:02 +10:00
Andrew Tridgell
612ede81f4
AP_Limits: fix for new AP_Math API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:23:57 +10:00
Andrew Tridgell
1d75b52411
AP_Math: use const references not pointers for location functions
...
this makes life a bit easier for the new AP_Mission library
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:23:40 +10:00
Randy Mackay
47f5c9b7a4
AC_Fence: remove unused gps pointer
2013-08-03 19:04:59 +09:00
Andrew Tridgell
e22f58c9fc
Plane: fixed build with OBC failsafe
2013-08-03 09:18:01 +10:00
Andrew Tridgell
b7e3851ef8
AP_Scheduler: prevent a divide by zero
2013-08-02 22:07:00 +10:00
Andrew Tridgell
890b77447a
Plane: allow integrator in stabilize mode when no stick input
...
fixes issue #472
2013-08-02 21:55:34 +10:00
Andrew Tridgell
a7cbebbeba
APM_Control: rename 'stabilize' to 'disable_integrator'
...
this better reflects what it does
2013-08-02 21:54:48 +10:00
Paul Riseborough
0c64c800b3
AP_L1_Control : Fixed bug in track capture angle limit
2013-08-02 21:47:45 +10:00
Paul Riseborough
34f0af25cc
AP_TECS : Improvements and bug fixes to feed-forward throttle demand
...
This fixes a bug in the feed-forward throttle that prevented the bank to throttle compensation from working properly during descents.
It also adds bank to throttle compensation to the non-airspeed sensor throttle algorithm.
2013-08-02 21:47:01 +10:00
Andrew Tridgell
2690edfc5f
Copter: ask for IMU samples at 100Hz
...
this produces the same result, but makes things simpler in the driver
2013-08-02 21:37:15 +10:00
Andrew Tridgell
c083c15240
Plane: use a larger serial buffer
...
this makes higher rate MAVLink possible again
2013-08-02 18:46:54 +10:00
Andrew Tridgell
c3b5f20a45
Plane: run TECS 50Hz code when throttle suppressed
...
this fixes auto-launch detection using TECS
2013-08-02 18:46:48 +10:00
Andrew Tridgell
8428779558
Plane: make it easier to find task numbers
2013-08-02 18:46:42 +10:00
Andrew Tridgell
9f49b8fa48
Rover: use the new load_average() API
2013-08-02 18:46:38 +10:00
Andrew Tridgell
01e19a32fe
Copter: use the new scheduler load_average() call
...
this also simplifies the main loop
2013-08-02 18:46:34 +10:00
Andrew Tridgell
62cc84aba3
Plane: use new scheduler load_average() function
...
this also simplifies the main loop
2013-08-02 18:46:28 +10:00
Randy Mackay
9672742b42
Copter: bug fix to look_ahead_yaw
...
Fix received from David Dewey
Was incorrectly using the direction instead of heading when deciding
whether to point forward or not. Reduced YAW_LOOK_AHEAD_MIN_SPEED to
1m/s because bug meant it was nearly always pointing forward and 10m/s
(the old value) seemed too high
2013-08-01 14:12:55 +09:00
Randy Mackay
c30cfa21c5
Copter: resolve compiler warning re unused variable
2013-07-29 16:46:25 +09:00
Randy Mackay
0f8f5bc048
Copter: remove unused ap.gps_status flag
2013-07-29 16:46:05 +09:00
Randy Mackay
2c48c20088
Copter: generalize 3 pos switch for all ch7/ch8 options
2013-07-29 16:28:04 +09:00
Olivier-ADLER
87d062905e
Copter: 3 positions switch support for CH7 and CH8 - new 3 positions SIMPLE / SUPERSIMPLE mode
...
3 positions modes must use mode number >= 100
pre-arm check correction for CH7 - CH8 check
2013-07-29 15:12:10 +09:00
Randy Mackay
c173f0c7d9
Copter: change CH7/CH8 pre-arm check string
2013-07-29 14:32:27 +09:00
Randy Mackay
0d75203d87
Copter: minor format change to exit_mission function
2013-07-28 18:19:05 +09:00
Randy Mackay
12da2d160a
Copter: set landing_complete flag to false on start-up
2013-07-28 18:19:03 +09:00
Randy Mackay
3b59cde1b8
Copter: deactivate accel throttle controller when landed
2013-07-28 18:19:01 +09:00
Randy Mackay
da37089dc2
Copter: remove landing checks in loiter controller
2013-07-28 18:18:57 +09:00
Randy Mackay
8eefbdce44
Copter: turn off stability patch when landed in Loiter
2013-07-28 18:18:54 +09:00
Randy Mackay
8d26fb5581
Copter Motors: by default spin motors at 65 when armed
2013-07-28 18:18:52 +09:00
Randy Mackay
9a1a999fba
Copter: landing check changes
2013-07-28 18:18:50 +09:00
Randy Mackay
dbc18ee900
Copter: allow arming in AltHold and Loiter if landed
2013-07-28 18:18:47 +09:00
Randy Mackay
24d15517ff
Copter: clear thr accel I term on take-off
2013-07-28 18:18:45 +09:00
Randy Mackay
05248738e2
Copter: bug fix for take-off in loiter
2013-07-28 18:18:43 +09:00
Randy Mackay
c3daf78340
Copter: reset loiter target when landed
2013-07-28 18:18:41 +09:00
Randy Mackay
fe412437c2
Copter: add flags for upper and lower throttle limits
...
Freeze desired altitude when motors hit a limit
2013-07-28 18:18:39 +09:00
Randy Mackay
de59ea3ddc
Copter Fence: reduce circle @Range to 30m
2013-07-27 10:28:33 +09:00
Andrew Tridgell
57752df68e
APM_Control: set a small D value by default
...
0.02 may help with some planes that have slow response
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-07-26 16:07:00 +10:00
Andrew Tridgell
a192b9ee46
AP_Scheduler: added load_average() function
...
useful to give a load average in SYS_STATUS mavlink message
2013-07-26 16:07:00 +10:00
Andrew Tridgell
fef6a76078
RC_Channel: rename 'Manual' to RCPassThru
...
this should make it clearer what it does
2013-07-26 16:07:00 +10:00