Commit Graph

2039 Commits

Author SHA1 Message Date
Randy Mackay
700fb1b179 Copter: replace sin_yaw_y, cos_yaw_x in circle mode 2013-04-14 10:39:30 +09:00
Randy Mackay
366616e32c Copter: reduce default loiter PIDs 2013-04-14 10:39:28 +09:00
Randy Mackay
1ee825ee9a Copter: move alt and wp checking to AC_WPNAV
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
2013-04-14 10:39:23 +09:00
Randy Mackay
2db8365c90 Copter: add AC_WPNav to parameters list 2013-04-14 10:39:02 +09:00
Randy Mackay
bc87118062 AC_WPNav: add get_target_alt method 2013-04-14 10:39:00 +09:00
Randy Mackay
6dbcbdcb43 AC_WPNav: limit max loiter position error
move interpretation of pilot input to wpnav lib
2013-04-14 10:38:58 +09:00
Randy Mackay
7c559333f5 Copter: get_throttle_rate's target_speed a float 2013-04-14 10:38:51 +09:00
Randy Mackay
926c404994 AC_WPNav: Leonard's loiter target smoothing 2013-04-14 10:38:39 +09:00
Randy Mackay
ee7f40cfe9 Copter: Leonard's alt-hold feed forward 2013-04-14 10:38:37 +09:00
Randy Mackay
f82ce449d7 AC_WPNav: add angle limits and set from AC's throttle controller 2013-04-14 10:38:34 +09:00
Randy Mackay
553f40a99c Copter: bug fix to loiter delay
change delay to seconds to allow delays longer than 65seconds
2013-04-14 10:38:30 +09:00
Randy Mackay
a65960a009 Copter: use velocity based set_loiter_target 2013-04-14 10:38:28 +09:00
Randy Mackay
e592baae11 Copter: remove remnants of fast_corner 2013-04-14 10:38:20 +09:00
Randy Mackay
4de5f67a91 Copter: replace wp_nav.get_target_alt with get_destination_alt 2013-04-14 10:38:17 +09:00
Randy Mackay
5b93990e41 Copter: removed next_WP
Use the wp_nav.get_target_alt or controller_desired_alt in it's place
2013-04-14 10:38:07 +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
58ed8cd544 Copter: replace set_next_WP with direct call to wp_nav 2013-04-14 10:37:55 +09:00
Randy Mackay
49828eba7d Copter: integrate AC_WPNav 2013-04-14 10:37:48 +09:00
Randy Mackay
cdb532a594 Copter: bug fix for loiter target 2013-04-11 18:24:20 +09:00
Randy Mackay
e637a8fb29 Copter: remove old commented out code from setup.pde 2013-04-11 10:12:21 +09:00
tobias
217b8d7a59 cleanup: use const for struct Location pointers and references
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00
Randy Mackay
9036b97a16 Copter: fix build error
Removed last print_test_disabled call
2013-04-05 23:03:17 +09:00
Randy Mackay
fc0c451b69 Copter: remove #ifdef checks for Atmega1280 2013-04-05 22:48:10 +09:00
Randy Mackay
1dcd46bffc Copter: reduce compiler warnings 2013-04-05 22:25:58 +09:00
Randy Mackay
95d944f610 Copter: Jason's bug fix for loiter's set_next_WP_latlon 2013-04-05 13:46:07 +09:00
Randy Mackay
777c6a308e AP_InertialNav: use shared GRAVITY_MSS constant 2013-04-05 11:48:41 +09:00
Randy Mackay
d1afd2fb9b Copter: make guided mode start at current location 2013-04-03 23:06:46 +09:00
Randy Mackay
0be23c8090 Copter: fix THR_ALT_P documentation 2013-04-03 22:38:34 +09:00
Randy Mackay
3bf847f675 Copter: Jason's faster cos_yaw, sin_yaw 2013-04-02 15:50:29 +09:00
Randy Mackay
40f6416b3d Copter: update Log_Read_Compass comment 2013-04-02 11:02:14 +09:00
Randy Mackay
7cf2255822 Copter LEDs: replace bitRead with bitmask
Consolidate all checks of led_mode to leds.pde
Add #defines for bitmasks comparisons
Some formatting changes
2013-04-01 13:10:12 +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
7ccb14344c Copter: update version to 2.9.1b-dev 2013-04-01 11:47:56 +09:00
Randy Mackay
7d4eea271f Copter: update Release notes again for 2.9.1b release
Missed item re increasing max inav accel correction to 3 m/s
2013-04-01 11:46:42 +09:00
Randy Mackay
49e3e040b6 Copter: update Release notes ahead of 2.9.1b release 2013-04-01 11:46:37 +09:00
Randy Mackay
24dd167607 Copter: ACRO bug fix from Jason 2013-04-01 11:44:28 +09:00
Michael Oborne
541fa13291 cleanup comments 2013-03-31 17:14:54 +08:00
Michael Oborne
e80f2c094e HIL fix location, alt, mag from hil state message 2013-03-31 16:42:16 +08:00
Michael Oborne
59f80410d5 Add ability to compile sensor hil with sitl 2013-03-31 16:35:23 +08:00
Andrew Tridgell
b280857025 Copter: use common angle wrap code 2013-03-29 13:14:31 +11:00
Randy Mackay
f7d977fe37 Copter: add support for GPS fix type 2D 2013-03-27 11:41:47 +09:00
Andrew Tridgell
b955aed976 Copter: fixed GPS test (detection of uBlox needs 10Hz poll) 2013-03-21 22:45:07 +11:00
Andrew Tridgell
d22a7c64c9 Copter: only enter CLI is link is idle when 3 enters are hit
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:56:02 +11:00
Andrew Tridgell
ce8313e8fb Copter: only allow CLI within 20s of startup and when motors not armed 2013-03-21 17:34:11 +11:00
Randy Mackay
80bd593814 Copter: disarm motors when entering CLI 2013-03-21 12:07:00 +09:00
Randy Mackay
dcf21eee8f Copter: only allow entering the CLI within 30 seconds of start-up 2013-03-21 11:54:04 +09:00
Andrew Tridgell
ae96c77add Copter: added shell command in CLI test menu 2013-03-20 12:35:50 +11:00
Randy Mackay
38e81adae0 InertialNav: remove unnecessary "virtual" from function definitions
This saves about 30bytes of RAM
2013-03-19 17:51:16 +09:00
Randy Mackay
a17421da27 Copter: scale HIL accels consistently with Plane code 2013-03-19 15:07:15 +09:00
Randy Mackay
b4b9d80c2f Copter: bug fix to accept HIL accel values correctly 2013-03-19 11:33:58 +09:00