Is there a way to create a Dubins path given a set of waypoints?
조회 수: 9 (최근 30일)
이전 댓글 표시
I want my UAV model to fly through a set of waypoints, is there any way I can decompose the path into dubins connections i.e straight line segments and circular arcs?
댓글 수: 0
답변 (2개)
Yiping Liu
2021년 6월 13일
편집: Walter Roberson
2021년 6월 13일
Please check the example in the doc page below
Jianxin Sun
2021년 6월 14일
The connect method of uavDubinsConnection can accept pairs of start and goal poses. Assume your waypoints are defined as a Nx4 matrix. Each row is one waypoint in [x, y, z, course angle] format. The following two lines should provide N-1 dubin's path connecting all your waypoints.
connector = uavDubinsConnection;
connector.connect(waypoints(1:end-1, :), waypoints(2:end, :))
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!