Complete local XY goals without artificial terminal rotations

This commit is contained in:
DCCONSTRUCTIONS
2026-10-09 19:08:57 +03:00
parent 70e47fc83b
commit 4e84aad33f
2 changed files with 51 additions and 1 deletions
+6 -1
View File
@@ -94,7 +94,12 @@ def configuration(inputs, robot):
required_movement_radius=0.05, movement_time_allowance=8.0),
goal_checker=dict(plugin='nav2_controller::SimpleGoalChecker', stateful=True,
xy_goal_tolerance=float(inputs['mission']['arrival_radius_m']),
yaw_goal_tolerance=0.15),
# Mission/local goals specify XY, not a terminal heading.
# Keep travel alignment in the explicit Spin behavior;
# do not rotate at an already reached intermediate point.
# Pinned Humble 1.1.17 compares with strict '<',
# so include exactly opposite orientations too.
yaw_goal_tolerance=math.nextafter(math.pi, math.inf)),
FollowPath={
'plugin': 'dwb_core::DWBLocalPlanner',
# Upstream default: score acceleration-integrated trajectories