Comments (8)
After browsing the official demos, do Python bindings not provide the function to add mesh obstacles? Only ompl.app
can?
from ompl.
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.
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.
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.
Thank you so much. I will follow your introduction and go deeper.
from ompl.
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.
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.
Thanks
from ompl.
Related Issues (20)
- Update_bindings not working on apple m2 macOS 13.2.1 HOT 3
- ob::PlannerStatus solved = planner->ob::Planner::solve(1.0);this code crash HOT 1
- ST-RRT*
- Dockerfile build error HOT 1
- New Planner in Python HOT 2
- RRT* often does not find a path with more time than RRT HOT 2
- ompl.util._util error HOT 4
- ss.getSolutionPath().asGeometric().printAsMatrix()
- Segmentation fault (core dumped) while using pre-built Python wheel `ompl-1.6.0-cp38-cp38-manylinux_2_28_x86_64` HOT 1
- No QRRT in python
- Unreachable URL for SPOT
- No to_python (by-value) converter found for C++ type: std::pair<bool, bool> HOT 1
- libompl.so cannot be found HOT 1
- Segmentation fault when using ompl::tools:ParallelPlan in Python HOT 3
- AttributeError:module 'ompl.geometric' has no attribute 'vectorSpaceInformation'
- Setting up start and goal state in CompoundStateSpace() HOT 2
- When s0 is a state on the path, why is the cost from s0 to postemp not considered when calculating the cost from s0 to s1? HOT 1
- Implementation of Constraints on the SolutionPath HOT 3
- Crash on an Arm board HOT 1
- STRRTstar module 'ompl.base' has no attribute 'SpaceTimeStateSpace'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ompl.