Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less turning follower when driving in front #6

Open
Dzi4d3k opened this issue Jul 24, 2015 · 2 comments
Open

Less turning follower when driving in front #6

Dzi4d3k opened this issue Jul 24, 2015 · 2 comments

Comments

@Dzi4d3k
Copy link
Contributor

Dzi4d3k commented Jul 24, 2015

Hello,

I observed that following vehicle is trying to drive on the same path on which followed vehicle was driving. This is OK, when following vehicle is on the back, but not very useful when it is in front.
In following scenario, when I'm cutting crops with combine, I set tractor to follow combine with trailer available under pipe. For biggest combines and biggest trailers, this have to be aprox. 10m in front and 10m right offset.
This is working until it comes to turns. When combine is turning then tractor tends to overdrive in front of combine on to crops.
Now question is it possible to make followers making less narrow turns when driving in front of followed vehicle, this could help to avoid situation when following vehicle is blocking followed vehicle (last words sound odd, isn't it).

Regards.

@DeckerMMIV
Copy link
Owner

That will be difficult for me to figure out.

The problem is, that once the 'follower' is ahead of the 'leader', then there are no "breadcrumbs" to follow, so the 'follower' has to use the first available "breadcrumb" (which is the 'leader's' current position), and apply the distance & offset values to, to use as a 'virtual breadcrumb' position to drive towards.

Maybe you could try a work-around when in-game: If there is enough headland before combine has to turn, try to send the 'follower' even further ahead (increase ahead distance) and then pause it (default keys: RIGHT SHIFT+H), so you can get the combine into position for the next lane. Now decrease the 'follower's' ahead distance back to what it was before, and resume the 'follower', hoping that it can make the 180-degree turn without colliding with anything.

@Dzi4d3k
Copy link
Contributor Author

Dzi4d3k commented Jul 24, 2015

I supposed that it will not be easy.
Proposed approach sound like good workaround.
But may it could work if we take int account following conditions:

  • if following vehicles is in front of followed
  • and if followed vehicle has made more that 90 degree turn within last 5 seconds (this may be difficult to code)
  • delay turning in following vehicle for 3 seconds and then align its path to followed vehicle

If this would be hard to achieve, then do not bother, just drop this enhancement.

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

No branches or pull requests

2 participants