Commit Graph

344 Commits

Author SHA1 Message Date
Randy Mackay d77f7bc803 Copter: default Loiter Pos P to 0.8 (was 0.2) 2013-07-11 08:13:17 +09:00
Andrew Tridgell c544a076ca Copter: enable camera logging by default
these messages only happen on user defined camera triggering, so
should be low rate
2013-07-10 12:24:02 +10:00
Randy Mackay 45f47de98d Copter: reduce default Loiter Pos P to 0.2 (was 1.0) 2013-07-07 16:00:09 -10:00
Randy Mackay 404cd5f3da Copter: rename g.pid_throttle to g.pid_throttle_rate
Small code clean-up to make throttle rate controller's pid more obvious
2013-06-30 00:04:21 -10:00
Robert Gayle 917edcab11 Copter: added FS_THR_ENABLED_ALWAYS_LAND (=3) option: don't attempt RTL, just land 2013-06-27 10:19:38 -10:00
Andrew Tridgell 76d1791073 Copter: CONFIG_RELAY is not used 2013-06-25 12:47:07 +10:00
Randy Mackay cd30103b76 Copter: increase default CIRCLE_RATE to 20deg/sec 2013-06-19 12:40:33 +09:00
Randy Mackay 069bd17928 Copter: reduce default AltHold P to 1.0 (was 2.0)
This helps reduce jumpiness due to althold feed forward
2013-06-16 15:32:25 +09:00
Randy Mackay 13c41e74f2 Copter: reduce pre-arm board voltage check to 4.3V 2013-06-02 20:47:58 +09:00
Olivier-ADLER 735406fa77 Copter : POSITION_HOLD mode -> allow user position control 2013-06-02 11:49:18 +09:00
Randy Mackay 1722e438d8 Copter: pass alt hold gain to WP_Nav library 2013-05-31 21:04:10 +09:00
Randy Mackay 1807840d4f Copter: fixed comments re mag field pre-arm check 2013-05-31 12:28:04 +09:00
Randy Mackay 7b50ecc73c Copter: pre-arm check for mag field length 2013-05-31 12:23:19 +09:00
Randy Mackay a1821c89e7 Copter: pre-arm check for board voltage < 5.8V 2013-05-31 11:31:27 +09:00
Randy Mackay c3d21a457f Copter: add pre-arm board voltage check
Copter will not arm unless board voltage is over 4.5V
2013-05-28 21:50:31 +09:00
Randy Mackay cdcf442f55 Copter: enable GPS failsafe by default 2013-05-27 11:25:37 +09:00
Randy Mackay 9fdab5e8fe Copter: remove unused AUTO_SLEW_RATE parameter 2013-05-17 16:09:17 +09:00
Randy Mackay 38239c652a Copter: ch8 aux switch
Ch8 can be used as an aux switch like ch7.  Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay 566daf883a Copter: remove unused MODE bit from LOG_BITMASK
We always log the mode so no need for this bit
2013-05-17 12:26:42 +09:00
Randy Mackay 1426f40319 Copter: remove unused JDrones motor PID overrides 2013-05-17 12:05:20 +09:00
Randy Mackay e843bf3dfd Copter: bug fix for POSITION mode throttle
Was using alt-hold throttle controller instead of manual throttle
controller
2013-05-14 11:56:09 +09:00
Randy Mackay a2e298bbfc Copter: change to default RTL yaw behaviour
We will not point the nose home for RTL but will point the nose for all
other waypoints
2013-05-14 11:52:39 +09:00
Andrew Tridgell 0d027b7a23 Copter: updates for new compass API 2013-05-02 12:48:14 +10:00
Randy Mackay bab9fa25e5 Copter: add GCS failsafe 2013-04-29 21:30:22 +09:00
Randy Mackay 58d1da2d80 Copter: integrate AC_Fence in place of limits
Lesser functionality than limits but saves more than 150 bytes and it
works
2013-04-27 11:14:07 +09:00
Randy Mackay 94d4ecef11 Copter: reduce throttle rate D to zero 2013-04-21 16:28:07 +09:00
Bill Bonney 36041bb9ff Copter: Enable CURRENT logging by default to dataflash 2013-04-21 07:25:34 +10:00
Randy Mackay 745df9b13c Copter: add SONAR_GAIN to tune reaction to sonar
Some users report the response to sonar is too violent, this allows that
reaction to be reduced
2013-04-20 15:58:36 +09:00
Randy Mackay a53e5f747b Copter: add fourth yaw behaviour, look-at-home
Added get_wp_yaw_mode to remove duplication of checks of the
WP_YAW_BEHAVIOR parameter
2013-04-20 15:36:24 +09:00
Randy Mackay 37abfdc65a Copter: make CIRCLE_RATE a tunable parameter
Also bug fix to check of how many time it has rotated during a loiter
turns mission command
2013-04-20 12:03:55 +09:00
Randy Mackay 18c1373847 Copter: remove unused AUTO_VELZ defaults
These have now moved to AC_WPNav
2013-04-18 14:57:08 +09:00
Randy Mackay 82989d85f2 Copter: remove unused #defines 2013-04-16 22:34:12 +09:00
Randy Mackay 0663da7c9e Copter: loiter rate IMAX to 4m/s/s and D to zero 2013-04-16 22:28:18 +09:00
Randy Mackay 629d23b7e2 Copter: remove WP_SPEED and WP_RADIUS parameters
AC_WPNav library has equivalent params with very similar names
2013-04-14 13:27:37 +09:00
Randy Mackay 366616e32c Copter: reduce default loiter PIDs 2013-04-14 10:39:28 +09:00
Randy Mackay 1516972eaa Copter: add panorama to CIRCLE mode
Yaw will slowly rotate if CIRCLE_RADIUS is set to zero
Circle center is projected forward CIRCLE_RADIUS from current position
and heading
2013-04-14 10:38:01 +09:00
Randy Mackay fc0c451b69 Copter: remove #ifdef checks for Atmega1280 2013-04-05 22:48:10 +09:00
Randy Mackay a9eb626cb8 Copter: update default Rate Yaw P to 0.20 (was 0.25) 2013-04-01 11:49:50 +09:00
Randy Mackay 36834e77b5 Copter: remove support for CLI Slider 2013-03-18 14:07:04 +09:00
Randy Mackay 597a4b912a Copter: fix to allow building HIL_MODE_SENSORS 2013-03-18 13:41:52 +09:00
Randy Mackay d1344e8c39 Copter: remove #define for CROSSTRACK_GAIN
Note: the cross track is still calculated inside the inertial nav based
loiter and wp controls but it's no longer requires a tunable parameter
2013-03-17 16:56:18 +09:00
Randy Mackay 1b6fcad90a Copter: remove tilt compensation parameter
Note: this idea of feed forward tilt compensation is being incorporated
into the inertial nav based loiter and wp controllers but does not
require a separate tunable parameter
2013-03-17 16:53:32 +09:00
Randy Mackay fdcb78ccf7 Copter: leonard's smoother alt-hold transition
Target altitude when entering alt-hold is based on a projection from
current alt and climb rate
2013-03-17 13:24:49 +09:00
Randy Mackay 150046f2b8 Copter: GPS Failsafe implemented
Switches to LAND mode 5 seconds after losing GPS if you're in a flight
mode that requires a GPS
2013-03-16 17:27:46 +09:00
Randy Mackay a73f50494c TradHeli: remove duplicate RC_FAST_SPEED definition 2013-03-04 23:45:23 +09:00
Randy Mackay 33bd984a91 Copter: remove unused input_voltage parameter 2013-03-03 23:23:54 +09:00
Randy Mackay d6ff5ae261 Copter: add roll-pitch slew for auto modes
Added reporting of roll, pitch inputs for ACRO, AUTO
2013-02-24 14:42:04 +09:00
Randy Mackay e297ba7d18 Copter: update default loiter gains for inertial nav 2013-02-24 14:42:00 +09:00
Randy Mackay cbde042ec5 Copter: remove non-inav loiter and wp controllers
lon_speed, lat_speed changed to float
do_takeoff, do_land now set roll-pitch, yaw and nav modes specifically
removed fast_corners functionality (may need to be reimplemented with
new inertial nav controllers)
2013-02-24 14:41:52 +09:00
Randy Mackay 609676e26c Copter: add logging of compass values
Removed rarely used ITERM because we didn't have enough bits in the log
mask
2013-02-24 14:41:48 +09:00