Leonard Hall
6bfc28059c
AC_WPNav: Fix calculation of _scurve_jerk_time using radians.
2021-09-10 14:08:46 +09:00
Andrew Tridgell
ace1a72b93
AC_WPNav: cope with negative WPNAV_SPEED_DN
...
a user set WPNAV_SPEED_DN to a negative value, with odd results. Take
absolute value to cope. Even though the param docs clearly say range
should be positive, it is one where it is easy to think it should be
negative
2021-09-10 14:08:46 +09:00
Peter Barker
8639b5e4c3
AC_WPNav: monitor WPNAV_SPEED for changes
2021-09-10 14:08:46 +09:00
Josh Henderson
156da6431f
AC_WPNav: simplify get_wp_destination_loc
2021-09-10 14:08:46 +09:00
Randy Mackay
ac57e91e8f
AC_WPNav: protect against divide-by-zero
2021-09-10 14:08:46 +09:00
Randy Mackay
e0143d4008
AC_WPNav: move definitions to .cpp file
2021-09-10 14:08:46 +09:00
Randy Mackay
f22f8f6200
Copter: terrain spelling fix
2021-09-10 14:08:46 +09:00
Randy Mackay
93197133be
AC_WPNav: terrain spelling fix
2021-09-10 14:08:46 +09:00
Leonard Hall
ee26d72682
AC_WPNav: Separate landing and terrain following.
2021-09-10 14:08:46 +09:00
Leonard Hall
a1975d7535
AC_WPNav: Fix Jerk units
2021-08-28 17:10:29 +09:00
Leonard Hall
b25dab9c9b
AC_WPNav: support Control: Refactor to use Jerk
2021-08-14 11:05:38 +09:00
Leonard Hall
b8cc90688e
AC_WPNav: Fix Angle Vel units on function
2021-08-14 11:05:38 +09:00
Randy Mackay
0c9fbf9456
AC_WPNav_OA: minor formatting and comment fixes
2021-07-23 10:19:49 +09:00
Randy Mackay
b95c6b5e5d
AC_WPNav_OA: separate handlers for results from Dijkstra's and BendyRuler
...
also bendy ruler uses pos controller
2021-07-23 10:19:49 +09:00
Pierre Kancir
3cee86e63f
AC_WPNav: remove unused variable following https://github.com/ArduPilot/ardupilot/pull/18076
2021-07-23 10:19:49 +09:00
Leonard Hall
6f26ca6b65
WP_Nav: Return Crosstrack error
2021-07-23 10:19:49 +09:00
Randy Mackay
fce7db0d18
AC_WPNav: use get_terrain_margin instead of constant
2021-07-23 10:19:49 +09:00
Randy Mackay
33ec14ce70
AC_WPNav: add TER_MARGIN param
2021-07-23 10:19:49 +09:00
Leonard Hall
4bbc69ef6e
AC_WPNav: Auto Terain following update
2021-07-23 10:19:49 +09:00
Leonard Hall
82ba9e06a1
AC_WPNav: Remove unused function
2021-07-23 10:19:48 +09:00
Leonard Hall
d9c0670dcd
AC_WPNav: seperate kinimatic shaping from pid limit setting
2021-07-23 10:19:47 +09:00
Randy Mackay
d22f8fbc35
AC_WPNav: get_terrain_offset and get_vector_NEU made public
2021-07-23 10:19:47 +09:00
Leonard Hall
80b90a7ac3
AC_WPNav: move code to generate terrain following kinematic path
2021-07-23 10:19:47 +09:00
Leonard Hall
fcde1e7370
AC_WPNav: use shaping_tc_z_s for terrain following time constant.
2021-06-25 16:54:05 +09:00
Andrew Tridgell
1d00cab9e6
AC_WPNav: convert circle, loiter and WPNav to double position
2021-06-24 21:34:30 +10:00
Andrew Tridgell
bf91168cd6
AC_WPNav: cleanup position control APIs
...
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Leonard Hall
8610edb664
AC_WPNav: AC_Loiter: Remove extra accel limit
2021-06-21 14:14:23 +09:00
Randy Mackay
a79a3d2051
AC_WPNav: move get_yaw lower in AC_WPNav.h
...
this is a non-functional change
2021-06-18 08:20:02 +09:00
Randy Mackay
430ac65123
AC_Loiter: init brake_accel and fix brake timer type
2021-06-16 17:20:40 +09:00
Josh Henderson
757fc1d679
AC_WPNav: ensure that wp_radius greater than min
...
Co-authored-by: Murata,Katsutoshi <ma2maru@gmail.com>
2021-06-09 10:55:15 +09:00
Hwurzburg
158c7c499d
AC_WPNav: correct param ranges to accomodate TradHeli defaults
2021-05-28 09:44:11 +09:00
Leonard Hall
166f059fc2
AC_WPNav: Fix before squash
2021-05-24 20:13:37 +10:00
Leonard Hall
538d8f82fb
AC_WPNav: PosControl fixes
2021-05-24 20:13:37 +10:00
Leonard Hall
ccf06f66f7
AC_WPNav: integrate AC_PosControl::get_roll_cd rename
2021-05-12 17:16:00 +10:00
Leonard Hall
b17042078a
AC_Loiter: integrate AC_PosControl::get_roll_cd rename
2021-05-12 17:16:00 +10:00
Leonard Hall
d650df3e28
AC_Circle: integrate AC_PosControl::get_roll_cd rename
2021-05-12 17:16:00 +10:00
Leonard Hall
91e32a8339
AC_Loiter: minor format fix
2021-05-12 17:16:00 +10:00
Iampete1
e995e8873c
AC_Circle: add function to check for radius param change
2021-05-04 10:41:39 +10:00
chobits
00b44ff6c8
AC_WPNav: remove unused function
2021-05-03 20:10:39 -04:00
giacomo892
a5708acaef
AC_Circle: Restore radius every time
2021-04-28 11:36:58 +01:00
Randy Mackay
a3ceb6d95b
AC_WPNav: fix spline initialisation of terrain offset
2021-04-28 10:18:04 +09:00
Leonard Hall
361ba989bd
AC_WPNav: Use Pos_Control Heading
2021-04-27 17:13:55 +09:00
Leonard Hall
939d8e3ed4
AC_WPNav: Support Thrust Vector Control
2021-04-27 17:13:55 +09:00
Randy Mackay
b81930885c
AC_WPNav: remove unnecessary assignment and constify local vars
2021-04-21 10:41:28 +10:00
Randy Mackay
bebb7e7d8f
AC_WPNav: removed unused enums
2021-04-21 10:41:28 +10:00
chobits
fd88e53be6
AC_WPNav: remove unassigned _track_desired
2021-04-08 16:13:51 +09:00
Leonard Hall
64ae08a925
AC_Loiter: fix references to position error
2021-04-03 12:07:59 +09:00
Leonard Hall
d0ab74e496
AC_Circle: fix references to position error
2021-04-03 12:07:59 +09:00
Randy Mackay
2201450180
AC_WPNav: renames and comment fixes
2021-04-03 12:07:59 +09:00
Randy Mackay
85b24cf641
AC_WPNav: fix get_wp_destination_loc
...
was incorrectly adding alt-above-terrain as if it was alt-above-ekf-origin
also fixup comments
2021-04-03 12:07:59 +09:00