pcg_gazebo.parsers.urdf

pcg_gazebo.parsers.urdf

get_all_urdf_element_classes

get_all_urdf_element_classes()
Get list of all URDF element classes.

create_urdf_element

create_urdf_element(tag, *args)
URDF element factory.

Input arguments

  • tag (type: str): Name of the URDF element.
  • args: Extra arguments for URDF element constructor.

Returns

URDF element if tag refers to a valid URDF element. None, otherwise.

create_urdf_type

create_urdf_type(tag)
Return handle of the URDF element type.

Input arguments

  • tag (type: str): Name of the URDF element.

Returns

URDF element type if tag is valid, None otherwise`.

is_urdf_element

is_urdf_element(obj)
Test if XML element is an URDF element.

Actuator

Actuator(self)

Axis

Axis(self, default=[1, 0, 0])

Box

Box(self)

Child

Child(self, default='link')

Collision

Collision(self)

Color

Color(self, default=[0, 0, 0, 1])

Cylinder

Cylinder(self)

Dynamics

Dynamics(self)

Gazebo

Gazebo(self, mode='none', sdf_elements={})

Geometry

Geometry(self)

HardwareInterface

HardwareInterface(self, default='EffortJointInterface')

Inertia

Inertia(self)

Inertial

Inertial(self)

Joint

Joint(self)

Limit

Limit(self)
Link(self)

Mass

Mass(self)

Material

Material(self, mode='color')

MechanicalReduction

MechanicalReduction(self, default=1)

Mesh

Mesh(self)

Mimic

Mimic(self)

Origin

Origin(self)

Parent

Parent(self, default='link')

Robot

Robot(self)

SafetyController

SafetyController(self)

Sphere

Sphere(self)

Texture

Texture(self, default='filename')

Transmission

Transmission(self)

Type

Type(self, default='transmission_interface/SimpleTransmission')

Visual

Visual(self)