how to handle multiple way-points for 2D path following
    12 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    William Campbell
 el 22 de Feb. de 2020
  
    
    
    
    
    Comentada: William Campbell
 el 13 de Sept. de 2021
            I am trying to generate a path following profile from multiple way-points that I generated from path planning.  My path following algorithm is in a MatLab function within a Simulink model which includes a controller and a simple kinematic model.  I can run the Simulink model each time for one pair of successive way-points and get a sensible path between these successive way-points, but am struggling to feed in all 'pairs' of waypoints through the simulation and get an xy profile of the whole path.  Am I approaching this problem from the correct angle ie asking the controller to calculate a path between each successive pair of way-points and plot the overall profile.
2 comentarios
  Jacob Wood
      
 el 23 de Feb. de 2020
				It seems like you have a good portion of a solution worked out. The next step would be to find a way to do the handoff from solution to solution. The simplest answer might just be a for-loop that looks at each succesive pair of points, finds the path, pulls out relevant information for the next section (terminal velocity vector, maybe terminal accelerations), and feed that into the next pair. 
If you wish to implement in Simulink it is common practice to implement a waypoint radius. When the vehicle is within waypoint_radius of the current waypoint it runs the path generation algorithm for the next leg of the journey and starts to navigate to this next waypoint.
Respuesta aceptada
  Amrtanshu Raj
    
 el 13 de Sept. de 2021
        Hi,
As per my understanding you have a set of waypoints and want to get a path through those points. You can use the purePursuit controller and step it to get a complete path. It also lets you add constraints to the motion.
Más respuestas (0)
Ver también
Categorías
				Más información sobre Robotics en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!