Comments (3)
Original comment by Ioan Sucan (Bitbucket: isucan, GitHub: isucan).
The issue is that the R3 component in SE3 needs some bounds to be specified when you call setup (automatically called when planning). Based on those bounds some computation is performed to determine the step size for checking collisions. If bounds are not set, the computation cannot be performed. I think all you have to do is call setBounds() on the SE3 component (which forwards the call to the R3 component)
from ompl.
Original comment by neckutrek (Bitbucket: neckutrek, GitHub: neckutrek).
I added this code:
#!c++
void LinkQuad_Setup::setDefaultBounds()
{
std::cerr << "setDefaultBounds()\n";
ob::RealVectorBounds se3bounds(3);
se3bounds.setLow(-10.0);
se3bounds.setHigh(10.0);
this->getStateSpace()->as<LinkQuad_StateSpace>()->as<ob::SE3StateSpace>(0)->setBounds(se3bounds);
}
And now I get this output instead:
setDefaultBounds()
terminate called after throwing an instance of 'ompl::Exception'
what(): The longest valid segment for state space RealVectorSpace10 must be positive
So it went from "RealVectorSpace8" to "RealVectorSpace10"...
Do I have to set bounds for the 1D RealVectorStateSpace at index 1 of my CompoundStateSpace as well? The code for that special state space is avaiable in my previous post!
Thanks!
from ompl.
Original comment by Ioan Sucan (Bitbucket: isucan, GitHub: isucan).
Hey, you have to set those bounds as well, yes. You should also call the printSettings() method on your state space. It should show you information about what bounds are set.
If you like graphviz, you might like the Diagram() function as well.
This is becoming more of a question rather than an issue, so I will close the issue now. Please reopen if you find a problem or e-mail on the mailing list if you have further questions.
from ompl.
Related Issues (20)
- 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 2
- 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'
- Problem on multi-agent planning with SE2MultiRigidBodyPlanning HOT 2
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.