concepts.simulator.pybullet.world.BodyState#

class BodyState[source]#

Bases: _BodyState

Methods

count(value, /)

Return number of occurrences of value.

get_7dpose()

get_transformation()

index(value[, start, stop])

Return first index of value.

Attributes

angular_velocity

Alias for field number 3

linear_velocity

Alias for field number 2

orientation

Alias for field number 1

pos

position

Alias for field number 0

quat

quat_wxyz

quat_xyzw

__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, position, orientation, linear_velocity, angular_velocity)#

Create new instance of _BodyState(position, orientation, linear_velocity, angular_velocity)

count(value, /)#

Return number of occurrences of value.

get_7dpose()[source]#
Return type:

ndarray

get_transformation()[source]#
Return type:

Tuple[ndarray, ndarray]

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

angular_velocity#

Alias for field number 3

linear_velocity#

Alias for field number 2

orientation#

Alias for field number 1

property pos#
position#

Alias for field number 0

property quat#
property quat_wxyz#
property quat_xyzw#