smarts.core.actor module

class smarts.core.actor.ActorRole(value)[source]

Used to specify the role an actor (e.g. vehicle) is currently playing in the simulation.

EgoAgent = 3
External = 5
Signal = 4
Social = 1
SocialAgent = 2
Unknown = 0
class smarts.core.actor.ActorState(actor_id: str, actor_type: str | None = None, source: str | None = None, role: ActorRole = ActorRole.Unknown, updated: bool = False)[source]

Actor state information.

actor_id: str
actor_type: str | None = None
get_dimensions() Dimensions | None[source]

Get the dimensions of this actor. Some actors do not have physical dimensions.

get_pose() Pose | None[source]

Get the pose of this actor. Some actors do not have a physical location.

role: ActorRole = 0
source: str | None = None
updated: bool = False