Get Transform
R2026bGet transform between body frames
Libraries:
Robotics System Toolbox /
Manipulator Algorithms
Description
The Get Transform block returns the homogeneous transformation between
body frames on the Rigid body tree robot model. Specify a rigidBodyTree object for the robot model, and select a source and target
body in the block.
The block uses Config, the robot configuration (joint positions) input, to calculate the transformation from the source body to the target body. This transformation is used to convert coordinates from the source to the target body. To convert to base coordinates, use the base body name as the Target body parameter.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"robotmaniplib/Get Transform"
Example: add_block("robotmaniplib/Get Transform","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2018a

