Comments (6)
These are basic mathematics of B-spline.
For a 3-degree B-spline with N segments, there are N+3 control points, which answers your second questions.
As for the the first question, for a 3-degree B-spline the start and end state (0,1,2 order derivatives) are uniquely determined by the first and last 3 control points. The matrix state2pts is the relation between the state and control points.
You may check the paper "General matrix representations for b-splines" for the derivation.
from fast-planner.
from fast-planner.
I know that the start and end state are uniquely determined by the first and last 3 control points. So that yaw.block(seg_num, 0, 3, 1) = states2pts * start_yaw is an initialization? But after being optimized,
this initialization seems meaningless, because 1/6(yaw(0) + 4yaw(1) + yaw(2)) should be constrained to waypoints_(0) which is not equal to start_yaw. this is confusing.
from fast-planner.
No, the first and last 3 points remain fixed throughout the optimization, so the boundary state will not be changed.
from fast-planner.
Actually the first and last waypoint constraints take no effect.
In the code I do add them into the cost function, just for convenience of implementation.
But since the first and last 3 control points are already fixed, the optimization will not change them.
The associated cost of waypoints_(0) remains a constant term.
from fast-planner.
thanks very much for your reply. Now I understand. Great work!
from fast-planner.
Related Issues (20)
- Open set in kinodynamic astar HOT 1
- About the Perception-aware Replanning HOT 3
- catkin_make 报错 HOT 1
- 请问能告知无人机硬件选型吗
- 请问能告知无人机硬件选型吗?
- How can simulation the dynamic object?
- How to build a global map HOT 1
- 对视野范围外的障碍物留有余量的算法求开源,即fastplanner第三篇论文的内容 HOT 1
- How to apply this algorithm to UAV
- generateTraj function defined where ?
- RAPTOR code
- Kinodynamic A*:庞特里亚金启发式函数问题
- KinodynamicAstar::getsamples源代码编写问题
- 就差一点就能编译了。。。
- 请问如何部署到实物无人机上? HOT 1
- ros-noetic build failed on jetson HOT 1
- Any 4.x OpenCV compatible with Fast-Planner? HOT 1
- What flight controller opensource does Fast-Planner support?
- Is there any object avoidance tests in trees, especially in lots of branches environments?
- segfault in fast_planner_node on jetson orin Linux 35.5.0
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 fast-planner.