shortPath = shorten(rrt,path,numIter)
trims edges to shorten the specified path path by running a randomized
shortening strategy for a specified number of iterations
numIter.
Manipulator RRT planner, specified as a manipulatorRRT object. This planner is for a specific rigid body tree robot
model stored as a rigidBodyTree object.
Planned path in joint space, specified as an
r-by-n matrix of joint configurations, where
r is the number of configurations in the path, and
n is the number of nonfixed joints in the rigidBodyTree robot model.
Data Types: double
Number of iterations to attempt shortening path, specified as a positive
integer.
Planned path in joint space, returned as an
r-by-n matrix of joint configurations, where
r is the number of configurations in the path, and
n is the number of nonfixed joints in the rigidBodyTree robot model.
The object functions of the manipulatorRRT object have improved performance in MATLAB® R2023b interpreted execution compared to R2023a. For example, this code is about 6 times faster than in the previous release:
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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.