graph = graphData(planner)
retrieves graph as a digraph object. The digraph object is created when the plannerPRM object is
created with default or user specified values for the MaxNumNodes and
MaxConnectionDistance properties.
show(sv.Map)
hold on
plot(nodes(:,1),nodes(:,2),"*",Color=[0 0 1],LineWidth=2)
for i = 1:size(edges,1)
% Samples states at distance 0.02 meters.
states = interpolate(ss,nodes(edges(i,1),:), ...
nodes(edges(i,2),:),0:0.02:1);
plot(states(:,1),states(:,2),Color=[0 0 1])
end
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.