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.
Unable to obtain a smooth 3D Dubins path
5 views (last 30 days)
Shubham Kalpande on 29 Mar 2021
I am trying to follow this example for my application: https://in.mathworks.com/help/uav/ug/motion-planning-with-rrt-for-fixed-wing-uav.html
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.