Cylinder

class urdfpy.Cylinder(radius, length)[source]

Bases: urdfpy.URDFType

A cylinder whose center is at the local origin.

Parameters:
  • radius (float) – The radius of the cylinder in meters.
  • length (float) – The length of the cylinder in meters.

Attributes Summary

length The length of the cylinder in meters.
meshes The triangular meshes that represent this object.
radius The radius of the cylinder in meters.

Attributes Documentation

length

The length of the cylinder in meters.

Type:float
meshes

The triangular meshes that represent this object.

Type:list of Trimesh
radius

The radius of the cylinder in meters.

Type:float