Comments (10)
It seems to be a corner case that is not well handled.
Could you please provide the input information of convexCover?
The inputs are:
const std::vectorEigen::Vector3d &path,
const std::vectorEigen::Vector3d &points,
const Eigen::Vector3d &lowCorner,
const Eigen::Vector3d &highCorner,
const double &progress,
const double &range
from gcopter.
Thanks for your reply. The path and the obstacle points are shown in the figure. The lowCorner: (-20,-20,0) highCorner: (20,20,2),progress: 7, range: 3. The error occurred in the function firi::firi(bd, pc, a, b, hp)
;
from gcopter.
Actually, once the environment has no obstacles, the obstacle points will be empty, it should be easier to build the flight corridor and get the optimal path, but the code seems not work in this case. I guess there are no constraint on the maximum construction range when build the flight corridor in the environment without obstacles.
from gcopter.
I wonder if there is a call where pc contained no points.
If this is the truth, it can be simply resolved by return the bd with normalized normal vectors.
Could you print valid_pc.size() before the call to firi::firi? Or I will do the test later.
from gcopter.
valid_pc: 2108
valid_pc: 418
valid_pc: 125
valid_pc: 0
This is the results in one construction process.
from gcopter.
It perfectly solves the problem. Thanks for your time and detailed explanation~
from gcopter.
I have found a bug when no obstacles exist which is caused by distRs.minCoeff(&pcMinId)
When pc is empty, distRs is also an empty vec.
In Eigen, find the minimum element in an empty vec causes crashes.
I have fixed it in the commit.
Please check it in your case and see if it solves your problem.
Whether it works or not, please tell me the results.
from gcopter.
It perfectly solves the problem. Thanks for your time and detailed explanation~
Hey, I made a typo in an old commit but some how it hides the crash.
Please check the commit mentioned above.
from gcopter.
from gcopter.
OK, thanks for that, it also works. hhh~
from gcopter.
Related Issues (20)
- The trajectory planner doesn't work properly? HOT 2
- Some ideas about large tilt angle to cross narrow gaps HOT 2
- difference with ego planner HOT 2
- Controller HOT 1
- How to use LiDAR to implement path planning in a real environment using the GCOPTER. HOT 1
- gcopter.hpp中的飞行走廊凸包hPolytopes与处理过的vPolytopes有啥区别,processCorridor(hPolytopes, vPolytopes)函数做了什么
- Minor Compilation Issues When Using as Standalone Library
- Minor issue in the SFC shortcut function HOT 1
- ompl::Exception HOT 1
- Alignment error in `firi.hpp` function `maxVolInsEllipsoid` HOT 1
- How to get a halfplane convex hull `Eigen::MatrixX4d` with fixed rows?
- The parameters in flatness.cpp
- SFC
- How can I use this as a 2D navigation back-end
- MINCO vs B-splines
- Can you share 'fast iterative region inflation for corridor generation' paper link?
- the code question
- forward and backward of T and P in gcopter.hpp HOT 3
- 话题对接 HOT 3
- How to add the waypoint in the planning? HOT 1
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 gcopter.