ActorSimulation
Description
An ActorSimulation
object represents an actor in a scenario
simulation. Use an ActorSimulation
object to:
Access and modify the runtime attributes of an actor.
Access the actions of an actor in the current simulation time step.
Creation
Retrieve the list of ActorSimulation
objects from a simulation by using
the get
function of
a ScenarioSimulation
object. If required, you can then retrieve specific actors.
Object Functions
convertToStruct | Convert actor to MATLAB structure |
get | Get scenario or static attribute of actor |
getAction | Get actions associated with actor |
getAttribute | Get runtime attribute of actor |
receiveEvent | Receive event from scenario |
sendEvent | Send event to scenario |
setAttribute | Set runtime attribute of actor |
Examples
Version History
Introduced in R2022a
See Also
roadrunner
| openScenario
| createSimulation
| ScenarioSimulation
| sensorSimulation
| ActorModel
| ScenarioLog