concepts.dm.crowhat.pybullet_interfaces.pybullet_sim_interfaces.PyBulletPhysicalControllerInterface#

class PyBulletPhysicalControllerInterface[source]#

Bases: CrowPhysicalControllerInterface

Methods

register_controller(name, function)

reset()

serve(*[, tcp_ports, ipc_ports, ...])

step(action, **kwargs)

step_internal(name, *args, **kwargs)

step_without_error(action, **kwargs)

Attributes

bullet_client

controllers

executor

__init__(bullet_client, dry_run=False)[source]#
Parameters:
__new__(**kwargs)#
register_controller(name, function)#
Parameters:
reset()#
serve(*, tcp_ports=None, ipc_ports=None, redirect_ios=False, redirect_stdout='/dev/null', redirect_stderr='/dev/null')[source]#
Parameters:
  • tcp_ports (Tuple[int, int] | None) –

  • ipc_ports (Tuple[str, str] | None) –

  • redirect_ios (bool) –

  • redirect_stdout (str | None) –

  • redirect_stderr (str | None) –

Return type:

None

step(action, **kwargs)#
Parameters:

action (CrowControllerApplier) –

Return type:

None

step_internal(name, *args, **kwargs)#
Parameters:

name (str) –

Return type:

None

step_without_error(action, **kwargs)#
Parameters:

action (CrowControllerApplier) –

Return type:

bool

property bullet_client#
property controllers: Dict[str, Callable]#
property executor: CrowExecutor | None#