Leonard Hall
520883b504
AC_WPNav: Fix Jerk units
4 years ago
Leonard Hall
a1b47f36ef
AC_WPNav: support Control: Refactor to use Jerk
4 years ago
Leonard Hall
32b2510893
AC_WPNav: Fix Angle Vel units on function
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
Peter Barker
2d28c1065e
AC_WPNav: use singleton to access AP_Terrain data
4 years ago
Leonard Hall
7bc6c19306
AC_WPNav: seperate kinimatic shaping from pid limit setting
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
Josh Henderson
757fc1d679
AC_WPNav: ensure that wp_radius greater than min
...
Co-authored-by: Murata,Katsutoshi <ma2maru@gmail.com>
4 years ago
Leonard Hall
166f059fc2
AC_WPNav: Fix before squash
4 years ago
Leonard Hall
538d8f82fb
AC_WPNav: PosControl fixes
4 years ago
chobits
00b44ff6c8
AC_WPNav: remove unused function
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
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
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
Leonard Hall
25f1a4a4e1
AC_WPNav: add shift_wp_origin_to_current_pos_xy
...
also add shift_wp_origin_and_destination_to_stopping_point_xy
5 years ago
bnsgeyer
593ff6818d
AC_WPNAV:make speed changes during missions obey WPNAV_ACCEL
...
Includes commits by rmackay9
AC_WPNav: fixup max speed acceleration
AC_WPNav: simplify the initialisation of poscontrol's max speed
Changed at Leonard's request to keep things simpler
5 years ago
Randy Mackay
3ca28e27c6
AC_WPNav: add get_terrain_source and rename existing method
...
this allows RTL to determine which source of terrain data will be used which is required when building the return path
5 years ago
Peter Barker
56de1f2eed
AC_WPNav: do not calculate NEU vector from invalid location
5 years ago
Randy Mackay
6361a9a204
AC_WPNav: constify get_wp_destination
6 years ago
Peter Barker
f21fcca9d0
AC_WPNav: take references to inav's position rather than a copy
6 years ago
Rishabh
ce48b82500
AC_WPNav: remove brake
6 years ago
murata
d3d6bed584
AP_WPNav: Change the value of the minimum effective radius
6 years ago
Peter Barker
d9ddb8f34d
AC_WPNav: use enum class for AltFrame enumeration
6 years ago
Randy Mackay
cde2964f05
AC_WPNav: split set_speed_z into up and down
...
Also rely on AC_PosControl to store current target up and down speeds so wpnav's defaults are not affected by do-change-speed requests
6 years ago
Randy Mackay
e93dee89b7
AC_WPNav: rely on AC_PosControl to hold current target speed
6 years ago
Randy Mackay
8ac09c0483
AC_WPNav: use dt from pos controller
6 years ago
Peter Barker
0215aff8f4
AC_WPNav: adjust for Location_Class and Location unification
6 years ago
chobits
7fa7c8f403
AC_WPNav: add set_speed_z
6 years ago
Peter Barker
3faf7824c0
AC_WPNav: allow position control to get ekf navigation scalars directly
6 years ago
Michael du Breuil
d3bee76f0b
AC_WPNav: Cope with AC_PosControl renaming
6 years ago
liang.tang
c03e50660c
AC_WPNav: check validity of kP
7 years ago
Pierre Kancir
bffe3f6c21
AC_WPNav: add getter for crosstrack_error
7 years ago
Peter Barker
4c8c85f75b
AC_WPNav: remove pointless initialisations
...
new clears this memory
7 years ago
Peter Barker
fa0b315374
AC_WPNav: use rangefinder for terrain offset even if terrain not available
7 years ago
Peter Barker
2c962afe98
AC_WPNav: add get_wp_destination to get a Location_Class for the wp
7 years ago
murata
494735db2e
AC_WPNav: Change the variable name according to the unit.
7 years ago
Randy Mackay
9426ee6df6
AC_WPNav: remove loiter
...
Loiter is in separate AC_Loiter class
7 years ago
Randy Mackay
0ba22a1feb
AC_WPNav: remove brake dependency on loiter
7 years ago
Randy Mackay
032b4373f6
AC_WPNav: removed brake's unused dt calc
7 years ago
Randy Mackay
d0e6c4d08d
AC_WPNav: correct LOIT_MAXA param description
7 years ago