Commit Graph

61 Commits

Author SHA1 Message Date
rmackay9
d74cf54b5d ArduCopter: allow triggering of camera from a mission 2012-12-06 23:48:30 +09:00
rmackay9
653535b9a1 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
6da07ef1d2 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
258442770d 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
bcb9519fd7 ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues 2012-11-11 22:42:10 +09:00
rmackay9
96872493ae ArduCopter: remove unnecessary debug print mesage from save_trim function 2012-11-10 23:10:29 +09:00
Jason Short
d2a5928c06 Ap state updates 2012-11-09 22:15:15 -08:00
rmackay9
a1b4ec6d0e ArduCopter: move to use new INS library instead of IMU library 2012-11-07 19:21:09 +09:00
rmackay9
95763e610b 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
498cbb063b ArduCopter: set fast gains while auto trim is being executed 2012-09-18 09:03:29 +09:00
uncrustify
7c8f4421a3 uncrustify ArduCopter/control_modes.pde 2012-08-21 18:54:57 -07:00
rmackay9
36f947acb9 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
45574c0b1a ACM : CH_7 multimode option added 2012-08-11 22:37:26 -07:00
Jason Short
26e3d6090e ACM control modes - renames CH_7 flag 2012-08-09 16:59:43 -07:00
Jason Short
55c342c858 ACM: Safety patch for CH7 flip toggle. Prevents flipping while on the ground. ouch. 2012-07-20 16:47:05 -07:00
Jason Short
ca70acbf64 Arducopter: Added safety check for inadvertent triggering of flip code. 2012-07-20 13:27:35 -07:00
Jason Short
351b503fb6 Arducopter: Flip Check 2012-07-19 17:49:17 -07:00
Jason Short
9dad38e91d Arducopter: Flip mode
Flip mode graduates
2012-07-18 22:57:10 -07:00
Jason Short
89fec907e2 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
3646d69faf read_control_switch
Removed Prev_WP reference. unneeded.
2012-07-01 13:40:11 -07:00
Jason Short
1b9f75c844 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
4e4ff84cf1 Updates to CopterLEDS
Creation of Nav Blink Function.
2012-05-22 09:58:37 -04:00
Robert Lefebvre
84d8414a2e 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
828ad7625b ACM: removed the ADC filtering code 2012-03-10 10:34:32 +11:00
Jason Short
730476fdfd 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
3afaf2689c Fix for disabled CH7 value triggering WP saving 2012-02-09 22:32:04 -08:00
Jason Short
08a9249e2b cosmetic 2012-01-30 21:13:03 -08:00
Jason Short
7833cea9d4 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
d1fcebb5ca Cosmetic changes
GPS LED lock waits for home_is_set to be true
2012-01-28 21:19:46 -08:00
Jason Short
6784989e83 relocated reset_I term functions to central location 2012-01-20 22:52:30 -08:00
Jason Short
f97d58c753 added notes, removed redundant save wp_total 2012-01-14 11:20:40 -08:00
Jason Short
6513b12eb2 Cosmetic 2012-01-04 09:28:36 -08:00
Jason Short
5d0e3664ad Hack to prevent fly aways
Cleanup to remove SIMPLE mode switch note
2011-12-11 12:01:06 -08:00
Jason Short
873daae095 Allows you to clear the stored mission when in Auto 2011-12-10 19:32:46 -08:00
Jason Short
29554b7d73 Will add a landing command to last WP if we are on the ground. 2011-12-10 19:29:42 -08:00
Jason Short
f3ff7aa0a8 rework of inflight trim. 2011-12-10 15:05:53 -08:00
Jason Short
69f1841d8e Debugging some motor issues 2011-12-10 10:19:20 -08:00
Jason Short
54c8e1033c Fixing reversed Simple mode switch 2011-12-03 17:54:57 -08:00
Jason Short
9931cacec7 Enabled Ch7 simple mode switching 2011-11-28 22:41:12 -08:00
Jason Short
d0af4e7200 CH7 with params 2011-11-26 16:39:29 -08:00
Jason Short
c6f9c532af renamed set_command_with_index 2011-11-20 00:22:52 -08:00
Jason Short
bcfb3a0ee3 Fix for WP saving with CH7 2011-11-12 21:40:58 -08:00
Jason Short
630f2dbf05 Code formatting 2011-11-09 12:06:55 -08:00
Jason Short
c8304114a3 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
07daf34ccc 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
76bf784f8c 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
d551494b94 Added ability to dynamically set wp with toggle switch 2011-10-18 17:59:45 -07:00
Jason Short
6a5aefd0ec Added gains to adjust travel of camera. 2011-10-15 16:34:57 -07:00
Jason Short
142707711e Updates to guided mode from Michael O.
removed or commented unused static vars
2011-10-15 13:09:04 -07:00
Jason Short
b0bd9d1c44 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