Commit Graph

12287 Commits

Author SHA1 Message Date
Andrew Tridgell
5a7afbf2cd AP_GPS: prevent writing GPS log headings multiple times 2014-04-20 21:44:14 +10:00
Randy Mackay
b9845047f4 Copter: bug fix AP_Rally param directory 2014-04-19 22:37:01 +09:00
Randy Mackay
2a298d0ea4 Plane: remove RALLY_WP_SIZE definition 2014-04-19 15:00:32 +09:00
Randy Mackay
7af5d4a8ce Copter: remove RALLY_WP_SIZE definition 2014-04-19 15:00:30 +09:00
Randy Mackay
e3ffd5c0dd Common: remove RallyLocation defintion 2014-04-19 15:00:28 +09:00
Randy Mackay
7011ab40c2 Rally: define RALLY_WP_SIZE and RallyLocation 2014-04-19 15:00:25 +09:00
Andrew Chapman
fa3732ac6d Copter: integrate AP_Rally 2014-04-19 15:00:23 +09:00
Michael Day
568fc9e6c9 Plane: Now using AP_Rally library. 2014-04-19 09:16:05 +10:00
Michael Day
a2aab2ab5e AP_Rally: Minor fixes to AP_Rally after initial testing
- If a Rally point is being used, always respect the altitude set by the
user (don't take the max of that and the home point altitude).

- No need for constructor to pass in size of RallyLocation struct
2014-04-19 09:16:02 +10:00
Andrew Chapman
5825bac410 AP_Rally library 2014-04-19 09:15:59 +10:00
Michael Day
04292d7e5e autotest: Added McMillan airstrip at Camp Roberts to locations.txt 2014-04-18 07:43:03 +10:00
Randy Mackay
817c893f21 Copter: bug fix for conditional_distance command
Due to a race condition, the wp_distance was not being updated before
the conditional_distance
2014-04-17 22:23:28 +09:00
Kevin Hester
55d926b055 code style: add indentation rules for makefiles
(and remove some web file types that will probably never be in APM)
2014-04-17 21:29:25 +09:00
Randy Mackay
f29ad3a2e0 Copter: bug fix for when WP_YAW_BEHAVIOR is 0 2014-04-17 16:53:06 +09:00
Randy Mackay
5322093475 Mission: fix example sketch after GPS lib changes 2014-04-17 16:41:38 +09:00
Randy Mackay
c53a0fcfd9 Copter: conditional yaw fix
waypoint command was setting auto_yaw_mode when it was run after the
do-cmd
yaw_look_at_heading was being set to current heading which was
overwriting the caller's desired heading
2014-04-17 16:41:36 +09:00
Andrew Tridgell
b4c5f31b17 APM_Control: reduce the number of parameter saves in autotune
don't save a parameter unless it has changed by 0.1%
2014-04-17 17:20:40 +10:00
Paul Riseborough
ccc7d36493 APM_Control: Modify D and I gain scaling 2014-04-17 17:11:48 +10:00
Randy Mackay
7f00bd7f5d Copter: default WAYPOINT to current pos if lat, lon, alt are zero 2014-04-16 20:33:43 +09:00
Randy Mackay
d2dad1b2c1 Copter: remove unused circle_desired_rotations
desired num rotations is already held in command so we save 1byte of RAM
2014-04-16 16:28:11 +09:00
Randy Mackay
e6d2692eab Copter: Loiter_Turns moves to edge of circle if location provided 2014-04-16 16:28:08 +09:00
Randy Mackay
f6676be400 Copter: integrate change in AC_Circle init
Removed init_loiter_target when vehicle landed.  We should add some
initialisation of the circle controller when landed.
2014-04-16 16:28:06 +09:00
Randy Mackay
94d38ee294 AC_Circle: add get_closest_point_on_circle
init_start_angle method added to use current heading or position to
decide on initial start angle
2014-04-16 16:28:04 +09:00
jschall
ff9838ea27 Copter: Document stream rate parameter functionality 2014-04-15 16:05:45 +09:00
Kevin Hester
c2184cb8e4 PID: fixup line endings 2014-04-15 15:57:56 +09:00
Kevin Hester
72e97cbf5c AP_Param: fixup line endings 2014-04-15 15:57:47 +09:00
Kevin Hester
a7820e6c71 OptFlow: fixup line endings 2014-04-15 15:57:33 +09:00
Kevin Hester
fce1277b0e Notify: fixup line endings 2014-04-15 15:57:11 +09:00
Kevin Hester
b7bed437c2 Compass: fixup line endings 2014-04-15 15:56:57 +09:00
Kevin Hester
80cb13e222 BattMon: fixup line endings 2014-04-15 15:56:43 +09:00
Kevin Hester
d09e871319 AP_Airspeed: fixup line endings 2014-04-15 15:56:26 +09:00
Kevin Hester
c34c4d79f6 AP_ADC: fixup line endings 2014-04-15 15:56:13 +09:00
Kevin Hester
b7410494e3 AC_PID: fixup line endings 2014-04-15 15:55:59 +09:00
Kevin Hester
2e79032f83 AutoTest: fixup line endings 2014-04-15 15:55:45 +09:00
Kevin Hester
58edd1415a Tools Serial Proxy: fixup line endings 2014-04-15 15:55:30 +09:00
Kevin Hester
25f9a469e6 Tools: fixup line endings 2014-04-15 15:55:15 +09:00
Kevin Hester
4bfd6b8ddd Copter: fixup line endings to be newline 2014-04-15 15:54:13 +09:00
Randy Mackay
cf86e304f0 Copter: add V-Tail to FRAME param's @Value 2014-04-15 12:18:31 +09:00
Kevin Hester
c992c15276 codestyle: specify line-ending, trailing-whitespace and tab rules
# This file provide reference settings for the APM code conventions
# There are plug-ins available for nearly every text editor to automatically
# respect the conventions contained within this file.
#
# Please see editorconfig.org for complete information.
#
# If you find errors in this file, please send a pull-request with a fix.
#
2014-04-15 09:22:22 +09:00
L. Preston Sego III
3ecdc4b741 Copter: Add support for V-Tail Quads 2014-04-14 14:54:02 +09:00
Randy Mackay
729026d80c Drift: get velocity using const reference 2014-04-14 11:34:17 +09:00
Randy Mackay
02775e8dc5 AC_PosControl: get_accel_target returns const ref 2014-04-14 11:34:14 +09:00
Emile Castelnuovo
f5a68fdba1 Copter: clear RC in overrides on GCS failsafe. 2014-04-13 22:59:51 +09:00
Randy Mackay
60f522a094 AC_WPNav: set_wp_destination to use current target
Previously we used the projected stopping point if the vehicle had not
reached the destination but this could lead to large jumps in target
position
2014-04-13 22:42:50 +09:00
Andrew Tridgell
d30c4ffe80 Plane: added AUTOTUNE_LEVEL parameter 2014-04-13 22:12:27 +10:00
Andrew Tridgell
ae7293ef68 APM_Control: added support for AUTOTUNE_LEVEL
10 levels of tune, for what type of tune the user wants
2014-04-13 22:11:57 +10:00
Andrew Tridgell
86f167fc7f AP_Vehicle: added autotune_level to fixed wing parms 2014-04-13 22:11:28 +10:00
Andrew Tridgell
b7350118a6 AP_AHRS: enable EKF wind estimate with no airspeed sensor
EKF can now estimate with IMU and GPS only

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-13 19:42:49 +10:00
Andrew Tridgell
4abc2999a6 AP_NavEKF: start with a wind estimate of 3m/s, when no direct measurement
this will cope better with users with low roll/pitch gains, to ensure
they get enough control on takeoff

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-13 19:42:23 +10:00
priseborough
d745dc2b6f AP_NavEKF : Increased position gate default to reduce impact of accel errors
Flight testing with windup turns has shown that the position gate threshold
can be tripped with good GPS data causing position jerks. This increases the
initial GPS glitch rejection threshold to effectively 5m when using the
default POSNE_NOISE value of 0.5m.
2014-04-13 19:37:22 +10:00