Class: Urdf

ROS3D. Urdf

new Urdf(options)

A URDF can be used to load a ROSLIB.UrdfModel and its associated models into a 3D object.

Parameters:
Name Type Description
options

object with following keys:

  • urdfModel - the ROSLIB.UrdfModel to load
  • tfClient - the TF client handle to use
  • path (optional) - the base path to the associated Collada models that will be loaded
  • tfPrefix (optional) - the TF prefix to used for multi-robots
  • loader (optional) - the Collada loader to use (e.g., an instance of ROS3D.COLLADA_LOADER ROS3D.COLLADA_LOADER_2) -- defaults to ROS3D.COLLADA_LOADER_2
Source:
  • urdf/Urdf.js, line 19