Commit Graph

57 Commits

Author SHA1 Message Date
Andrew Tridgell 63126ece83 MAVLink: use the configured system ID for ArduCopter 2011-12-03 07:54:36 +11:00
Jason Short 8a1fcfd0f4 cleanup 2011-11-28 21:40:22 -08:00
Doug Weibel aa6c336479 Add DataFlash.Init before doing a forced log erase on eeprom reset.
Add progress indication during log erase
2011-11-28 19:42:27 -07:00
Jason Short d4a9808a61 Erasing Logs causing major havoc. Users getting infinite loop. 2011-11-28 10:33:05 -08:00
Jason Short afee053bac No longer resetting ch7 wp index with mode change, requires reboot 2011-11-27 22:23:02 -08:00
Jason Short a2857f9746 Erasing Logs at new FW version detection 2011-11-26 16:39:28 -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 c797794e3f ArduCopter-HIL: fixed HIL build
Logging isn't always enabled
2011-11-25 20:00:18 -08:00
Pat Hickey 8300e21a8c hil-sensors ArduCopter: fixes to make hil-sensors build work properly
* requires new stub libraries for InertialSensor and PeriodicProcess.
2011-11-25 20:00:18 -08:00
Andrew Tridgell 01cfd64327 timer_scheduler doesn't exist in HIL_MODE_ATTITUDE 2011-11-25 20:00:18 -08:00
Andrew Tridgell 8e9851c217 adc.Init() needs timer_scheduler 2011-11-25 20:00:17 -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 0f25ae0fd7 purple: fixed system init for purple sensor objects 2011-11-25 20:00:16 -08:00
Pat Hickey bc5a59e5fe purple: use the new LED_ON/LED_OFF macros for LED level
this gets this right on both APM1 and purple for ArduCopter
2011-11-25 20:00:16 -08:00
Andrew Tridgell 32073eaa51 mod barometer.Init() based on hardware 2011-11-25 20:00:15 -08:00
Jason Short 7f80649566 Added alternate alt hold,
New ESC Calibration Routine
2011-11-21 22:12:19 -08:00
Jason Short 180a851d2c removed the init_esc - reworking the method to avoid the use of the CLI. 2011-11-20 21:24:32 -08:00
Jason Short 5761b6b071 Logging stabilization KP to hunt bug 2011-11-19 16:59:54 -08:00
Jason Short 4c95bf27e6 s
shortened strings, logging defines updated
2011-11-19 14:01:47 -08:00
Jason Short 332684f649 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
Jason Short 3b825fb8c1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega
Conflicts:
	Tools/autotest/autotest.py
2011-11-12 21:53:08 -08:00
Jason Short e6acbacdb6 nav updates 2011-11-12 21:46:57 -08:00
unknown 4fcf11cf6e TradHeli - new parameter HSV_MAN to allow better set-up from APMissionPlanner. Also changed swash movement to use radio_out which fixes some setup bugs 2011-11-12 23:23:07 +09:00
Jason Short bc506514c9 fix for SIM GPS 2011-11-08 14:10:09 -08:00
unknown b30387bc5b TradHeli - small change to make throttle_cruise in terms of radio input instead of servo output 2011-11-06 17:40:17 +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 65acc1ae5b resetting alt hold I 2011-11-01 09:27:49 -07:00
unknown 8dc5683dff TradHeli - added throttle scaling and heli specific angle_boost function that takes into account that heli's main blades can have -ve pitch. 2011-10-29 17:27:43 +09:00
Jason Short be3843ccb9 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-28 21:29:18 -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
Andrew Tridgell 4a92048ef0 fixed "Free RAM" display on bootup 2011-10-28 21:34:10 +11: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 171f43def0 Deafaut dead_zone call
Sets the correct default values for the RC_Channel group for Quads.
2011-10-27 11:35:02 -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
Jason Short 3b526e23a4 added extra user hook 2011-10-17 23:51:47 -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 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
Andrew Tridgell f4184d0b02 don't check the slider switch if CLI is disabled
this prevents a build error in desktop mode
2011-10-09 22:39:23 +11:00
Andrew Tridgell 06ddaa2d81 don't initialise DataFlash if logging is disabled 2011-10-09 22:38:49 +11:00
Andrew Tridgell 85e8316809 use memcheck_available_memory() instead of freeRAM()
this provides a more accurate view of memory
2011-10-09 22:38:14 +11:00
Michael Oborne f6984631c6 fix ac2 hil build 2011-10-04 18:55:10 +08:00
Jason Short 0064e80e4e 2.0.46 preliminary release 2011-09-29 23:30:32 -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 18fea55f8d Fixed Flip code to compile. Flip still not flight tested! 2011-09-25 12:21:54 -07:00
Jason Short 7512e686b9 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 4425e72034 Added Piezo Support, code from Oliver. 2011-09-18 17:12:28 -07:00
Amilcar Lucas c9d9ee0d3b Merge some small misc improvements from APM_Camera branch 2011-09-17 20:25:31 +02: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