Randy Mackay
48ec0caf75
AC_WPNav: run navigation at 10hz in SITL
11 years ago
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
11 years ago
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
11 years ago
Randy Mackay
71fae1e6f2
AC_AttControl: lean_angle_max accessor fn const
11 years ago
Randy Mackay
fd9f8f571f
AC_WPNav: replace inav, ahrs pointers with references
11 years ago
lthall
21c93e48ab
AC_PosControl: include vel error when get_stopping_point_z
...
Pair programmed with Randy
11 years ago
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
11 years ago
Andrew Tridgell
74227cd7f0
AP_HAL: prevent some FastDelegate warnings
11 years ago
Andrew Tridgell
a295760e56
AP_Rally: fixed indentation
...
previous indentation confused emacs24
11 years ago
Andrew Tridgell
4efcae46ab
SITL: cope with more rubbish startup values from JSBSim
11 years ago
Andrew Tridgell
320834a5e7
HAL_PX4: read from FRAM in 128 byte chunks (2nd try)
...
this time without the amazingly silly bug
11 years ago
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
11 years ago
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.
11 years ago
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
11 years ago
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
11 years ago
Randy Mackay
0103ae2eb0
AC_WPNav: add WPNAV_ACCEL_Z
...
Allows configurable z-axis acceleration during missions
11 years ago
Randy Mackay
9f63de9b59
AC_PosControl: set_speed_z accepts positive descent speeds
11 years ago
Randy Mackay
510c9920a6
AC_WPNav: rename get_horizontal_velocity to get_speed_xy
...
This new method name is consistent with the equivalent in the
AC_PosControl class
11 years ago
Andrew Tridgell
eb1fb63e57
APM_Control: added logging of parameter changes in AUTOTUNE
...
this will make it easier to analyse logs
11 years ago
Andrew Tridgell
871d0c0e44
APM_Control: moved the log structure to ArduPlane core
...
this allows it to work with old style .log files
11 years ago
Andrew Tridgell
4f250579db
DataFlash: added LOG_ATRP_MSG define
11 years ago
priseborough
114bd56e2a
AP_NavEKF: Fix display names in parameter list
11 years ago
Randy Mackay
5cc26569fc
AP_Motors: fix example sketch
11 years ago
priseborough
5fefce5899
AP_NavEKF: Synthetic sideslip fusion numerical error protections
11 years ago
Jonathan Challinger
0bb7b8e938
AP_GPS: Fix bug that causes permanent lag if we miss a message
11 years ago
Randy Mackay
2be99d7a92
TriCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
07766e55f9
SingleCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
3610cfe24c
TradHeli: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
8f74f5b3b0
CoaxCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
d63d82ec17
MotorMatrix: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Vizual54
11d02ea5d2
AP_Motors: output_test for individual motors
...
Modified and integrated by Randy Mackay
11 years ago
Randy Mackay
6517638670
GCS_MAVLink: generate after adding DO_MOTOR_TEST
11 years ago
Randy Mackay
28846c6c99
GCS_MAVLink: add DO_MOTOR_TEST message
11 years ago
Andrew Tridgell
818e500509
AP_Mission: improve the AP_Mission docs
...
DisplayName isn't a description
11 years ago
Andrew Chapman
782fbe1ec5
AP_Mission: added reset() function
11 years ago
Andrew Chapman
a80e72ff82
AP_Mission: added MIS_AUTORESTART parameter
...
- added MIS_AUTORESTART parameter, defaults to 0
- added start_or_resume() function to either start or resume a mission
based on that parameter value
11 years ago
Andrew Tridgell
cf9b67d8fc
GCS_MAVLink: prevent uninitialised bytes being written to a serial port
11 years ago
Randy Mackay
e855cfec02
AC_Fence: add 10sec manual recovery
...
This resolves issue #461 by giving the pilot a minimum of 10 seconds to
attempt to manually recover before the autopilot will attempt to retake
control to bring the copter home or land.
11 years ago
Randy Mackay
db51d37071
AC_WPNav: add clear_pilot_desired_acceleration
...
This allows quickly clearing out the pilot desired acceleration for
loiter contoller.
11 years ago
Randy Mackay
06bef6e3b8
Parachute: clear release time when enabled
...
This resolves an issue in which the parachute could be suddenly released
when the user enabled the parachute. The sequence that could have
caused this bad behaviour were (1) the parachute is triggered (2) the
user disables the parachute in the 0.5sec between the trigger and the
actual release, (3) the user re-enables the parachute and the old
release time from (1) is used.
11 years ago
Randy Mackay
ad99918fee
AC_WPNav: recalc leash lengths if set_horizontal_velocity is called
...
Resolves bug in which do-set-speed allowed reducing the speed during the
mission but not increasing it.
Slow down distance is also recalculated.
Unnecessary call to calc_wp_leash_length removed from
set_spline_origin_and_destination.
11 years ago
Randy Mackay
46fba47c8e
AC_WPNav: slow target point's speed near destination
11 years ago
priseborough
ecc8e45eda
AP_NavEKF: Fix bug in position reset logic
11 years ago
Andrew Tridgell
b0fd94f18e
AP_GPS: initialise a variable in uBlox driver
11 years ago
Randy Mackay
7c02a02bd8
AC_WPNav: reset_I flag moved to position controller
11 years ago
Randy Mackay
098f8169b0
AC_PosControl: add keep_xy_I_terms method
...
Stops horizontal PID's I terms from being reset when the controller is
next updated
11 years ago
Randy Mackay
4d5b73b968
AC_WPNav: add reset_I to set_loiter_target
11 years ago
Ju1ien
6c71569775
AC_PosControl: update_xy_controller allows not resetting I term
11 years ago
Ju1ien
5d0476e522
AC_WPNav: add reset_I to init_loiter_target
11 years ago
Randy Mackay
09a35cf90f
AC_PosControl: bugfix for freezing I-term build-up
11 years ago