Jason Short
80e1715b12
updated Loiter PIDs
2011-12-29 23:02:02 -08:00
Jason Short
db0a7be233
Enable Magnetometer by default
2011-12-29 23:02:02 -08:00
Randy Mackay
ff66a3417c
OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
...
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
2011-12-30 12:06:31 +09:00
Andrew Tridgell
8df91ea885
ACM: enable compass by default on APM2
2011-12-28 20:30:35 +11:00
Jason Short
bf29f09107
Getting rid of Simple Logging
2011-12-23 18:44:30 -08:00
Jason Short
c9a30ccf1f
Made WP radius 1 by default
2011-12-23 15:01:53 -08:00
Jason Short
f892e0b00d
increased crosstrack thanks to float math fix
...
decreased loiter iterm, decreased throttle iterm based on simulator runs
2011-12-23 14:42:50 -08:00
Pat Hickey
74530de4bb
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
Jani Hirvinen
9d7eb9cd1a
config settings for jD motors
2011-12-19 09:29:05 +07:00
Jason Short
b484fdab05
added some more throttle imax range
...
renamed Super Simple
2011-12-15 20:51:41 -08:00
Doug Weibel
737447c8cf
Change logging to default on for 2560
2011-12-13 20:53:44 -07:00
Jason Short
6b1bedc381
Gain updates
2011-12-12 17:47:45 -08:00
Jason Short
6bac318def
Added param option for Simple mode reset
2011-12-12 17:47:45 -08:00
Jason Short
e1146b6df6
Just upped the nav_imax value
2011-12-12 10:10:33 -08:00
Andrew Tridgell
6857d9af14
fixed LOGGING_ENABLED default on ArduCopter
2011-12-12 23:40:43 +11:00
Andrew Tridgell
cadc5bde1d
fixed hil ArduCopter build
2011-12-12 15:14:55 +11:00
Pat Hickey
5fd8fea957
ArduCopter & ArduPlane: Added support for apm2beta build via APM2_BETA_HARDWARE define
...
* This enables the BMA085 driver for compatibility with beta boards.
* The CLI_SLIDER_ENABLED=DISABLED line does not need to be in the makefile.
config.h takes care of this default.
2011-12-11 15:21:09 -08:00
Pat Hickey
0b0922d04c
ArduCopter: added config.h and defines.h to support CONFIG_BARO
2011-12-11 15:21:09 -08:00
Jason Short
c01361a79d
removed CLI switch by default, decreased Nav I
2011-12-11 09:53:44 -08:00
Randy Mackay
62a7b19600
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
Randy Mackay
f77131db94
OptFlow - turning on optical by default
2011-12-10 23:22:40 +09:00
Randy Mackay
f4ac36bd8b
ArduCopter - removed limitation on Maxbotix sonar type requiring ADC so it can work with APM2.
...
modified default analog pin in test sketch to be AN4 which is consistent with APM2 default
2011-12-10 18:33:30 +09:00
Pat Hickey
2a7013f7e2
ArduCopter config: Correct LOGGING_ENABLED defaults to force disable for 1280
...
Per email, this is what Jason meant to do in aeb92870, but previous code
forced logging enable for all non-1280 users.
2011-12-09 15:06:10 -08:00
Jason Short
55b2e5339a
simple patch to improve alt hold based on stability patch
2011-12-04 21:32:33 -08:00
Jason Short
ffa69f43ec
disabled Flash logs in 1280 by default
...
Added stability patch I values and limits
2011-12-03 15:38:46 -08:00
Andrew Tridgell
1d66b075b0
ArduCopter: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
e297f0cb23
USB-MUX: enable USB MUX switching for ArduCopter
2011-11-25 20:00:19 -08:00
Andrew Tridgell
67e5c89226
compass: added AP_COMPASS_APM2_SHIELD
...
this makes the orientation clearer
2011-11-25 20:00:18 -08:00
Pat Hickey
d2f4fea58a
remove BROKEN_SLIDER code
...
use the new CLI_SLIDER_ENABLED option and the "hit ENTER 3 times"
method
2011-11-25 20:00:17 -08:00
Pat Hickey
1fc57f06b6
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
Jason Short
7f80649566
Added alternate alt hold,
...
New ESC Calibration Routine
2011-11-21 22:12:19 -08:00
Jason Short
048c081e9f
RTL Yaw hold as default
2011-11-20 12:50:13 -08:00
Jason Short
57f3eafb52
Made save WP the default
...
Cosmetic updates
2011-11-20 12:50:12 -08:00
Jason Short
fbcc42097b
Added crosstrack gain and lowered alt hold rate gain
2011-11-19 13:59:15 -08:00
Jason Short
2c542a0b69
Made RTL Altitude hold current by default
2011-11-16 00:22:23 -08:00
Jason Short
4816bf4857
added scale note
2011-11-13 00:25:04 -08:00
Jason Short
1605d71f32
back to original config for testing
2011-11-09 13:53:26 -08:00
Jason Short
d0211ed4ca
Lowered Nav_P based on SIM data
2011-11-09 12:46:34 -08:00
Jason Short
54790bd981
Lowered Nav_P I term to ramp slower base on SIM
2011-11-09 11:30:50 -08:00
Jason Short
50703ed847
restoring throttle i term for SIM
2011-11-08 11:51:49 -08:00
Jason Short
51c746c9a4
PID test for alt hold to narrow down on a bug
2011-11-08 10:13:16 -08:00
Jason Short
ec6169000c
default top_bottom ratio 1.0
2011-11-06 22:43:49 -08:00
Jason Short
eaff769f2f
updated Alt hold PIDs
2011-11-01 09:30:34 -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
003e6e06a1
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
...
Conflicts:
libraries/APM_PI/APM_PI.cpp
2011-10-27 12:41:00 -07:00
Jason Short
4c79809efb
Acro PI defaults
2011-10-27 11:55:13 -07:00
Andrew Tridgell
c0c771042f
CLI: enable "hit enter 3 times" support for CLI
...
if you hit enter 3 times before you send any mavlink packets, we will
enter CLI mode
2011-10-27 21:54:07 +11:00
Jani Hirvinen
f1334c30b3
adding missing config parameters
2011-10-21 10:41:52 +07:00
Jason Short
9f50cd14d1
tweaked Alt hold PIDs, loiter PIDs based on SIM testing and feedback.
...
Increased distance error for loiter for faster return to center.
2011-10-16 15:41:54 -07:00
Jason Short
9fd89a9f4d
Added gains to adjust travel of camera.
2011-10-15 16:34:57 -07:00
Jason Short
3c51ce6a5f
Made wpspeed governor run per second so 1hz gps doesn't fail. Gave a 1m/s minimum. Increased WPspeed max to 4.0m/s
2011-10-15 15:35:18 -07:00
Jason Short
a37d95634a
lowered DCM RP gains
...
made Instant_PWM optional
upped PWM output to 400hz
2011-10-11 22:20:23 -07:00
Andrew Tridgell
661b6c4508
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
ce136d850a
Better Loiter PIDs
...
Fixed RTL overshoot bug
2011-10-06 17:42:09 -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
b805263974
Attempting to mimic loiter values for 4.0.42
...
lowered Rate Error max in loiter
2011-09-28 23:11:19 -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
a2886fc991
turned off Stabilize_I by default because it was hurting loiter
...
tweaked speed control of rate_nav
2011-09-24 21:49:45 -07:00
Jason Short
843b5b12ab
Removed default Rate_I for pitch and roll
...
added change speed control for missions
2011-09-24 09:49:11 -07:00
Jason Short
f65390920a
Added a default, but low throttle cruise value
...
Added a clear integrator for Rate I to prevent tip ups at launch.
2011-09-22 23:10:55 -07:00
Jason Short
6921d94d20
removed old CH6 tuning defines
2011-09-22 18:51:41 -07:00
Jason Short
45f9ab05f8
Better Tuning for default Quad
2011-09-22 18:30:29 -07:00
Jason Short
5b57df5d1c
Refined Throttle Timer reset
...
Reduced Loiter I gain to decrease overshoot.
2011-09-22 17:38:39 -07:00
Jason Short
ffb6f06f57
Fixed Throttle integrator bug. Time was not being reset causing a big drop in throttle control.
2011-09-22 12:28:46 -07:00
Jason Short
4425e72034
Added Piezo Support, code from Oliver.
2011-09-18 17:12:28 -07:00
Jason Short
41dada23ea
removed DCM reference from OPT FLOW
2011-09-16 19:17:50 -07:00
Jason Short
4f6ac5c403
Lowered Loiter_I - higher value didn't test well.
2011-09-16 18:24:42 -07:00
Jason Short
024512e34a
Fixed CIRCLE mode trig error
...
made loiter_radius * 100 in Params
updated gains
2011-09-16 16:54:45 -07:00
Jason Short
0d31d775b8
cleanup
...
added more ifdef for optflow
2011-09-15 23:41:15 -07: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
Jason Short
689bfb803c
increased imax
2011-09-11 20:28:43 -07:00
Jason Short
810d8e5cde
Fixed Yaw mode for CIRCLE
2011-09-11 11:48:11 -07:00
Jason Short
8ae158191f
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
be8864f424
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00