Is there a way to create a Dubins path given a set of waypoints?

8 visualizaciones (últimos 30 días)
Shubham Kalpande
Shubham Kalpande el 12 de Jun. de 2021
Respondida: Jianxin Sun el 14 de Jun. de 2021
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?

Respuestas (2)

Yiping Liu
Yiping Liu el 13 de Jun. de 2021
Editada: Walter Roberson el 13 de Jun. de 2021
Please check the example in the doc page below
  1 comentario
Shubham Kalpande
Shubham Kalpande el 13 de Jun. de 2021
Yeah, but this requires start pose and goal pose. I want to connect a set of waypoints. How can I do that?

Iniciar sesión para comentar.


Jianxin Sun
Jianxin Sun el 14 de Jun. de 2021
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, :))

Categorías

Más información sobre UAV en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by