Lucas De Marchi
84d5fb006f
Remove use of Util::{v,}snprintf_P()
...
These are now the same function as Util::snprintf().
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
4d458833dc
AP_NavEKF2: remove unnecessary PV_AidingMode check
...
Thanks to OXINARF for catching this
9 years ago
Paul Riseborough
b459d937ad
AP_NavEKF2: Clean up GPS fusion timeout logic and comments
9 years ago
Paul Riseborough
61d556afb1
DataFlash: Fix shorthand variable names for EKF position reset delta
9 years ago
Randy Mackay
adee13d729
AC_WPNav: handle ekf position reset in Loiter and Brake
9 years ago
Randy Mackay
94adaba305
AP_NavEKF2: constify getLastPosNorthEastReset
...
Also constify getLastVelNorthEastReset
9 years ago
Randy Mackay
3f29365cae
AP_NavEKF: constify getLastPosNorthEastReset
9 years ago
Randy Mackay
4e959ef6f9
AP_AHRS: constify getLastPosNorthEastReset
...
Also constify getLastVelNortEastReset
9 years ago
Randy Mackay
52ed075405
AP_NavEKF2: constify getLastYawResetAngle
9 years ago
Randy Mackay
758c5a7d7f
AP_NavEKF: constify getLastYawResetAngle
9 years ago
Randy Mackay
7c20577ee0
AP_AHRS: constify getLastYawResetAngle
9 years ago
Randy Mackay
040ec481f4
AC_WPNav: loiter uses pos_control.shift_pos_xy_target
9 years ago
Randy Mackay
550ba478c9
AC_PosControl: add shift_pos_xy_target
9 years ago
Randy Mackay
16a0281c92
AC_PosControl: remove unused set_vel_target
9 years ago
Paul Riseborough
0b1a6a2157
AP_NavEKF2: Clean up GPS timeout logic
9 years ago
Paul Riseborough
f67f6b01f4
AP_AHRS: Publish the EKF position and velocity reset deltas
9 years ago
Paul Riseborough
74da4d8e57
AP_NavEKF2: Remove GPS glitch offset logic
...
Correction for steps in position and velocity caused by resets following GPS glitches and other events are now handled by the control loops.
9 years ago
Paul Riseborough
4fdec67546
AP_NavEKF2: Publish the position and velocity state reset deltas
...
Used by the control loops to compensate for step changes in position and velocity when the EKF needs to do a reset of these states.
9 years ago
Paul Riseborough
7c40448bab
AP_NavEKF: Remove GPS glitch offset logic
...
The correction for offsets due to position and velocity resets will now be handled in the control loops.
9 years ago
Paul Riseborough
5489ff9118
AP_NavEKF: publish position and velocity state reset data
...
Used by the control loops to compensate for steps in velocity and/or position resulting from state resets.
9 years ago
Tom Pittenger
0d36c4c07b
GCS_MAVLink: version update after generate
9 years ago
Tom Pittenger
bf9d4b5898
GCS_MAVLink: generate adds abort Alt label in MAV_CMD_NAV_LAND
...
code is already implemented and released
9 years ago
Randy Mackay
c52f16b86f
AC_WPNav: increase param description max for LOIT_JERK
9 years ago
Randy Mackay
49c4a133d7
AC_WPNav: set jerk separately for wpnav and loiter
9 years ago
Randy Mackay
ee0abb1750
AC_PosControl: add set_jerk_xy
9 years ago
Jonathan Challinger
853f8bfaf4
AC_WPNav: stop gradually in loiter
9 years ago
Randy Mackay
73f4533995
AC_PosControl: minor comment update
9 years ago
Randy Mackay
895a40893d
AC_PosControl: use_desvel_ff flag added
...
This allows turning on/off desired velocity feedforward without setting desired_vel.z to zero. Setting desired_vel.z to zero has the side effect of disrupting the landing detection which needs to know if we are trying to descend
9 years ago
Leonard Hall
aec66c5db6
AC_PosControl: faster z-axis slowdown when over speed
9 years ago
Leonard Hall
245f7ce268
AC_PosControl: allow desired vel z to be above speed limit
9 years ago
Leonard Hall
f55c31a157
AC_PosControl: add alt hold without feed forward
9 years ago
Andrew Tridgell
aee2543b75
AP_Parachute: fixed release bug
...
if release() is called within 1 millisecond of update() the release
wouldn't happen
9 years ago
Andrew Tridgell
0d9715cfe8
AP_Parachute: added a released() function
...
used to help with throttle suppression in plane
9 years ago
Randy Mackay
ca942f39dd
AP_Motors_Heli: remove unused allow_arming check
9 years ago
Andrew Tridgell
724f5511aa
SITL: support multiple jsbsim aircraft types
...
use -f jsbsim:ModelName
9 years ago
Randy Mackay
e9cec1203a
GCS_MAVLink: version update after generate
9 years ago
Randy Mackay
e51498aa45
GCS_MAVLink: generate after adding DO_SEND_BANNER
9 years ago
Jonathan Challinger
36bb5a25a2
GCS_MAVLink: add MAV_CMD_DO_SEND_BANNER
9 years ago
squilter
9de2ec04f6
AC_PrecLand: update comments to reflect change from bf_angle to angle
9 years ago
squilter
9e7099f5ee
AC_PrecLand: implement frame of reference
9 years ago
squilter
e409bd0a58
AC_PrecLand: rename bf_angle to angle
9 years ago
Andrew Tridgell
c228ea4371
AP_NavEKF2: prevent a valgrind error on startup
9 years ago
Jonathan Challinger
c762865d66
AP_Mount: use configured function to determine if MNT_TYPE has been configured
9 years ago
Jonathan Challinger
f0f5239d8f
AP_L1_Control: use set_default for runtime param defaults
9 years ago
Jonathan Challinger
21e7d46944
RC_Channel: use set_default for runtime param defaults
9 years ago
Jonathan Challinger
39246c13ad
AP_Param: add set_default, configured
9 years ago
Paul Riseborough
87ea9acc7f
AP_NavEKF2: Fix mavlink parameter label
9 years ago
Paul Riseborough
1cf626692c
AP_NavEKF: Reduce impact of altimeter flow disturbance error on Copter alt hold
...
This increase in assumed altimeter noise and reduction in accel noise has been flight tested by L.Hall with noticeable reduction in the immediate response to Baro errors during moving flight.
This increases the time constant of response to baro errors such that the pilot can more easily compensate.
9 years ago
Paul Riseborough
e692e30988
AP_NavEKF2: Reduce allowance for magnetometer timing errors
...
The previous gain from rate to magnetometer error was excessive. The revised value is equivalent to a magnetic field length of 0.5 with a timing uncertainty of 0.01 sec
9 years ago