( name: typing.Optional[str] = None position: typing.Optional[typing.List[float]] = None rotation: typing.Optional[typing.List[float]] = None scaling: typing.Union[float, typing.List[float], NoneType] = None transformation_matrix: typing.Optional[numpy.ndarray] = None material: typing.Optional[simulate.assets.material.Material] = None parent: typing.Optional[ForwardRef('Asset')] = None children: typing.Union[ForwardRef('Asset'), typing.List[ForwardRef('Asset')], NoneType] = None **kwargs )
Parameters
str) —
Name of the actor.
List[float], optional, defaults to [0.0, 0.0, 0.0]) —
Position of the actor in the scene.
List[float], optional, defaults to [0.0, 0.0, 0.0]) —
Rotation of the actor in the scene.
Union[float, List[float]], optional, defaults to 1.0) —
Scaling of the actor in the scene.
np.ndarray, optional, defaults to None) —
Transformation matrix of the actor in the scene.
Asset, optional, defaults to None) —
Parent of the actor in the scene.
Asset or List[Asset], optional, defaults to None) —
Children of the actor in the scene.
Creates a bare-bones RL agent in the scene.
(
with_children: bool = True
**kwargs: typing.Any
)
→
copy (SimpleActor)
Make a copy of the Asset. Parent and children are not attached to the copy.
( mass: float = 1.0 name: typing.Optional[str] = None position: typing.Optional[typing.List[float]] = None rotation: typing.Optional[typing.List[float]] = None scaling: typing.Union[float, typing.List[float], NoneType] = None camera_height: int = 40 camera_width: int = 40 camera_tag: typing.Optional[str] = 'CameraSensor' transformation_matrix: typing.Optional[numpy.ndarray] = None material: typing.Optional[simulate.assets.material.Material] = None parent: typing.Optional[ForwardRef('Asset')] = None children: typing.Union[ForwardRef('Asset'), typing.List[ForwardRef('Asset')], NoneType] = None **kwargs )
Parameters
float, optional, defaults to 1.0) —
Mass of the actor.
str, optional, defaults to None) —
Name of the actor.
List[float], optional, defaults to [0.0, 1.05, 0.0]) —
Position of the actor in the scene.
List[float], optional, defaults to [0.0, 0.0, 0.0]) —
Rotation of the actor in the scene.
float or List[float], optional, defaults to 1.0) —
Scaling of the actor in the scene.
int, optional, defaults to 40) —
Height of the camera above the actor.
int, optional, defaults to 40) —
Width of the camera above the actor.
np.ndarray, optional, defaults to None) —
Transformation matrix of the actor in the scene.
Asset, optional, defaults to None) —
Parent of the actor in the scene.
Asset or List[Asset], optional, defaults to None) —
Children of the actor in the scene.
Create an Egocentric RL Actor in the Scene — essentially a basic first-person agent.
An egocentric actor is a capsule asset with:
(
with_children: bool = True
**kwargs: typing.Any
)
→
copy (EgocentricCameraActor)
Make a copy of the Asset. Parent and children are not attached to the copy.
Under construction 🚧.