フィルターのクリア

Unable to obtain a smooth 3D Dubins path

8 ビュー (過去 30 日間)
Shubham Kalpande
Shubham Kalpande 2021 年 3 月 29 日
回答済み: Shubham Kalpande 2021 年 5 月 22 日
Now, I have created a similar but larger occupancy map and I want a 3D Dubins path between two poses. I have used the exact same code as from the example, except I changed the occupancy map to have a different environment. The planner outputs a path, but when I try to 'interpolate' it using the pre-defined function in the example state space, the interpolated path is exaclty similar to the original one, with no smoothening at sqaure turns.
Can you please tell me how can I smoothen the extremely sharp turns that appear in the path? I tried interpolating to larger and larger number of points (1000 to 10000), but there was no improvement. Please guide me as to how can this problem be solved.
I am attaching sample plot of trajectory for your reference.
  2 件のコメント
darova
darova 2021 年 3 月 29 日
Please attach the code you are interpolating the data
Shubham Kalpande
Shubham Kalpande 2021 年 3 月 29 日
As I said, I am using the exact same code from the MATLAB example file. In the example state space they have defined the interpolate function which connects the waypoints using Dubins connections. I have not changed anything except the occupancy map. Not sure why is it not working

サインインしてコメントする。

採用された回答

Shubham Kalpande
Shubham Kalpande 2021 年 5 月 22 日
The reason why the path appears sharp is because of the resolution. The turns are smooth, but since the scales are big, it appears sharp. So, nothing is wrong with the implementation.

その他の回答 (1 件)

darova
darova 2021 年 3 月 30 日
See this answer about 3d interpolation of data: LINK

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by