############# Traffic Nodes ############# For traffic simulations 2 nodes are available in the `CrowdSim Node Editor`. The `Traffic Variable` to variate traffic settings per agent. And the `Traffic` node to execute the traffic simulation. These nodes can be used together with the crowdsim nodes. To create a simple traffic system you can add the next setup .. image:: /images/nodeeditor-traffic.png :align: center See :ref:`adding-behavior` for more details on using the `CrowdSim Node Editor` and its nodes. .. _node-traffic-variable: Traffic Variable ================ .. include:: ../crowdsim/node-traffic-variable.rst .. _node-traffic: Traffic ======= With this node you can add a Traffic Simulation. .. image:: /images/node-traffic.png :align: center Options: * **Traffic System**: The traffic system to let the agents drive on. * **Signals**: Whether turning and brake signals should be calculated. See :ref:`prepare-traffic-model` how to setup turning and braking animation for a model. * **Agents**: The set of agents that will be looked at when applying the traffic rules. Agents not added to this output will be ignored. When not connected at all, all agents in the scene will be used during the evaluation of the traffic rules.