Document the sliding-window detection and switch go_straight to Stanley
action_handlers_params now describes what sample_window means after the change: it bounds the sliding window and sets when the first evaluation happens, while timeout is the deadline the detection has to converge within. min_samples gates whether a window is judged at all rather than failing the attempt outright, and max_spread_* now reads "no window met this before the timeout". hold_time is declared with its default of 0, which keeps publishing on the first good window. Raising it to 0.5-1.0 s guards the case a single window cannot catch: perception locking steadily onto the wrong object, where the samples are tight but tight around the wrong place. go_straight moves from PNKXGoStraightLocalPlanner to StanleyGoStraightLocalPlanner, the alias the Stanley library exports for a straight two-point leg, so the profile no longer depends on the old planner.
This commit is contained in:
@@ -36,11 +36,11 @@ docking:
|
||||
|
||||
go_straight:
|
||||
global_planner: TwoPointsPlanner
|
||||
local_planner: PNKXGoStraightLocalPlanner
|
||||
local_planner: StanleyGoStraightLocalPlanner # instance Stanley riêng, block cùng tên (path 2 điểm thẳng)
|
||||
|
||||
rotate:
|
||||
global_planner: TwoPointsPlanner
|
||||
local_planner: PNKXRotateLocalPlanner
|
||||
local_planner: StanleyRotateLocalPlanner # instance Stanley riêng: XY đã trong tolerance -> Phase B xoay về yaw goal
|
||||
|
||||
# Đường lùi chung cho mọi profile: planner chính trả false hoặc plan rỗng thì move_base2 đổi sang
|
||||
# planner này đúng MỘT lần cho request hiện tại. Backup cũng fail thì mới chạy recovery; request mới
|
||||
|
||||
Reference in New Issue
Block a user