Activity is basic simulation participant in simulation framework, where Topics can be provided or consumed between other activities. To fulfill the simulation demands, all activities can be scheduled through user’s simulation_scheduling input.

Simulation scheduling example
Here is an example ofsimulation_scheduling content in solver settings:
“name”
The unique identifier of the activity in the instance of Simulation Framework. The identifier is used to instantiate the activity in theActivityFactory.
”is_primary_activity”
A boolean flag that indicates whether this activity is used as a primary activity. In Autonomy simulation, the ground truth generator must be set as primary activity, which generates environment inputs for all other simulation participants.”topics_cycling_info”
This list describes the topic and the individual cycle time that is needed. This is a mandantory field for each activity, unless"depends_on" is specified.
- “topic_id” A string identifier for the topic. Currently, multi-rate topics inside Simulation Framework are not supported yet. Use the specifier
"_all_"to indicate all topics in this activity, and define their cycle time later in"topic_cycle_time_in_ms". - “topic_cycle_time_in_ms” An unsigned integer that describes the cycle time of the topic in milliseconds.
”depends_on”
This field allows you to create a dependency for the current activity on another activity specified by the user. Once a dependency is set up,"topics_cycling_info" is no longer mandatory for this activity. In this case, this activity will be stepped immediately after its dependent activity. If additional "topics_cycling_info" is also provided, this activity will be stepped only when its dependency has been stepped and the cycle time is reached. Currently, Simulation Framework only supports one dependency per activity.
”type”
This field indicates the location of the activity."built-in" means that this is an activity pre-built in Activity Factory of Simulation Framework core. "standalone" means that this is a standalone activity running outside Simulation Framework as a dedicated process. During simulation startup, Simulation Framework core will try to connect with all required standalone Activities if they are given in the config.