Ju1ien
5d0476e522
AC_WPNav: add reset_I to init_loiter_target
11 years ago
Randy Mackay
559a258ede
AC_WPNav: bug fix to limit target point from moving beyond leash
...
Also pull Z-axis acceleration from position controller instead of using
#define
11 years ago
Randy Mackay
648787a6c8
AC_WPNav: rename some definitions
11 years ago
Randy Mackay
2167dd7d3e
AC_WPNav: update target speed immediately
11 years ago
Randy Mackay
d382fa51ee
AC_WPNav: run loiter and wp nav at 50hz on Pixhawk
11 years ago
Randy Mackay
72d2712c4e
AC_WPNav: integrate update_xy_controller name change
11 years ago
Randy Mackay
966340a02a
Circle: integrate update_xy_controller name change
11 years ago
Randy Mackay
94d38ee294
AC_Circle: add get_closest_point_on_circle
...
init_start_angle method added to use current heading or position to
decide on initial start angle
11 years ago
Randy Mackay
60f522a094
AC_WPNav: set_wp_destination to use current target
...
Previously we used the projected stopping point if the vehicle had not
reached the destination but this could lead to large jumps in target
position
11 years ago
Randy Mackay
15da01cf3a
AC_WPNav: replace safe_sqrt with pythagorous2
11 years ago
Randy Mackay
b15d4379d8
AC_WPNav: use atan2f, make methods const
11 years ago
Randy Mackay
d27ca53a9d
AC_WPNav: spline sets origin vel to zero when no prev segment
...
Issue caught by Michael Oborne
11 years ago
Randy Mackay
7dfde39e19
AC_WPNav: advance_spline to use dt
11 years ago
Randy Mackay
c0458b786a
AC_WPNav: check acceleration is non zero
11 years ago
Randy Mackay
f0f3688172
AC_WPNav: rounder corners for short spline segments
11 years ago
Randy Mackay
197683d539
WPNav: clean up spline comments
11 years ago
Randy Mackay
24eb195aa3
WPNav: add yaw control for straight line wp nav
11 years ago
Randy Mackay
b42b12f7be
AC_WPNav: add get_spline_yaw
11 years ago
Randy Mackay
e5e71ce371
WPNav: add spline support
11 years ago
Andrew Tridgell
04587efb2d
AC_WPNav: fixed example build
11 years ago
Randy Mackay
98bdbb7fed
AC_WPNav: set loiter accel to 1/2 of speed
...
Bug fix from Leonard.
Also fixed some formatting.
11 years ago
Randy Mackay
6af705d455
AC_Circle: bug fix for pos target when radius is zero
11 years ago
Randy Mackay
bf3effcd10
AC_WPNav: fix example sketch
11 years ago
Randy Mackay
fbf8106280
AC_Circle: remove AC_PID include
...
This is no longer required with introduction of PosControl lib
11 years ago
Randy Mackay
e86a21a254
AC_WPNav: remove AC_PID include
...
This is no longer required with introduction of PosControl lib
11 years ago
Randy Mackay
9e31f0b985
AC_WPNav: use PosControl accessor
...
Saves 2bytes of RAM
11 years ago
Randy Mackay
598a1b1f43
AC_Circle: use trig values from ahrs
11 years ago
Randy Mackay
64cfcb2308
AC_WPNav: use trig values from ahrs
11 years ago
Randy Mackay
17177adccf
AC_Circle: remove debug comment
11 years ago
Randy Mackay
864f64b61a
AC_Circle: circle control library
11 years ago
Randy Mackay
d4e4620159
AC_WPNav: remove unused PID references
11 years ago
Randy Mackay
fc427967ae
AC_WPNav: set wp origin to horiz and vert stopping point
...
Also bug fix to set pos_control's down speed as a negative number
11 years ago
Randy Mackay
4cd45e2edf
AC_WPNav: remove debug
11 years ago
Randy Mackay
1596d83d02
AC_WPNav: move leashes to AC_PosControl
11 years ago
Randy Mackay
0d4ba04e75
AC_WPNav: make advance_wp_target private
11 years ago
Randy Mackay
0c8cbba644
AC_WPNav: remove xy pos controller
11 years ago
Randy Mackay
2984e492df
AC_WPNav: add reference to AC_PosControl
...
Also remove requirement to pass in inertial nav position and velocity to
init_loiter method
11 years ago
Randy Mackay
c9415a08f1
AC_WPNav: use ahrs trig values
11 years ago
Randy Mackay
0a3559813a
AC_WPNav: accessor for loiter speed
11 years ago
Andrew Tridgell
29b37b72e4
AC_WPNAV: fixed example build
11 years ago
Randy Mackay
5767aa47d9
AC_WPNav: reduce leash length for stopping
...
We now limit the target stopping point to 1x the xy leash length while
previously it was 2x. This is justified because this limit is only used
when the copter is travelling at higher speeds but at higher speeds air
drag tends to make the copter stop more quickly naturally.
11 years ago
Randy Mackay
952afd296e
Copter: initialise waypoint leash length
...
Without this initialisation the first RTL could be too aggressive as it
tries to stop too suddenly
11 years ago
Andrew Tridgell
30fffa5854
AC_WPNav: fixed some build warnings
11 years ago
Tobias
c3309d909c
AC_WPNav: make more member pointers const
11 years ago
Tobias
bb5cf4a311
AC_WPNav: make member pointer to AP_InertialNav object const since it's
...
never modified
11 years ago
Tobias
1ecb583dd9
AC_WPNav: replace unnecessary objects with const refs
11 years ago
Andrew Tridgell
e1aa6e3ff1
libraries: fixed examples for no flash_leds() callback
12 years ago
Randy Mackay
45aeb1a921
Copter: split up loiter into 4 steps
...
Reduces disruption to the main loop but also introduces a delay of 30ms
to navigation output
12 years ago
Randy Mackay
6969ab573d
Copter: configurable max lean angle
...
ANGLE_MAX parameter allows limiting the roll and pitch angles during
manual and auto flight modes to anywhere from 10 to 80 degrees
12 years ago
Andrew Tridgell
82152c058e
AC_WPNav: disabled broken example build
...
this test doesn't actually do anything yet
12 years ago