Courseplay: Mode6 drives outside working field to before exiting to unload

Created on 16 Feb 2019  Â·  7Comments  Â·  Source: Courseplay/courseplay

v00076
Tractor with forage wagon on Mode6 course combined with unloading course (2 courses total).
The AI driver prefers to go directly to field exit (work course end), rather than follow the return to start point course, already laid out.
Gist log
fs19_is001
fs19_is002

Most helpful comment

Yes, that comes next, cleaning up the pathfinding and teaching it to the AIDriver because I'm sure you'd also want to avoid the fruit while driving to the unload/refill course. We have all the pieces just need to put them together.

All 7 comments

Try setting your unload course up past the indentation on the right. This is Marwell Manor and that course will not work there (probably not on any map).
Set your unload course to start and end beyond that indentation in the field and it works fine. I am running roughly the same course with a combine and truck with no issues.
52901816-cf485380-3210-11e9-8501-ab51c03050e1

Yes, that comes next, cleaning up the pathfinding and teaching it to the AIDriver because I'm sure you'd also want to avoid the fruit while driving to the unload/refill course. We have all the pieces just need to put them together.

@The-Terraformer Thanks for the tip!
This is a "suggestion" issue. I was suggesting that since there is an already established return route (by ticking return to first point), the vehicle could follow that exit course.

@pvaiko Thanks, great job till now!

Just a comment regarding island mode in courseplay and this map, on field
17 of this map it doesn't detect two power poles in field and generate
course around them where's field 15 beside it, the islands feature works.
What criteria must an 'Island' in a field possess to work?

On Sat 16 Feb 2019 at 17:31, GeorgeEarslight notifications@github.com
wrote:

@The-Terraformer https://github.com/The-Terraformer Thanks for the tip!
This is a "suggestion" issue. I was suggesting that since there is an
already established return route (by ticking return to first point), the
vehicle could follow that exit course.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Courseplay/courseplay/issues/3249#issuecomment-464365450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEZfkYQz2eFCDollelpyVC80J8LZLlozks5vOECJgaJpZM4a_Cei
.

>

Sent from Gmail Mobile

Courseplay is detecting the islands by laying a 1 meter grid over the field and checking each grid point if it is on a workable area (by using the getDensityAtWorldPos() engine function which seems to be getting the data from the image in cultivator_density.gdm).

Therefore, if you have islands so tiny that they pass through this 1 meter mesh than they'll remain invisible for CP.

@pvaiko Will test soon

@pvaiko Tested on Marwell F19.
Several exits and returns, the pathfinder navigated great.
Thanks and closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MicaelJarniac picture MicaelJarniac  Â·  4Comments

BostonJohnny1226 picture BostonJohnny1226  Â·  4Comments

valdimellen picture valdimellen  Â·  4Comments

bojanh66 picture bojanh66  Â·  4Comments

mawie picture mawie  Â·  5Comments