Jason Short
3a11a7596a
Arducopter: Flip mode
...
Flip mode graduates
2012-07-18 22:57:10 -07:00
Jason Short
46f292bcd8
Arducopter: CH7 Waypoint saving
...
Saves the takeoff Waypoint as Home + new altitude rather than current location.
2012-07-10 21:53:37 -07:00
Jason Short
3fb268da96
read_control_switch
...
Removed Prev_WP reference. unneeded.
2012-07-01 13:40:11 -07:00
Jason Short
60c89ee117
Updates to Flip:
...
Ability to abort flip mode if things go wrong
init function to re-enter flip mode if aborted
2012-06-03 22:15:19 -07:00
Robert Lefebvre
df4246597f
Updates to CopterLEDS
...
Creation of Nav Blink Function.
2012-05-22 09:58:37 -04:00
Robert Lefebvre
872ec65afa
Fix Auto_Trim to allow it to actually be called when setup on Ch7 pulldown menu in MP.
2012-03-23 09:17:58 -04:00
Andrew Tridgell
a874f920d5
ACM: removed the ADC filtering code
2012-03-10 10:34:32 +11:00
Jason Short
43b3e1ccd1
ACM -
...
Implemented automatic ranging of Alt Hold gains. Works well in simulator and testing.
- alt hold estimation moved to 50 hz
- simple fixed observer calc for smooth and accurate climb rates useful for derivative calcs
- auto-reset of the I term by moving I value into throttle value. This recalcs the gain every 20seconds for battery drainage compensation in long flights.
- remove filtering for Nav_throttle
- added a way to lower the gain on nav_throttle for descents by / climb_rate error by 2 - seems to work OK and keeps copter from dropping like a rock when the Baro drifts quickly lower.
- removed old throttle hold set point code
- made throttle override for alt hold +- 200 vs 250
2012-03-06 22:22:14 -08:00
Jason Short
8a1c2165b2
Fix for disabled CH7 value triggering WP saving
2012-02-09 22:32:04 -08:00
Jason Short
90ee552bd1
cosmetic
2012-01-30 21:13:03 -08:00
Jason Short
0213f4dd88
2.2B6 - Please verify Heli still functions properly.
...
Added AC_PID lib
Updated landing code
bug fixes
2012-01-28 22:00:05 -08:00
Jason Short
8fcb2931d7
Cosmetic changes
...
GPS LED lock waits for home_is_set to be true
2012-01-28 21:19:46 -08:00
Jason Short
0475dbf8ae
relocated reset_I term functions to central location
2012-01-20 22:52:30 -08:00
Jason Short
6d0329b08c
added notes, removed redundant save wp_total
2012-01-14 11:20:40 -08:00
Jason Short
525ac4df88
Cosmetic
2012-01-04 09:28:36 -08:00
Jason Short
4efbae4a1c
Hack to prevent fly aways
...
Cleanup to remove SIMPLE mode switch note
2011-12-11 12:01:06 -08:00
Jason Short
2b06a54fc5
Allows you to clear the stored mission when in Auto
2011-12-10 19:32:46 -08:00
Jason Short
6228dfb37c
Will add a landing command to last WP if we are on the ground.
2011-12-10 19:29:42 -08:00
Jason Short
2defbe818f
rework of inflight trim.
2011-12-10 15:05:53 -08:00
Jason Short
a9e82e3fbd
Debugging some motor issues
2011-12-10 10:19:20 -08:00
Jason Short
fdcf9aecd5
Fixing reversed Simple mode switch
2011-12-03 17:54:57 -08:00
Jason Short
9b47e376d5
Enabled Ch7 simple mode switching
2011-11-28 22:41:12 -08:00
Jason Short
6e9d3f72ec
CH7 with params
2011-11-26 16:39:29 -08:00
Jason Short
4288280025
renamed set_command_with_index
2011-11-20 00:22:52 -08:00
Jason Short
a277e117b3
Fix for WP saving with CH7
2011-11-12 21:40:58 -08:00
Jason Short
c3c08d7915
Code formatting
2011-11-09 12:06:55 -08:00
Jason Short
80c7e135d5
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
Jason Short
a88424b152
Added a slew rate to the alt change rate.
...
Added better reporting of throttle control
upped constraints for alt hold
Additional logging for CTUN lay hold
2011-10-28 21:29:10 -07:00
Jason Short
3b3f6bd168
RC_Channel Dead zone
...
Added APVar dead_zone to the RC_Channel library so you could edit it in the Mission planner
Made CH filtering off by default.
2011-10-27 11:34:00 -07:00
Jason Short
3ea2b1313c
Added ability to dynamically set wp with toggle switch
2011-10-18 17:59:45 -07:00
Jason Short
9fd89a9f4d
Added gains to adjust travel of camera.
2011-10-15 16:34:57 -07:00
Jason Short
23c0bb9814
Updates to guided mode from Michael O.
...
removed or commented unused static vars
2011-10-15 13:09:04 -07:00
Jason Short
7e81756ccd
Added second PI loop for alt hold.
...
Upped gains for default JDrones Frame
added gains for second PI loop for alt
removed some tests for 1280 space constraints
2011-10-02 11:36:23 -07:00
Jason Short
df1a39f650
Added ADC gyro Filtering for quads - this fixes a noise issue introduced into the controller
...
added Position mode
removed
Added back in the accelerometer experiment
Added filter_result boolean to enable filter on the fly
2011-09-29 23:27:23 -07:00
Jason Short
d0405b0a0a
2.0.46 -Not flight tested!
...
restored 42 alt hold code
removed throttle timer, replaced with safer constant
increased alt control range
reformatted nav_rate calls
removed unused simple mode defines
set alt hold home to 10m
tuned down rateP to .13 from .14 for broader application.
2011-09-27 09:35:05 -07:00
Jason Short
059551de48
Fixed issue with Simple mode changes.
...
Reverted to simpler, safer timer code for throttle hold
2011-09-25 14:16:35 -07:00
Jason Short
463aa0aa75
Fixed for sticky RTL CH7 option
2011-09-22 15:25:07 -07:00
Jason Short
c2d56de264
Added Auto_trim to CH7 option
2011-09-21 16:24:09 -07:00
Jason Short
23c063f374
Logic fix for RTL option
2011-09-20 10:39:39 -07:00
Jason Short
9005cc6cda
Edited CH7 options to include Do Nothing and RTL.
2011-09-20 10:37:50 -07:00
Andrew Tridgell
fc030db54e
fixed bit-logic for simple modes
2011-09-17 14:58:02 +10:00
Jason Short
9a508a20f4
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
2011-09-15 23:33:00 -07:00
Jason Short
ae81a758de
Removed Simple Mode
...
Added Simple option to mode switch positions
removed unused OptFlow code
added reset lat and lon error
removed unused init_auto
Fixed log formatting
Added simple mode bitmask
removed pitchmax
added CLI setup for enabling Simple mode to any switch position
2011-09-14 13:58:18 -07:00
Andrew Tridgell
be8864f424
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00