Pat Hickey
470fd8788e
ArduCopter Channel Config: config vars for user override of MOT_n mapping
...
* config variable CONFIG_CHANNELS has possible values
CHANNEL_CONFIG_DEFAULT or CHANNEL_CONFIG_CUSTOM
* config_channels.h only provides APM1/APM2 mapping when
CONFIG_CHANNELS == CHANNEL_CONFIG_DEFAULT
2012-02-11 16:05:51 -08:00
Pat Hickey
b245265669
Arducopter Frames: revert to old HEXA_FRAME and OCTA_FRAME defines.
...
* HEXA_X_FRAME and HEXA_PLUS_FRAME merged back into HEXA_FRAME
* OCTA_V_FRAME merged back into OCTA_FRAME
2012-01-31 18:18:13 -08:00
Pat Hickey
0e9294538b
Add Max's changes for new MOT mappings. Defines new FRAME_CONFIG types.
...
* HEXA_FRAME has been eliminated and changed to HEXA_X_FRAME and
HEXA_PLUS_FRAME
* OCTA_FRAME stays the same name for X and +, but the V frame
configuration requires new OCTA_V_FRAME name.
2012-01-31 18:18:13 -08:00
Jason Short
f225efef9f
tuning
2012-01-30 21:13:03 -08:00
Randy Mackay
122623f64b
OpticalFlow - added OF_LOITER flightmode
2012-01-28 09:27:16 +09:00
Randy Mackay
2c906b7b27
OpticalFlow - replaced PI controller with PID controller.
...
Modified optical flow hold to use aggregated position instead of speed.
2012-01-25 21:55:14 +09:00
Michael Oborne
1bebb9452b
AC sync battery code with arduplane
2012-01-21 06:29:09 +08:00
Doug Weibel
ed9f7cb1b6
Update battery monitoring code for ArduCopter
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
changed
2012-01-15 17:10:02 -07:00
Jason Short
dab4fb43d4
Added altitude change flags
2012-01-10 23:42:26 -08:00
Randy Mackay
f68d23d91e
ArduCopter - added ROLL_PITCH_STABLE_OF (i.e. Stabilised Roll/Pitch + adjustments based on optical flow)
...
Removed optical flow from regular loiter for now until it's tested.
2012-01-09 13:53:54 +09:00
Jason Short
faa9dd43cf
scaled to 0-1023
2012-01-06 21:43:37 -08:00
Jason Short
b28ae04e0d
Removed unused options
2012-01-04 09:28:36 -08:00
Jason Short
244ca98264
Added Dampening term for tuning
2011-12-29 23:02:02 -08:00
Jason Short
ca8f71a705
used for testing
2011-12-23 14:42:50 -08:00
Pat Hickey
f1624621b3
ArduCopter Logging: DISABLED means DISABLED again; CONFIG_LOGGING added
...
CONFIG_LOGGING selects LOGGING_SIMPLE and LOGGING_VERBOSE. Verbose
logging is the default, implemented in Log.pde. Simple logging is
optional, but the default for the 1280 build, implemented in
Log_simple.pde
2011-12-19 21:04:51 -08:00
Jason Short
3446744ae9
Addition of nav mode that tries to maintain level
2011-12-14 22:08:42 -08:00
Pat Hickey
62844d8ddc
ArduCopter: added config.h and defines.h to support CONFIG_BARO
2011-12-11 15:21:09 -08:00
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
2011-12-11 16:40:59 +09:00
Jason Short
2b8280e533
Added enumeration for Land
2011-12-10 10:19:20 -08:00
Jason Short
401c985572
Added Deg to rad, rad to deg * 100 to save a float calc
2011-12-03 15:29:33 -08:00
Andrew Tridgell
38c85c44ae
ArduCopter: rename purple to APM2
2011-11-25 20:00:19 -08:00
Pat Hickey
3f2692d1da
purple: added configuration logic for APM1 versus purple hardware
...
This abstracts the names for LED on/off (due to the different wiring
of LEDs on APM1 and purple), and adds the needed config defines for
the two hardware types
2011-11-25 20:00:16 -08:00
Pat Hickey
90c5eb8487
purple: added defines for APM hardware selection
...
we can now choose APM_HARDWARE_APM1 or APM_HARDWARE_PURPLE
2011-11-25 20:00:16 -08:00
Randy Mackay
f397bae793
ArduCopter Alt Hold - Change to not run get_nav_throttle if manually adjusting altitude with manual_boost - removes possibility of I term running up
...
Tuning - added ability to modify altitude (position, not rate) controller
TradHeli - Fairly large change to how throttle is scaled and collective moves.
2011-11-20 22:30:42 +09:00
Jason Short
1e855503da
renamed MASK_OPTIONS_RELATIVE_ALT
2011-11-20 00:22:52 -08:00
Jason Short
90bc03ef99
new DataLog message
2011-11-19 16:59:54 -08:00
Jason Short
35524f6da7
Added optimizations for radian calls to remove a division.
...
added a protection for entering AP modes without Home being set by GPS lock.
2011-11-19 11:08:13 -08:00
unknown
c253996ea9
TradHeli - added TUNE value 13 to allow adjusting of external gyro gain using channel 6
2011-10-29 20:34:21 +09:00
Jason Short
d551494b94
Added ability to dynamically set wp with toggle switch
2011-10-18 17:59:45 -07:00
Andrew Tridgell
d89ae696ef
merged the GCS updates from ArduPlane to ArduCopter
...
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
2011-10-11 20:53:43 +11:00
Jason Short
de61e87128
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
888e1119e8
Added Loiter P tuning as #12
2011-09-27 09:39:32 -07:00
Jason Short
c91ad14e18
Fixed Timer overflow for throttle PI loop.
...
Moved look at home to update_nav where it belongs
2011-09-21 22:31:12 -07:00
Jason Short
0fba3e6742
Added Auto_trim to CH7 option
2011-09-21 16:24:09 -07:00
Jason Short
5ca50f1f01
Altered CIRCLE mode to allow Loiter_N_Turns to work in AP mode.
2011-09-21 13:19:36 -07:00
Jason Short
020062498b
Edited CH7 options to include Do Nothing and RTL.
2011-09-20 10:37:50 -07:00
Andrew Tridgell
dc23ad4275
MAVLink: merged in the stack saving changes from ArduPlane
2011-09-18 11:37:24 +10:00
Amilcar Lucas
227ce0a92d
Merge some small misc improvements from APM_Camera branch
2011-09-17 20:25:31 +02:00
Jason Short
9c5cba56eb
Added low voltage code flashing code.
2011-09-16 18:56:51 -07:00
Jason Short
d29cfbcee3
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
1ce2308d11
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
Amilcar Lucas
d1a63db767
These defines got moved to the library
2011-09-12 21:32:05 +02:00
Jason Short
482844b87a
Added Input Voltage value to params
2011-09-10 18:44:56 -07:00
Jason Short
b4a51806bc
Added Nav Rate tuning
2011-09-10 18:37:28 -07:00
Jason Short
bb1b7b47a7
Fixed numbering issue with defines
2011-09-10 16:25:52 -07:00
Jason Short
02bfd43390
Fixes Alt hold mistake
...
Moves tuning into runtime definable param
Added more IMax to throttle
Signed-off-by: Jason Short <jasonshort@gmail.com>
2011-09-10 15:16:51 -07:00
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00