Main Content

VR RigidBodyTree

Visualize Robotics System Toolbox RigidBodyTree objects in Simulink

  • Library:
  • Simulink 3D Animation

  • VR RigidBodyTree block


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 rigidBodyTree model. The number of positions is equal to the number of non-fixed joints in the rigidBodyTree parameter.

Data Types: single | double


expand all

Specify the virtual world in which the rigidBodyTree is visualized

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

Specify the name of the Robotics System Toolbox rigidBodyTree 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 rigidBodyTree object.

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

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

Specify the sample time for the block, or specify -1 to inherit the sample time.

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

Extended Capabilities

See Also

Introduced in R2018b