shasta.actor#

Module Contents#

Classes#

BaseActor

This the base class for single UGV robot

class BaseActor[source]#

Bases: with_metaclass(ABCMeta, object)

This the base class for single UGV robot

physics_client[source]#
_loaded = False[source]#
_load()[source]#

Load object into pybullet and return list of loaded body ids.

get_actor_id()[source]#

Get the actor id

Returns:

The actor id in the simulation

Return type:

int

abstract load_asset(*args, **kwargs)[source]#

Load the assests of the actor.

abstract reset(*args, **kwargs)[source]#

Reset the actor

Raises:

NotImplementedError

abstract get_observation(*args, **kwargs)[source]#

Get the observation from the actor.

Raises:

NotImplementedError

abstract apply_action(*args, **kwargs)[source]#

Apply the action to the actor

Raises:

NotImplementedError

abstract destroy(*args, **kwargs)[source]#

Destroy the actor

Raises:

NotImplementedError