Randy Mackay
8b79798e8d
Copter: Leonard's sport fix re slow roll
2013-08-11 22:15:27 +09:00
Randy Mackay
34b11f7be0
Copter: angle limiter fix for max lean angle
2013-08-11 14:55:49 +09:00
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
2013-08-11 12:53:22 +09:00
Randy Mackay
5049595a2c
Copter: SPORT mode to use alt hold
2013-08-10 15:42:02 +09:00
Randy Mackay
d0dc5813cf
Copter: move CIRCLE_RADIUS definition
2013-08-07 14:03:28 +09:00
Randy Mackay
e1fe4946fb
Copter: Sprayer enable added to CH7/CH8 switch
2013-08-05 21:12:29 +09:00
Randy Mackay
74fb500efe
Copter: integrate AC_Sprayer
2013-08-05 21:12:23 +09:00
Randy Mackay
49dbdce89c
Copter: split ACRO_P into ACRO_RP_P and ACRO_YAW_P
2013-08-05 21:05:00 +09:00
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
2013-08-05 21:04:57 +09:00
Randy Mackay
786d6824ae
Copter: Acro Trainer added to Ch7/Ch8 switch
2013-08-05 21:04:55 +09:00
Randy Mackay
21e523b9ac
Copter: Acro trainer separated into limited and leveled
2013-08-05 21:04:53 +09:00
Randy Mackay
e32342163d
Copter: rename ACRO variables
2013-08-05 21:04:50 +09:00
Leonard Hall
d2deaaa686
Copter: Acro add rate constrain and combine limit calc
2013-08-05 21:04:47 +09:00
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
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
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
01e19a32fe
Copter: use the new scheduler load_average() call
...
this also simplifies the main loop
2013-08-02 18:46:34 +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
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
Olivier-ADLER
bf6120d8b7
Copter: Move CH7 - CH8 check from read_aux_switches() to pre_arm_checks.
...
Moving this to pre-arm checks save some processing time and is safer.
2013-07-26 09:30:24 +09:00
Randy Mackay
c5851d2ddf
Copter: remove throttle rate's I and D calcs
2013-07-23 11:02:04 +09:00
Randy Mackay
740970efa6
Copter: remove stabilize's call to calc I terms
...
I terms all moved to rate controllers so this will be a small
performance improvement
2013-07-23 10:37:10 +09:00
Randy Mackay
c9a875da52
Copter: remove unused earth frame rate controllers
2013-07-21 14:08:39 +09:00
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
2013-07-21 13:58:24 +09:00
Olivier-ADLER
ac0886334d
Copter: Failsafe GCS typo in comments
...
replaced GPS by GCS word in different comments locations
2013-07-20 20:54:51 +09:00
Randy Mackay
11e7e9eaf1
Copter: WP_YAW_BEHAVIOUR param update for Look Ahead
2013-07-20 15:46:19 +09:00
Randy Mackay
c937fe45e1
Revert "Copter: Remove CH7 & CH8 Enable / Disable of GeoFence"
...
This reverts commit e25b8933f3
.
2013-07-20 15:00:08 +09:00
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
2013-07-20 11:01:10 +09:00
Robert Lefebvre
2a9f4bbbad
TradHeli: Creating new unified roll/pitch rate controller.
2013-07-19 16:16:12 +09:00
Robert Lefebvre
23ea151ca5
TradHeli: Fix Heli rate controller filter rates.
2013-07-19 16:16:10 +09:00
Robert Lefebvre
c812d07993
TradHeli: Creating motor_runup_complete bool which is to confirm that the heli motor is running. This will be used for advanced features in the future.
2013-07-19 16:16:08 +09:00
Robert Lefebvre
b4863dc997
TradHeli: Change to throttle controller to allow swash plate collective to move, even if disarmed, if we are in Acro or Stab. This is slightly dangerous... as a user could cause a problem if they do not follow the proper usage procedures. If they do not route the ESC through the APM, but instead direct to Rx. And then if they do not Arm, they could take off in Stab mode while disarmed, but then when they switch to Alt_Hold, it will drop the collective to the bottom and they will fall. This can be saved by switching back to Stab. And it requires operation outside of the normal operating procedure.
...
This change is being made because most heli users expect to be able to check the swash plate operation before arming and taking off.
2013-07-19 16:16:04 +09:00