Skip to content

fix: leaving course after pathfinder track#884

Merged
Tensuko merged 1 commit into
mainfrom
881-headland-turn-right-after-pathfinder-course
May 27, 2025
Merged

fix: leaving course after pathfinder track#884
Tensuko merged 1 commit into
mainfrom
881-headland-turn-right-after-pathfinder-course

Conversation

@pvaiko
Copy link
Copy Markdown
Contributor

@pvaiko pvaiko commented May 26, 2025

When CP uses the pathfinder for a connecting track and there is a headland turn with more than 90 degrees right after the connecting track, won't move the relevant waypoint past the corner as the corner waypoint heading points "backwards" (>90).

Make sure that when resuming from the StartRowOnly turn, if there is no waypoint in front of the vehicle, use the one after the turn end wp in the context.

This will still skip the turn maneuver but at least the driver will continue the course.

#881

When CP uses the pathfinder for a connecting track and
there is a headland turn with more than 90 degrees right
after the connecting track, won't move the relevant waypoint
past the corner as the corner waypoint heading points
"backwards" (>90).

Make sure that when resuming from the StartRowOnly turn,
if there is no waypoint in front of the vehicle, use the
one after the turn end wp in the context.

This will still skip the turn maneuver but at least the
driver will continue the course.

#881
@pvaiko pvaiko requested a review from Tensuko May 26, 2025 11:01
@pvaiko pvaiko self-assigned this May 26, 2025
@pvaiko pvaiko linked an issue May 26, 2025 that may be closed by this pull request
@Tensuko Tensuko merged commit d2345b4 into main May 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Driver leaves track when track to "red"-corner is too short

2 participants