Randy Mackay
46c24fdf39
Copter: integrate ToshibaLED
12 years ago
Randy Mackay
e985253f1a
Copter: integrate notify
12 years ago
Randy Mackay
7c78936bc5
Copter: land by default at end of RTL
12 years ago
Craig3DRobotics
6568234018
Copter: Corrected SR0 & SR3 parameter descriptions
12 years ago
Randy Mackay
81074ebb3c
Copter: update Y6 defaults
12 years ago
Randy Mackay
6052017b13
Copter: allow override of auto throttle mode
12 years ago
Randy Mackay
45aeb1a921
Copter: split up loiter into 4 steps
...
Reduces disruption to the main loop but also introduces a delay of 30ms
to navigation output
12 years ago
Andrew Tridgell
d5e28e72cc
Copter: support new RADIO_STATUS msg
12 years ago
Randy Mackay
7159c539e6
Copter: skip mode change checks when disarmed
...
Note: there will be a follow up commit to move the checks into a
separate function so they can be called just before arming
12 years ago
Randy Mackay
d8eb7fb82f
Copter: remove x100 from IMAX definitions
12 years ago
Andrew Tridgell
a06f8a156d
Copter: fixed PX4 build
12 years ago
Randy Mackay
fd047cc968
Copter: AUTO ch7/ch8 option
12 years ago
Randy Mackay
2696e160e6
Copter: surface tracking improvement
...
Separate correction speeds for pilot input vs altitude-above-ground
errors to allow slower correction to sonar signals.
Change SONAR_GAIN parameter to be altitude error -> desired speed. This
means it should be set 10x larger than before.
Replace hard-coded sonar cut-off percentage of 70% with
SONAR_RELIABLE_DISTANCE_PCT.
Reduce sonar cut-off percentage to 60%.
Add desired sonar altitude to dataflash log's CTUN message.
12 years ago
Randy Mackay
88332b4acb
Copter: revert to 3 element sonar's mode filter
12 years ago
Randy Mackay
3a5a15a15f
Copter: allow CH6 tuning of sonar gain
12 years ago
Randy Mackay
fe56ac3839
Copter: only allow auto_trim in STABILIZE
12 years ago
Randy Mackay
69da4e99f8
Copter: add ch7/ch8 Auto and Land option
...
CH7/CH8 high initiates AUTO mode, low initiates Land. Ideally high
would be a new take-off flight mode so this may need some rework.
12 years ago
Randy Mackay
ac620e2140
Copter: Loiter and AltHold won't breach alt fence
12 years ago
Randy Mackay
6a2daf1a33
Copter: reduce sonar sensitivity to spikes
12 years ago
Randy Mackay
34e874282e
Copter: only check hdop when circular fence enabled
12 years ago
Randy Mackay
b40cd07ce9
Copter: switch to LOITER when exiting mission
12 years ago
Randy Mackay
d000967a76
Copter: pre-arm check for gps hdop < 2
12 years ago
Randy Mackay
8b79798e8d
Copter: Leonard's sport fix re slow roll
12 years ago
Randy Mackay
34b11f7be0
Copter: angle limiter fix for max lean angle
12 years ago
Randy Mackay
6969ab573d
Copter: configurable max lean angle
...
ANGLE_MAX parameter allows limiting the roll and pitch angles during
manual and auto flight modes to anywhere from 10 to 80 degrees
12 years ago
Randy Mackay
5049595a2c
Copter: SPORT mode to use alt hold
12 years ago
Randy Mackay
d0dc5813cf
Copter: move CIRCLE_RADIUS definition
12 years ago
Randy Mackay
e1fe4946fb
Copter: Sprayer enable added to CH7/CH8 switch
12 years ago
Randy Mackay
74fb500efe
Copter: integrate AC_Sprayer
12 years ago
Randy Mackay
49dbdce89c
Copter: split ACRO_P into ACRO_RP_P and ACRO_YAW_P
12 years ago
Randy Mackay
82082e044c
Copter: remove ACRO's axis enabled parameter
...
Acro is now body frame (with earth frame leveling) while Sport is earth
frame acro
12 years ago
Randy Mackay
786d6824ae
Copter: Acro Trainer added to Ch7/Ch8 switch
12 years ago
Randy Mackay
21e523b9ac
Copter: Acro trainer separated into limited and leveled
12 years ago
Randy Mackay
e32342163d
Copter: rename ACRO variables
12 years ago
Leonard Hall
d2deaaa686
Copter: Acro add rate constrain and combine limit calc
12 years ago
Randy Mackay
65276d360b
Copter: SPORT to use YAW_HOLD
12 years ago
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
12 years ago
Randy Mackay
a18d55a9d3
Copter: update version to 3.1-dev
12 years ago
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>
12 years ago
Andrew Tridgell
c4f11e6c74
Copter: fix longitude_scale() call for new API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
2690edfc5f
Copter: ask for IMU samples at 100Hz
...
this produces the same result, but makes things simpler in the driver
12 years ago
Andrew Tridgell
01e19a32fe
Copter: use the new scheduler load_average() call
...
this also simplifies the main loop
12 years ago
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
12 years ago
Randy Mackay
c30cfa21c5
Copter: resolve compiler warning re unused variable
12 years ago
Randy Mackay
0f8f5bc048
Copter: remove unused ap.gps_status flag
12 years ago
Randy Mackay
2c48c20088
Copter: generalize 3 pos switch for all ch7/ch8 options
12 years ago
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
12 years ago
Randy Mackay
c173f0c7d9
Copter: change CH7/CH8 pre-arm check string
12 years ago
Randy Mackay
0d75203d87
Copter: minor format change to exit_mission function
12 years ago
Randy Mackay
12da2d160a
Copter: set landing_complete flag to false on start-up
12 years ago