Commit Graph

11975 Commits

Author SHA1 Message Date
Randy Mackay 1e8b99ad17 Copter: update release notes for AC3.2-rc1 2014-05-09 13:48:35 +09:00
Randy Mackay 05f5164dfa Mission: rename AUTORESET to RESTART 2014-05-09 11:31:37 +09:00
Andrew Tridgell cc1b75ad29 autotest: restore timeout in log download
this removes the debug code now that the issue has been found (it was
an old version of pymavlink causing the problem)
2014-05-09 09:50:22 +10:00
Andrew Chapman 3f0a52cb53 Copter: ch7/8 switch for auto pause/continue
- added new mode for CH7/CH8 (#24, auto mission reset)
- changed mission.start() to mission.start_or_resume() in auto_init()
2014-05-08 23:09:42 +09:00
Andrew Chapman 8640e11728 Copter: bug fix rally point landing target
was drifting toward home by some distance as (0,0,0) was hard-coded in
control_rtl.pde. Fixed, tested in SITL
2014-05-08 23:09:40 +09:00
Hug0 6b0d5f9770 AP_InertialNav: fix pos error degradation rate
degrate position_error to 10% over 2 seconds (assumes 5hz update rate)
must be *0.7943 instead of 0.7934
2014-05-08 23:09:39 +09:00
Andrew Tridgell 73dc32108f autotest: try to debug log download timeouts 2014-05-08 17:38:49 +10:00
Randy Mackay badc127c34 AC_WPNav: fix example sketch 2014-05-08 16:25:13 +09:00
Randy Mackay 9b6a4e0fc7 AC_Sprayer: fix example sketch 2014-05-08 16:25:11 +09:00
lthall 9ab9eaec25 AC_WPNav: Loiter jerk default to 10m/s/s/s
Pair programmed with Randy
2014-05-08 16:16:05 +09:00
Randy Mackay 197d83e32a Copter: bug fix to sport roll pitch control 2014-05-08 16:16:02 +09:00
Randy Mackay 0af9d502d9 Copter: set pos controller speeds before circle init
This ensures stopping point is calculated correctly
2014-05-08 16:15:59 +09:00
Randy Mackay 1cb297580f Copter: reduce Circle init twitch by using stopping point 2014-05-08 16:15:57 +09:00
Randy Mackay 3cc5b9446f Copter: AUTO and Guided call wp_and_spline_init 2014-05-08 16:15:55 +09:00
Randy Mackay 11918869a5 Copter: RTL calls wp_and_spline_init 2014-05-08 16:15:52 +09:00
Randy Mackay 091ff91a70 WPNav: add wp_and_spline_init to set speeds an init pos controller 2014-05-08 16:15:50 +09:00
Randy Mackay c13db680b7 AC_PosControl: remove reset_I_xy
lean_angles_to_accel is now used to load the position rate I terms based
on vehicle's initial roll and pitch angle
2014-05-08 16:15:48 +09:00
Randy Mackay cd8b1f278c AC_PosControl: remove unused _cos_yaw variable
Also removed _sin_yaw, _cos_pitch, _step saving a total of 17bytes of
RAM
Also made get_speed_up, get_speed_down, lean_angles_to_accel functions
const
2014-05-08 16:15:46 +09:00
Randy Mackay 48ec0caf75 AC_WPNav: run navigation at 10hz in SITL 2014-05-08 16:15:44 +09:00
Randy Mackay 0819e05896 AC_PosControl: lean_angles_to_accel added for smooth initialisation
init_xy_controller also added to capture initialisation all in one place
2014-05-08 16:15:41 +09:00
lthall b38c484874 AC_WPNav: add LOIT_JERK parameter
Limit accel output from loiter controller.
Call new pos_control.init_xy_controller when loiter starts
Remove sudden stop when pilot requested acceleration is zero

Pair programmed with Randy
2014-05-08 16:15:38 +09:00
Randy Mackay 71fae1e6f2 AC_AttControl: lean_angle_max accessor fn const 2014-05-08 16:15:36 +09:00
Randy Mackay ff1a58e078 Copter: increase LOITER_RATE_IMAX to 1000
This allows us to load up the I term with the vehicle's current
acceleration during mode transitions

pair programmed with Randy
2014-05-08 16:15:34 +09:00
Randy Mackay fb2be07b44 Copter: update AC_WPNav instantiation 2014-05-08 16:15:29 +09:00
Randy Mackay fd9f8f571f AC_WPNav: replace inav, ahrs pointers with references 2014-05-08 16:15:26 +09:00
lthall 21c93e48ab AC_PosControl: include vel error when get_stopping_point_z
Pair programmed with Randy
2014-05-08 16:15:24 +09:00
Randy Mackay a1f1dd8059 AC_PosControl: add is_active_z method
Consolidated z-axis timeout checks to save 4bytes of RAM
Added POS_CONTROL_ACTIVE_TIMEOUT_MS to make timeout consistent
2014-05-08 16:15:22 +09:00
Andrew Tridgell 3909a9574b AVR: fixed some build warnings with gcc 4.8.2 2014-05-08 15:15:55 +10:00
Andrew Tridgell b6774b8bc7 autotest: raise the time for log download 2014-05-08 15:15:55 +10:00
Randy Mackay 10d7ab5840 Copter: update release notes for AC3.1.4 2014-05-08 11:58:37 +09:00
Andrew Tridgell 603e84a688 SITL: disable missing initializer warnings
not specifying all initializers is normal
2014-05-08 11:11:35 +10:00
Andrew Tridgell 74227cd7f0 AP_HAL: prevent some FastDelegate warnings 2014-05-08 11:11:03 +10:00
Andrew Tridgell 0991af86f3 Plane: removed some usused code
setting up flight modes by CLI is not used any more
2014-05-08 11:10:50 +10:00
Andrew Tridgell a295760e56 AP_Rally: fixed indentation
previous indentation confused emacs24
2014-05-08 11:01:52 +10:00
Andrew Tridgell 3dc0404e2b SITL: prevent unused parameter warnings 2014-05-08 11:01:32 +10:00
Andrew Tridgell cd8fd86565 Rover: use mission.start_or_resume()
this allows the user to setup whether a mission restarts or resumes
2014-05-08 08:36:40 +10:00
Craig Elder 32a1fac612 Frame_params: Removed TRIM_AUTO,1 2014-05-06 14:53:53 -07:00
Andrew Tridgell 4efcae46ab SITL: cope with more rubbish startup values from JSBSim 2014-05-04 17:30:10 +10:00
Andrew Tridgell c1aa2181dc Plane: update release notes for 3.0.2 2014-05-04 16:31:07 +10:00
Andrew Tridgell f233f95785 Plane: prepare for release of 3.0.2 2014-05-04 16:04:08 +10:00
Andrew Tridgell 320834a5e7 HAL_PX4: read from FRAM in 128 byte chunks (2nd try)
this time without the amazingly silly bug
2014-05-02 22:12:45 +10:00
Andrew Tridgell db6b96caa0 Revert "HAL_PX4: read from FRAM in 128 byte chunks"
This reverts commit a92366c455.

This commit may be associated with FRAM corruption on Pixhawk. Revert
until we understand why
2014-05-02 21:52:26 +10:00
Randy Mackay afb9c0a5c7 Copter: update release notes for AC3.1.4-rc1 2014-05-02 14:23:13 +09:00
Andrew Tridgell a92366c455 HAL_PX4: read from FRAM in 128 byte chunks
this fixes FRAM read on Roberts Pixhawk. We don't know why yet.
2014-05-02 12:24:54 +10:00
Randy Mackay 0ad3c1e15e Copter: add EKF to Ch7/Ch8 Opt parameter description 2014-05-02 10:02:23 +09:00
Andrew Tridgell f51478ee1d Plane: fixed LOITER_TURNS counter for counter-clockwise loiter
thanks to Iskess for finding this bug!
2014-05-01 20:45:34 +10:00
Randy Mackay c3d6ed1e3e Replay: add constraint on EKF4 data packet values 2014-05-01 16:54:31 +09:00
Randy Mackay d857427444 Copter: disable RALLY points by default
This saves 2k of flash which allows the code to fix on the APM1/2
2014-04-30 21:46:21 +09:00
Randy Mackay 937e9ea687 AC_PosControl: add set_target_to_stopping_point_xy method
Fixed bug in get_stopping_point_xy in which it would update Z-axis
target if vehicle was moving less than 10cm/s horizontally
2014-04-30 21:46:20 +09:00
Randy Mackay 7dd366d84e AC_WPNav: init_loiter sets speed, accel before calcing stopping distance
The stopping distance depends upon the speed and acceleration so these
must be updated first
2014-04-30 21:46:18 +09:00