VR RigidBodyTree

Visualize Robotics System Toolbox RigidBodyTree objects in Simulink

  • Library:
  • Simulink 3D Animation


Use the VR RigidBodyTree block to visualize RigidBodyTree objects from Robotics System Toolbox™ in the Simulink® 3D Animation™ viewer.



expand all

Robot configuration that solves the desired end-effector pose, specified as a vector. A robot configuration is a vector of joint positions for the Rigid body tree model. The number of positions is equal to the number of non-fixed joints in the Rigid body tree parameter.

Data Types: single | double


expand all

Specify the virtual world in which the Rigid Body Tree is visualized

Specify the location of the Rigid Body Tree object in the scene hierarchy. For more information on scene hierarchy, see Create a Virtual World.

Specify the name of the Robotics System Toolbox Rigid Body Tree object to be used in the virtual world. If a robot with an identical name is already present in the virtual world, it is used for visualization by default.

You can enable the Always use robot definition from the RigidBodyTree object parameter to overwrite the existing robot, if present, with the robot specified by the Rigid Body Tree object.

Enable this parameter to always create a robot from the Rigid Body Tree object specified by the Rigid Body Tree parameter.

By default, the virtual world uses an existing robot by the same name, if it exists.

Enable this parameter to ensure that the Simulink 3D Animation Viewer is open during simulation.

Extended Capabilities

See Also

Introduced in R2018b