concepts.simulator.pybullet.world.ContactInfo#

class ContactInfo[source]#

Bases: _ContactInfo

Methods

count(value, /)

Return number of occurrences of value.

hash()

index(value[, start, stop])

Return first index of value.

Attributes

a_name

b_name

body_a

Alias for field number 2

body_a_name

body_b

Alias for field number 3

body_b_name

contact_distance

Alias for field number 9

contact_flag

Alias for field number 1

contact_normal_force

Alias for field number 10

contact_normal_on_b

Alias for field number 8

lateral_friction_1

Alias for field number 11

lateral_friction_2

Alias for field number 13

lateral_friction_dir1

Alias for field number 12

lateral_friction_dir2

Alias for field number 14

link_a

Alias for field number 4

link_a_name

link_b

Alias for field number 5

link_b_name

position_on_a

Alias for field number 6

position_on_b

Alias for field number 7

world

Alias for field number 0

__add__(value, /)#

Return self+value.

__getitem__(key, /)#

Return self[key].

__init__()#
__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__mul__(value, /)#

Return self*value.

static __new__(_cls, world, contact_flag, body_a, body_b, link_a, link_b, position_on_a, position_on_b, contact_normal_on_b, contact_distance, contact_normal_force, lateral_friction_1, lateral_friction_dir1, lateral_friction_2, lateral_friction_dir2)#

Create new instance of _ContactInfo(world, contact_flag, body_a, body_b, link_a, link_b, position_on_a, position_on_b, contact_normal_on_b, contact_distance, contact_normal_force, lateral_friction_1, lateral_friction_dir1, lateral_friction_2, lateral_friction_dir2)

count(value, /)#

Return number of occurrences of value.

hash()[source]#
index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

property a_name#
property b_name#
body_a#

Alias for field number 2

property body_a_name#
body_b#

Alias for field number 3

property body_b_name#
contact_distance#

Alias for field number 9

contact_flag#

Alias for field number 1

contact_normal_force#

Alias for field number 10

contact_normal_on_b#

Alias for field number 8

lateral_friction_1#

Alias for field number 11

lateral_friction_2#

Alias for field number 13

lateral_friction_dir1#

Alias for field number 12

lateral_friction_dir2#

Alias for field number 14

Alias for field number 4

Alias for field number 5

position_on_a#

Alias for field number 6

position_on_b#

Alias for field number 7

world#

Alias for field number 0