Randy Mackay
83e85c7125
AC_WPNav_OA: minor formatting and comment fixes
4 years ago
Randy Mackay
cf797dfca9
AC_WPNav_OA: separate handlers for results from Dijkstra's and BendyRuler
...
also bendy ruler uses pos controller
4 years ago
Peter Barker
8396925ece
AC_WPNav: rename for AHRS restructuring
4 years ago
Pierre Kancir
a7f14efef2
AC_WPNav: remove unused variable following https://github.com/ArduPilot/ardupilot/pull/18076
4 years ago
Randy Mackay
c55c160f48
AC_WPNav: use get_terrain_margin instead of constant
4 years ago
Randy Mackay
fb5c458132
AC_WPNav: add TER_MARGIN param
4 years ago
Leonard Hall
5dcfee07d9
AC_WPNav: Auto Terain following update
4 years ago
Leonard Hall
ce254153c1
WP_Nav: Return Crosstrack error
4 years ago
Peter Barker
2d28c1065e
AC_WPNav: use singleton to access AP_Terrain data
4 years ago
Leonard Hall
59909970fa
AC_WPNav: Remove unused function
4 years ago
Leonard Hall
7bc6c19306
AC_WPNav: seperate kinimatic shaping from pid limit setting
4 years ago
Randy Mackay
430492469b
AC_WPNav: get_terrain_offset and get_vector_NEU made public
4 years ago
Leonard Hall
620d066a2e
AC_WPNav: move code to generate terrain following kinematic path
4 years ago
Leonard Hall
fcde1e7370
AC_WPNav: use shaping_tc_z_s for terrain following time constant.
4 years ago
Andrew Tridgell
1d00cab9e6
AC_WPNav: convert circle, loiter and WPNav to double position
4 years ago
Andrew Tridgell
bf91168cd6
AC_WPNav: cleanup position control APIs
...
use Vector2 for xy, float for z
4 years ago
Leonard Hall
8610edb664
AC_WPNav: AC_Loiter: Remove extra accel limit
4 years ago
Randy Mackay
a79a3d2051
AC_WPNav: move get_yaw lower in AC_WPNav.h
...
this is a non-functional change
4 years ago
Randy Mackay
430ac65123
AC_Loiter: init brake_accel and fix brake timer type
4 years ago
Josh Henderson
757fc1d679
AC_WPNav: ensure that wp_radius greater than min
...
Co-authored-by: Murata,Katsutoshi <ma2maru@gmail.com>
4 years ago
Hwurzburg
158c7c499d
AC_WPNav: correct param ranges to accomodate TradHeli defaults
4 years ago
Leonard Hall
166f059fc2
AC_WPNav: Fix before squash
4 years ago
Leonard Hall
538d8f82fb
AC_WPNav: PosControl fixes
4 years ago
Leonard Hall
ccf06f66f7
AC_WPNav: integrate AC_PosControl::get_roll_cd rename
4 years ago
Leonard Hall
b17042078a
AC_Loiter: integrate AC_PosControl::get_roll_cd rename
4 years ago
Leonard Hall
d650df3e28
AC_Circle: integrate AC_PosControl::get_roll_cd rename
4 years ago
Leonard Hall
91e32a8339
AC_Loiter: minor format fix
4 years ago
Iampete1
e995e8873c
AC_Circle: add function to check for radius param change
4 years ago
chobits
00b44ff6c8
AC_WPNav: remove unused function
4 years ago
giacomo892
a5708acaef
AC_Circle: Restore radius every time
4 years ago
Randy Mackay
a3ceb6d95b
AC_WPNav: fix spline initialisation of terrain offset
4 years ago
Leonard Hall
361ba989bd
AC_WPNav: Use Pos_Control Heading
4 years ago
Leonard Hall
939d8e3ed4
AC_WPNav: Support Thrust Vector Control
4 years ago
Randy Mackay
b81930885c
AC_WPNav: remove unnecessary assignment and constify local vars
4 years ago
Randy Mackay
bebb7e7d8f
AC_WPNav: removed unused enums
4 years ago
chobits
fd88e53be6
AC_WPNav: remove unassigned _track_desired
4 years ago
Leonard Hall
64ae08a925
AC_Loiter: fix references to position error
4 years ago
Leonard Hall
d0ab74e496
AC_Circle: fix references to position error
4 years ago
Randy Mackay
2201450180
AC_WPNav: renames and comment fixes
4 years ago
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
4 years ago
Leonard Hall
32c27b32aa
AC_WPNav: support for SCurve navigation
...
set_wp_destination clear yaw target
limit velocity and acceleration based on track slope
add is_active() and remove unused reached_spline_destination
init accepts desired speed
set_kinematic_limits uses current speed limits instead of defaults
add time compression to prevent target moving too fast for air
implement alternative spline
remove vel-target-length
set_wp_destination always calculates this leg
set_kinematic_limits moved to scurve
fix origin speed after spline segment
spline terrain following fix
handle s-curves with mismatching alt types
fix set_spline_destination_next
add update_track_with_speed_accel_limits
Change to next waypoint at corner apex
use scurve advance along track
remove unused definitions and out-of-date todo
set_spline_destination_next sets fast_waypoint
scurve origin speed set from spline target velocity
fixup takeoff delay
4 years ago
Josh Henderson
fb789a07ce
AC_WP_Nav_OA: origin_loc & dest_loc should use _terrain_alt_oabak
4 years ago
Josh Henderson
5551deab4b
AC_WPNav: make Location(Vector3f) require ALTFRAME
4 years ago
Rishabh
711b497cc3
AC_Loiter: Make avoidance optional while using loiter controller
4 years ago
Randy Mackay
0d730e11cc
AC_WPNav: OA stores and uses original terrain alt
4 years ago
Randy Mackay
da580bd1ea
AC_WPNav: OA gets minor format fix
4 years ago
Randy Mackay
79c9b4b523
AC_WPNav: increase default speed to 10m/s and accel to 2.5m/s/s
4 years ago
Randy Mackay
eafd702773
AC_WPNav: add comment clarifying get_wp_destination alt frame
4 years ago
Rishabh
401d365491
AC_WPNav: Adapt to 3-D Avoidance changes
4 years ago
Leonard Hall
e2308e9414
AC_Loiter: use AP_Math control tools common functions
4 years ago