Randy Mackay
4813526725
Copter: bug fix for autotrim's roll axis backwards
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Randy Mackay
8bbc93bb04
Copter: added CH7 switch to enabling/disable the sonar in flight
...
This indirectly switches surface tracking on/off which is useful to
avoid tracking the tops of uneven objects when far above the ground
12 years ago
Jason Short
8b62c4630b
ACM: Restore Multi-mode support
12 years ago
rmackay9
bd0e018ca0
ArduCopter: restore auto-trim method but now use AHRS.add_trim
12 years ago
Andrew Tridgell
78d98023f4
Copter: remove use of 'byte'
12 years ago
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
12 years ago
Jason Short
0419dc8dfd
ACM: Simplified control mode code
12 years ago
rmackay9
d74cf54b5d
ArduCopter: allow triggering of camera from a mission
12 years ago
rmackay9
653535b9a1
ArduCopter: added CH7 option to trigger camera
...
Restructured reading of channel 7 into a switch statement.
12 years ago
rmackay9
6da07ef1d2
ArduCopter: increase CONTROL_SWITCH_COUNTER so that flight mode switch must be changed for at least 1/10th of a second
12 years ago
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
12 years ago
rmackay9
bcb9519fd7
ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues
12 years ago
rmackay9
96872493ae
ArduCopter: remove unnecessary debug print mesage from save_trim function
12 years ago
Jason Short
d2a5928c06
Ap state updates
12 years ago
rmackay9
a1b4ec6d0e
ArduCopter: move to use new INS library instead of IMU library
12 years ago
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
13 years ago
rmackay9
498cbb063b
ArduCopter: set fast gains while auto trim is being executed
13 years ago
uncrustify
7c8f4421a3
uncrustify ArduCopter/control_modes.pde
13 years ago
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.
13 years ago
Jason Short
45574c0b1a
ACM : CH_7 multimode option added
13 years ago
Jason Short
26e3d6090e
ACM control modes - renames CH_7 flag
13 years ago
Jason Short
55c342c858
ACM: Safety patch for CH7 flip toggle. Prevents flipping while on the ground. ouch.
13 years ago
Jason Short
ca70acbf64
Arducopter: Added safety check for inadvertent triggering of flip code.
13 years ago
Jason Short
351b503fb6
Arducopter: Flip Check
13 years ago
Jason Short
9dad38e91d
Arducopter: Flip mode
...
Flip mode graduates
13 years ago
Jason Short
89fec907e2
Arducopter: CH7 Waypoint saving
...
Saves the takeoff Waypoint as Home + new altitude rather than current location.
13 years ago
Jason Short
3646d69faf
read_control_switch
...
Removed Prev_WP reference. unneeded.
13 years ago
Jason Short
1b9f75c844
Updates to Flip:
...
Ability to abort flip mode if things go wrong
init function to re-enter flip mode if aborted
13 years ago
Robert Lefebvre
4e4ff84cf1
Updates to CopterLEDS
...
Creation of Nav Blink Function.
13 years ago
Robert Lefebvre
84d8414a2e
Fix Auto_Trim to allow it to actually be called when setup on Ch7 pulldown menu in MP.
13 years ago
Andrew Tridgell
828ad7625b
ACM: removed the ADC filtering code
13 years ago
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
13 years ago
Jason Short
3afaf2689c
Fix for disabled CH7 value triggering WP saving
13 years ago
Jason Short
08a9249e2b
cosmetic
13 years ago
Jason Short
7833cea9d4
2.2B6 - Please verify Heli still functions properly.
...
Added AC_PID lib
Updated landing code
bug fixes
13 years ago
Jason Short
d1fcebb5ca
Cosmetic changes
...
GPS LED lock waits for home_is_set to be true
13 years ago
Jason Short
6784989e83
relocated reset_I term functions to central location
13 years ago
Jason Short
f97d58c753
added notes, removed redundant save wp_total
13 years ago
Jason Short
6513b12eb2
Cosmetic
13 years ago
Jason Short
5d0e3664ad
Hack to prevent fly aways
...
Cleanup to remove SIMPLE mode switch note
13 years ago
Jason Short
873daae095
Allows you to clear the stored mission when in Auto
13 years ago
Jason Short
29554b7d73
Will add a landing command to last WP if we are on the ground.
13 years ago
Jason Short
f3ff7aa0a8
rework of inflight trim.
13 years ago
Jason Short
69f1841d8e
Debugging some motor issues
13 years ago
Jason Short
54c8e1033c
Fixing reversed Simple mode switch
13 years ago
Jason Short
9931cacec7
Enabled Ch7 simple mode switching
13 years ago
Jason Short
d0af4e7200
CH7 with params
13 years ago
Jason Short
c6f9c532af
renamed set_command_with_index
13 years ago
Jason Short
bcfb3a0ee3
Fix for WP saving with CH7
13 years ago