v12.collision.Collision

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v12.collision.Collision(laser_retro=0.0, max_contacts=10, pose='0 0 0 0 0 0', geometry=None, surface=None, name=None)

The collision properties of a link.

Note that this can be different from the visual properties of a link, for example, simpler collision models are often used to reduce computation time.

Parameters
laser_retro: intensity value returned by laser sensor.
max_contacts: Maximum number of contacts allowed between two

entities. This value overrides the max_contacts element defined in physics.

pose: The reference frame of the collision element, relative to the

reference frame of the link.

geometry: The shape of the visual or collision object.
surface: The surface parameters
name: Unique name for the collision element within the scope of the

parent link.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v12.collision.Collision.Surface([bounce, ...])

The surface parameters.