Repository navigation
Adjust vehicle maneuvering parameters for unloading #1355
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,18 +78,18 @@ This is currently screwed up... | |
| AIDriveStrategyUnloadCombine = CpObject(AIDriveStrategyCourse) | ||
|
|
||
| -- when moving out of way of another vehicle, move at least so many meters | ||
| AIDriveStrategyUnloadCombine.minDistanceWhenMovingOutOfWay = 5 | ||
| AIDriveStrategyUnloadCombine.minDistanceWhenMovingOutOfWay = 10 | ||
| -- when moving out of way of another vehicle, move at most so many meters | ||
| AIDriveStrategyUnloadCombine.maxDistanceWhenMovingOutOfWay = 25 | ||
| AIDriveStrategyUnloadCombine.safeManeuveringDistance = 30 -- distance to keep from a combine not ready to unload | ||
| AIDriveStrategyUnloadCombine.safeManeuveringDistance = 35 -- distance to keep from a combine not ready to unload | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fine I guess. |
||
| AIDriveStrategyUnloadCombine.pathfindingRange = 5 -- won't do pathfinding if target is closer than this | ||
| -- The normal limit to apply a penalty for the pathfinder. This is relatively low to keep the unloader further | ||
| -- away from the fruit. | ||
| AIDriveStrategyUnloadCombine.maxFruitPercent = 10 | ||
| AIDriveStrategyUnloadCombine.proximitySensorRange = 15 | ||
| AIDriveStrategyUnloadCombine.maxDirectionDifferenceDeg = 35 -- under this angle the unloader considers itself aligned with the combine | ||
| AIDriveStrategyUnloadCombine.maxDirectionDifferenceDeg = 15 -- under this angle the unloader considers itself aligned with the combine | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This could be a not so good Idea.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Been using that values for some time, unloaders so not crash into harvesters anymore. Overall an improvement for me at least, If you are too close to headlands/field borders or hedgerows one may need to alter course Gen. Lots of issues with non-grain harvesting vanished
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, will give this a try then. |
||
| -- Add a short straight section to align with the combine's course in case it is late for the rendezvous | ||
| AIDriveStrategyUnloadCombine.driveToCombineCourseExtensionLength = 10 | ||
| AIDriveStrategyUnloadCombine.driveToCombineCourseExtensionLength = 20 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It needs a lot of space and could be an Issue at the start of a row and in some other situations.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, may be a bit too much. One vehicle lenght should be even more than 20m usually |
||
| AIDriveStrategyUnloadCombine.targetDistanceBehindChopper = 1 | ||
|
|
||
| -- Developer hack: to check the class of an object one should use the is_a() defined in CpObject.lua. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be a very big distance, I would love the see an example.