Commit Graph

61 Commits

Author SHA1 Message Date
rmackay9 2cff551891 ArduCopter: allow triggering of camera from a mission 2012-12-06 23:48:30 +09:00
rmackay9 80d9c76009 ArduCopter: added CH7 option to trigger camera
Restructured reading of channel 7 into a switch statement.
2012-12-06 17:47:01 +09:00
rmackay9 9447d08fdd ArduCopter: increase CONTROL_SWITCH_COUNTER so that flight mode switch must be changed for at least 1/10th of a second 2012-12-06 10:31:46 +09:00
rmackay9 cd5da84698 ArduCopter: flight mode changes ignored while in throttle failsafe
reaction time to flight mode changes (when not in failsafe) reduced from 0.6 seconds to 0.1 seconds
2012-11-13 12:50:51 +09:00
rmackay9 eb25b917ad ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues 2012-11-11 22:42:10 +09:00
rmackay9 95771692f0 ArduCopter: remove unnecessary debug print mesage from save_trim function 2012-11-10 23:10:29 +09:00
Jason Short 3e905ec750 Ap state updates 2012-11-09 22:15:15 -08:00
rmackay9 0868917ff4 ArduCopter: move to use new INS library instead of IMU library 2012-11-07 19:21:09 +09:00
rmackay9 fc4f4d76c9 ArduCopter: allow DMP to run in parallel with DCM
Parallel DMP can be enabled by #define SECONDARY_DMP_ENABLED in APM_Config.h
New DMP dataflash log type added to allow easy comparison with DCM
2012-09-30 00:25:40 +09:00
rmackay9 3b5b2eba6e ArduCopter: set fast gains while auto trim is being executed 2012-09-18 09:03:29 +09:00
uncrustify 0c0652b6d8 uncrustify ArduCopter/control_modes.pde 2012-08-21 18:54:57 -07:00
rmackay9 48b7d26c5d ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
2012-08-16 20:04:46 +09:00
Jason Short 9134271073 ACM : CH_7 multimode option added 2012-08-11 22:37:26 -07:00
Jason Short a85cee34e7 ACM control modes - renames CH_7 flag 2012-08-09 16:59:43 -07:00
Jason Short 3d32bbc476 ACM: Safety patch for CH7 flip toggle. Prevents flipping while on the ground. ouch. 2012-07-20 16:47:05 -07:00
Jason Short 2dfe38588d Arducopter: Added safety check for inadvertent triggering of flip code. 2012-07-20 13:27:35 -07:00
Jason Short 45f71e9783 Arducopter: Flip Check 2012-07-19 17:49:17 -07:00
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