Giter Club home page Giter Club logo

Comments (10)

bigsuperZZZX avatar bigsuperZZZX commented on September 17, 2024 2

The planner is designed for 3D flight, and maybe converting to 2D will be a big project.
A relatively easier solution is to modify the inflation function in the mapping code.
You can choose a certain layer at a specific height and inflate that layer up and down with enough margin so that the trajectory will not go above the wall. It will make the new 3D map looks like this:
image
Then implement the planner as normal and ignore the z-component of the trajectory.

from ego-planner.

bigsuperZZZX avatar bigsuperZZZX commented on September 17, 2024

You can just inflate the gird map a great amount in z direction.

from ego-planner.

zrd1234 avatar zrd1234 commented on September 17, 2024

You can just inflate the gird map a great amount in z direction.

Hello, is the z-axis in the configuration file? I have modified the A* algorithm to two-dimensional search, but sometimes there is A star error problem, may I ask what is the reason for this problem?
Kazam_screenshot_00000

from ego-planner.

zrd1234 avatar zrd1234 commented on September 17, 2024

Hello, I fixed the search range of A* in the plane, so it is a 2D path planning, but a star error often occurs. If the a* algorithm fails, the path becomes 3 dimensional. Would like to ask the most likely cause of failure.

from ego-planner.

bigsuperZZZX avatar bigsuperZZZX commented on September 17, 2024

I hope that this late response helps. Your error indicates that the openSet_ is empty before finding an A* solution.

from ego-planner.

zrd1234 avatar zrd1234 commented on September 17, 2024

I hope that this late response helps. Your error indicates that the openSet_ is empty before finding an A* solution.
Thank you very much for your reply. Do you mean that this error occurred because openset_ was empty and the node could not be found?

from ego-planner.

bigsuperZZZX avatar bigsuperZZZX commented on September 17, 2024

That's true

from ego-planner.

zrd1234 avatar zrd1234 commented on September 17, 2024

这是真的

May I ask if there is any good way to solve this problem?
I want to do two-dimensional planning, but sometimes I just go three-dimensional.

from ego-planner.

zrd1234 avatar zrd1234 commented on September 17, 2024

The planner is designed for 3D flight, and maybe converting to 2D will be a big project. A relatively easier solution is to modify the inflation function in the mapping code. You can choose a certain layer at a specific height and inflate that layer up and down with enough margin so that the trajectory will not go above the wall. It will make the new 3D map looks like this: image Then implement the planner as normal and ignore the z-component of the trajectory.

May I ask how to operate or modify it? I don't understand this part of the code.
Because of my limited ability, I did not see how to operate.

from ego-planner.

bigsuperZZZX avatar bigsuperZZZX commented on September 17, 2024

modifying and debugging this is still a little bit complicated. So perhaps it is unavoidable for you to read and understand the code by yourself.

from ego-planner.

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.