rigidBody
Create a rigid body
Description
TherigidBody
object represents a rigid body. A rigid body is the building block for any tree-structured robot manipulator. EachrigidBody
has arigidBodyJoint
object attached to it that defines how the rigid body can move. Rigid bodies are assembled into a tree-structured robot model usingrigidBodyTree
.
Set a joint object to theJoint
property before callingaddBody
to add the rigid body to the robot model. When a rigid body is in a rigid body tree, you cannot directly modify its properties because it corrupts the relationships between bodies. UsereplaceJoint
to modify the entire tree structure.
Creation
Syntax
Description
Input Arguments
Properties
Object Functions
copy |
Create a deep copy of rigid body |
addCollision |
Add collision geometry to rigid body |
addVisual |
Add visual geometry data to rigid body |
clearCollision |
Clear all attached collision geometries |
clearVisual |
Clear all visual geometries |
Examples
References
[1] Craig, John J.Introduction to Robotics: Mechanics and Control. Reading, MA: Addison-Wesley, 1989.
[2] Siciliano, Bruno. Robotics: Modelling, Planning and Control. London: Springer, 2009.