Giter Site home page Giter Site logo

Tutorials about python bindings about ompl HOT 8 CLOSED

zichunxx avatar zichunxx commented on September 24, 2024
Tutorials about python bindings

from ompl.

Comments (8)

zichunxx avatar zichunxx commented on September 24, 2024

After browsing the official demos, do Python bindings not provide the function to add mesh obstacles? Only ompl.app can?

from ompl.

ChamzasKonstantinos avatar ChamzasKonstantinos commented on September 24, 2024

Hi @STAY-Melody the ompl library (both C++ and python bindings) don't have an option to add geometric obstacles. This is always done implicitly by specifying a collision checking routine provided by the user. Check this link which explains the justification behind this choice and how OMPLapp/MoveIT does it. (which are extentions of OMPL)

from ompl.

zichunxx avatar zichunxx commented on September 24, 2024

Hi @ChamzasKonstantinos

Thanks for your reply.

As you mentioned, the only way for Python bindings to finish the motion planning task with obstacles is to define the real environment through state validity checking.

However, is this method easy for primitive-shaped obstacles and difficult for complex shapes?

I want to finish the motion planning task only with Python and without ROS and MOVEIT. Is it possible?

from ompl.

ChamzasKonstantinos avatar ChamzasKonstantinos commented on September 24, 2024

It is much easier to write you own function for simple primitive shapes. For complex meshes you will usually need a collision checking library like FCL.
If your robot is a rigid body (e.g. a car or a drone but not a manipulator) you can try creating mesh files that are compatible with OMPl.app (one for your robot and one for the environment) and do your planning through OMPL.app. You can see an example in python here. For manipulators unless you write your own kinematics and collision checking routitnes, you will need to use MoveIt or something equivalent.

from ompl.

zichunxx avatar zichunxx commented on September 24, 2024

Thank you so much. I will follow your introduction and go deeper.

from ompl.

zichunxx avatar zichunxx commented on September 24, 2024

BTW, are there some demos about using FCL to construct the validity checking function or designing a planning task with multi-DOF mechanisms?

from ompl.

ChamzasKonstantinos avatar ChamzasKonstantinos commented on September 24, 2024

This is the way OMPl.app uses it: link
You can also check other software that use OMPL under the hood here maybe one of them would suit your purposes better.

from ompl.

zichunxx avatar zichunxx commented on September 24, 2024

Thanks

from ompl.

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.