startIdx = jointPositionFromJointName(robot,jointname)
returns the index of the configuration‑vector element of the specified joint in the rigid
body tree robot model.
[startIdx,endIdx] = jointPositionFromJointName(robot,jointname)
returns the start and end indices of the configuration‑vector elements of the specified
joint in the rigid body tree robot model.
Load the Rethink Sawyer robot and show the configuration vector for the home
configuration. Sawyer contains 20 joints, many of them being fixed joints that do not
contribute elements to the configuration vector.
Start index of the joint in the configuration vector, returned as a nonnegative
integer. startIdx is a positive integer for joints that contribute
position degrees of freedom. If the joint is fixed, startIdx is
0, indicating that the joint has no corresponding element in the
configuration vector.
End index of the joint in the configuration vector, returned as an integer.
endIdx is an integer for joints that contribute position degrees
of freedom. If the joint is fixed, endIdx is -1,
indicating that the joint has no corresponding element in the configuration
vector.
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.