irsim.world.obstacles.obstacle_static#

Classes#

ObjectStatic

Static object implementation used for static robots and obstacles.

Module Contents#

class irsim.world.obstacles.obstacle_static.ObjectStatic(color='k', role='obstacle', state_dim=3, **kwargs)[源代码]#

Bases: irsim.world.object_base.ObjectBase

Static object implementation used for static robots and obstacles.

Create a static object (robot or obstacle).

参数:
  • color (str) -- Display color. Default "k".

  • role (str) -- Role of the object ("robot" or "obstacle").

  • state_dim (int) -- State vector dimension (>=3).

  • **kwargs -- Forwarded to ObjectBase.

static = True#