Giter VIP home page Giter VIP logo

Comments (16)

pvaiko avatar pvaiko commented on May 29, 2024 2

I just bumped into this project. We have been generating paths for quite a while in a mod for the Farming Simulator game. We are currently refactoring the code as the quality if the old code is not the best. The refactored code is in https://github.com/Courseplay/CourseGenerator if you want to take a look.

We support complex polygons, islands in them and connect the blocks (or, as you call them cells) on the headland using a genetic algorithm to find the shortest path:
image

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024 1

Of course. I understand your concerns. Unfortunately, I'm not the one that decide when the next version is released, but I'll talk with them to see if we can do anything.
I'll tell you something at the end of the next week :)

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024 1

Hi again @vinnnyr,
Good news, they allow me to release the cellular decomposition methods (Trapezoidal and Boustrophedon decomposition) in its own branch. The cellular decomposition is a first step into solving the coverage path planning problem for non-convex field, but there are many things to do.

If you want to continue from this point, feel free to propose new methods, a new interface for a new base class to, change whatever you need or discuss whatever you want. Of course would be nice to have you on board and collaborate together :)

from fields2cover.

vinnnyr avatar vinnnyr commented on May 29, 2024 1

Sorry @ingmeca2018 I wish I had better news, but I have found still short on time. I will update here as I start looking into it.

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

I was planning to submit it in the next release (next year on may aprox). I cannot upload nothing earlier. Feel free to work on this if you want. I would split it in:

  • Going from end of swath A to start of swath B through the headlands (or any two points on the headlands)
  • A decomposition algorithm, for example Boustrophedon Cellular decomposition
  • A route planner that finds the order to cover the decomposed cells.

Once you have the base class of any of those categories, submit a PR so we could discuss any change before start implementing it. Thank you for your time

from fields2cover.

jfulem avatar jfulem commented on May 29, 2024

OK. I cannot access the article. I think we need that sooner than May 2023 so we will have to work on that. Than you.

from fields2cover.

jfulem avatar jfulem commented on May 29, 2024

OK. I can take this one: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.69.2482&rep=rep1&type=pdf

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

OK. I cannot access the article. I think we need that sooner than May 2023 so we will have to work on that. Thank you.

Completely agree. It would be a great improvement.

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

I'll close it as it has been without activity for 2 months now. We can open it later if needed

from fields2cover.

vinnnyr avatar vinnnyr commented on May 29, 2024

hey @jfulem @Gonzalo-Mier , have either of you made headway on the cellular decomposition work / able to make it public? This is also on my list of things to do, but I would love to know where you all stand. I also don't want to duplicate any work :)

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

I was able to create the decomposition and improve the route planner, but not sure when I could release it. Next release I think will be around October - December, but not sure when.

What are you planning to do? And are you also planning to share it with the community? :)

from fields2cover.

vinnnyr avatar vinnnyr commented on May 29, 2024

If I collaborate with someone here, then yes, the work will probably be shared as I would love to have it in the upstream.
However, my goals are to handle this situation a bit sooner than October / December.

Is there any way we can collaborate on the work you already have to expedite the release, or is it something out of your control?

Even rough / alpha work that perhaps I (and others) can help test / bug hunt for would go a long way :)

from fields2cover.

ingmeca2018 avatar ingmeca2018 commented on May 29, 2024

Hi @vinnnyr @Gonzalo-Mier, any news about the work of the route planner that finds the order to cover the decomposed cells ?

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

Hi @pvaiko,
I meet your project at the beginning of my PhD, and it's super awesome. Actually, CourseGenerator is the only reason I plan to give fields2cover Lua support :)
The first time I tried to read the code was quite confusing, but the refactoring you are doing is great and I will definitely take a deeper look to it.
Btw, could Fields2Cover add the fields in CourseGenerator to their dataset to provide more complex examples of "real" fields (with proper credit, obviously)?

from fields2cover.

pvaiko avatar pvaiko commented on May 29, 2024

As to the Lua support, I'm not a big fan of Lua, the only reason it is in Lua is that's what the game engine supports. I'd absolutely prefer some proper object oriented language, anything but Lua...

In any case, use the fields and whatever we you like from our repo. Let me know if you think I can help with anything.

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on May 29, 2024

This issue should be solved on v2

from fields2cover.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.