Caio Marcelo de Oliveira Filho
e867a06383
AC_WPNav: use millis/micros/panic functions
9 years ago
Jonathan Challinger
f9c7f15052
AC_WPNav: WPNAV_LOIT_SPEED WPNAV_LOIT_MAXA take effect immediately
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Randy Mackay
adee13d729
AC_WPNav: handle ekf position reset in Loiter and Brake
9 years ago
Randy Mackay
040ec481f4
AC_WPNav: loiter uses pos_control.shift_pos_xy_target
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
Jonathan Challinger
853f8bfaf4
AC_WPNav: stop gradually in loiter
9 years ago
Leonard Hall
5ab2a19173
AC_WPNav: loiter limits lean angle for alt loss
10 years ago
Randy Mackay
7706102d1e
AC_WPNav: add shift_loiter_target method
...
Shift the loiter target and freeze the feedforward if necessary
10 years ago
Andrew Tridgell
f6f2973acd
AC_WPNav: make changes in WPNAV_ACCEL take effect immediately
...
this makes it easier to tune the waypoint controller in auto mode
10 years ago
Randy Mackay
15fc689085
AC_WPNav: remove unused get_wp_radius
10 years ago
Gustavo Jose de Sousa
ee2c388bb0
AC_WPNav: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
a81d756ce1
AC_WPNav: remove unused definitions
10 years ago
Randy Mackay
fb9cc124c8
AC_WPNav: replace hardcoded 0.02 with pos_control dt
10 years ago
Leonard Hall
8195f45d6c
AC_WPNav: fix spline height loss
10 years ago
Tom Pittenger
93c6ed0ea2
AC_WPNav: compiler warnings: float to double
10 years ago
Randy Mackay
28c722c157
AC_Circle: rate change takes effect immediately
10 years ago
Randy Mackay
0264b1aa84
AC_Circle: set only xy position targets
10 years ago
Randy Mackay
aa7a151fe5
AC_WPNav: init flags
...
Resolves Coverity warning
10 years ago
Randy Mackay
bb382a65e8
AC_Circle: init members and flags
...
Removed unused dir flag
Resolves Coverity warning
10 years ago
Randy Mackay
0077cac1b7
AC_WPNav: rename stop to brake
10 years ago
Randy Mackay
61c851885f
AC_WPNav: remove unused set_spline_dest_and_vel
10 years ago
Randy Mackay
7056484ef0
Copter: fix spline overshoot
10 years ago
Andrew Tridgell
c08b62f9e4
AC_WPNAV: revert AP_Math class change
10 years ago
Tom Pittenger
7fd285f483
AC_WPNav: Compiler warnings: nuke fast_atan2()
...
per Randy's suggestion, fast_atan2() is no longer necessary over atan2() because only copter uses it and copter is no longer supported on future builds of APM
ccd578664f (commitcomment-11025083)
10 years ago
Tom Pittenger
1b84bbc3e7
AC_WPNav: Compiler warnings: add in the appropriate whitrespace
10 years ago
Tom Pittenger
913d00f525
AP_WPNav: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Andrew Tridgell
e789984c98
AC_WPNav: fix for HAL_SITL rename
10 years ago
Jonathan Challinger
2b29060a4e
AC_WPNav: remove unused set_loiter_velocity
10 years ago
Randy Mackay
33431acaa4
AC_WPNav: protect against div-by-zero related to gnd_speed_limit
10 years ago
Paul Riseborough
7481217445
AC_WPNav: Improve application of EKF optical flow speed limit
10 years ago
Randy Mackay
35874292a0
AC_WPNav: move stop below all loiter methods
...
No functional change
10 years ago
Robert Lefebvre
4a7fe83b0f
AC_WPNav: Create Stop Mode functions
10 years ago
Tom Pittenger
b9865c5f3e
AC_Circle: fix compile warnings re float constants
10 years ago
Randy Mackay
39213584da
AC_WPNav: minor comment and formatting changes
10 years ago
Jonathan Challinger
fd55068620
AC_WPNav: fix double-twitch on stop in loiter
10 years ago
Jonathan Challinger
1da410a6c6
AC_WPNav: allow user to tune loiter
10 years ago
Randy Mackay
c88ff00f5f
AC_WPNav: remove example sketch
...
this only tested compiling anyway
10 years ago
Randy Mackay
fc4442bf61
AC_WPNav: rename xy_mode
10 years ago
Jonathan Challinger
626521c366
AC_WPNav: update usage of update_xy_controller
10 years ago
Jonathan Challinger
baa3e802ee
AC_WPNav: clean up atan2
10 years ago
Randy Mackay
d0d1254f03
AC_WPNav: fix example sketch
10 years ago
Andrew Tridgell
25f69f05eb
AC_WPNav: updates for new AP_Baro API
10 years ago
Jonathan Challinger
6eab698e85
AC_WPNav: remove various timing hacks
10 years ago
Jonathan Challinger
5438d38df5
AC_WPNav: provide reset_I to init_xy_controller
10 years ago
Randy Mackay
4a1ba9b186
AC_WPNav: minor const fix
10 years ago
priseborough
11fb51ceba
AC_WPNav: Add nav velocity gain scaler to interfaces
...
Allows gains to be adjusted to compensate for optical flow noise
10 years ago
priseborough
5fa0c59310
AC_WPNav: Add EKF ground speed limit to loiter speed control
...
This is required to prevent the speed controller saturating the optical flow sensor during low altitude flying.
10 years ago
Jonathan Challinger
2cc65dffe0
AC_WPNav: add set_spline_dest_and_vel function
10 years ago