Randy Mackay
c6dffb990f
AR_WPNav: add set_nudge_speed_max
...
allows pilot to override speed_max from RC input
3 years ago
Randy Mackay
394a5fd2fc
AR_WPNav: get/set_desired_speed renamed to get/set_speed_max
...
set_speed_max updates position controller limits and triggers recalculation of scurves
local _desired_speed member is no longer required because max speed is held in position controller
3 years ago
Randy Mackay
1996085282
AR_WPNav: init accepts speed max
...
also remove unused set_desired_speed_to_default
also init previous leg in set_desired_location
init accepts speed but inforces minimum
3 years ago
Randy Mackay
a91025fa16
AR_WPNav: remove unused speed_min
3 years ago
Randy Mackay
537874c075
AR_WPNav: jerk_max maintained in position controller
3 years ago
Randy Mackay
54eee7d311
AR_WPNav: simplify init
3 years ago
Randy Mackay
d03e801b65
AR_WPNav: remove get_accel_max, get_jerk_max
3 years ago
Randy Mackay
653afbeb15
AR_WPNav: enable_overspeed added to improve sailboat support
3 years ago
Randy Mackay
e0a628bb8c
AR_WPNav: add is_fast_waypoint accessor
3 years ago
Randy Mackay
f769a18996
AR_WPNav: add set_desired_location_expect_fast_update
3 years ago
Randy Mackay
461c5196e7
AR_WPNav: add ACCEL and JERK params and accessors
...
allows users to specify a different acceleration and jerk for Auto, Guided, RTL, etc compared with manual modes (Acro, etc)
3 years ago
Randy Mackay
b1237ffe80
AR_WPNav: always pivot at corners of at least WP_PIVOT_ANGLE
3 years ago
Randy Mackay
6515e71fc1
AR_WPNav: move OA path planning handling into a separate class
3 years ago
Randy Mackay
a185e78271
AR_WPNav: integrate AR_PivotTurn class
...
moves pivot turn feature to separate class
also does not advance along scurve path while pivotin
3 years ago
Randy Mackay
9d629f5ecd
AR_WPNav: use position controller and s-curves
3 years ago
Randy Mackay
3a492c8e3c
AR_WPNav: minor comment improvement
3 years ago
Tatsuya Yamaguchi
333588d7d4
AR_WPNav: add WP_PIVOT_DELAY parameter
4 years ago
Iampete1
c5503b9aed
AP_WPNav: read turn G acceleration from Atitude control
4 years ago
Randy Mackay
a2fe846a5f
AR_WPNav: apply_speed_min used for overshoot limits
...
speed_min is applied to overshoot_speed_max only instead of des_speed_lim
so that the target doesn't immediately jump to the minimum.
also constify apply_speed_min
4 years ago
Randy Mackay
e75c572209
AR_WPNav: remove redundant private specifier
4 years ago
Randy Mackay
551f7d66c1
AR_WPNav: update crosstrack error during pivot turns
5 years ago
Randy Mackay
da746d6e8c
AR_WPNav: pivot only when destination set
...
this avoids unhelpful pivots as the vehicle reaches the waypoint when WP_RADIUS is very small
5 years ago
Peter Hall
43449a4adb
AR_WPNav: remove unneeded overshoot methods
5 years ago
Peter Hall
b6efcbcf3b
AR_WPNav: make get_stopping_location public
5 years ago
Peter Hall
db87285153
AR_WPNav: add oa_wp_bearing_cd function
6 years ago
Randy Mackay
f5a307fb13
AR_WPNav: add speed_min parameter
...
Should be set to boat's plane speed and ensure vehicle does not slow below this speed in corners
6 years ago
Randy Mackay
70e9881880
AR_WPNav: integrate OAPathPlanner
6 years ago
Randy Mackay
ce44d127c0
AR_WPNav: add is_destination_valid accessor
6 years ago
Randy Mackay
b0f0b16135
AR_WPNav: remove unnecessary temp variable
...
also heading-unknown made a const
also minor comment fix
also removed unused include
6 years ago
Peter Barker
6f97f56726
AR_WPNav: add WARN_IF_UNUSED to various methods, fix for same
6 years ago
Randy Mackay
56c344ae94
AR_WPNav: rover navigation library
6 years ago