irsim.world.object_group#

Classes#

ObjectGroup

Define a group of objects with the same role and group id.

Module Contents#

class irsim.world.object_group.ObjectGroup(members: list[irsim.world.object_base.ObjectBase], group_id: int)[源代码]#

Define a group of objects with the same role and group id.

参数:
  • members -- list[ObjectBase]

  • group_id -- group id

返回:

None

members#
group_id#
role#
kinematics#
number#
group_behavior#
step(actions: list[any], sensor_step: bool = True)[源代码]#

Step the group of objects.

参数:
  • actions -- robot actions for each member in the group

  • sensor_step -- whether to step the sensors of the members in the group

返回:

None

gen_group_vel()[源代码]#
property logger#