class_docstr: SumoSimulation is responsible for the management of the sumo simulation.
class_docstr_tok: ["SumoSimulation","is","responsible","for","the","management","of","the","sumo","simulation","."]
docstr: Subscribe the given actor to the following variables:
  
      * Type.
      * Vehicle class.
      * Color.
      * Length, Width, Height.
      * Position3D (i.e., x, y, z).
      * Angle, Slope.
      * Speed.
      * Lateral speed.
      * Signals.
docstr_tok: ["Subscribe","the","given","actor","to","the","following","variables",":","*","Type",".","*","Vehicle","class",".","*","Color",".","*","Length",",","Width",",","Height",".","*","Position3D","(","i.e.",",","x",",","y",",","z",")",".","*","Angle",",","Slope",".","*","Speed",".","*","Lateral","speed",".","*","Signals","."]
code: def subscribe(actor_id):
      """
      Subscribe the given actor to the following variables:
  
          * Type.
          * Vehicle class.
          * Color.
          * Length, Width, Height.
          * Position3D (i.e., x, y, z).
          * Angle, Slope.
          * Speed.
          * Lateral speed.
          * Signals.
      """
      traci.vehicle.subscribe(
          actor_id,
          [
              traci.constants.VAR_TYPE,
              traci.constants.VAR_VEHICLECLASS,
              traci.constants.VAR_COLOR,
              traci.constants.VAR_LENGTH,
              traci.constants.VAR_WIDTH,
              traci.constants.VAR_HEIGHT,
              traci.constants.VAR_POSITION3D,
              traci.constants.VAR_ANGLE,
              traci.constants.VAR_SLOPE,
              traci.constants.VAR_SPEED,
              traci.constants.VAR_SPEED_LAT,
              traci.constants.VAR_SIGNALS,
          ],
      )
  
imports: import collections
  import enum
  import logging
  import os
  import carla
  import sumolib
  import traci
  from .constants import INVALID_ACTOR_ID
  import lxml.etree
label_desc: Use image node_id 3 for calling the SumoSimulation obj's underlying member method code with example usage: obj.subscribe(actor_id) without return types