code: def add(self, vehID, routeID, depart=tc.DEPARTFLAG_NOW, pos=0, speed=0,
              lane=tc.DEPARTFLAG_LANE_FIRST_ALLOWED, typeID="DEFAULT_VEHTYPE"):
          
          self._connection._beginMessage(tc.CMD_SET_VEHICLE_VARIABLE, tc.ADD, vehID,
                                         1 + 4 + 1 + 4 + len(typeID) + 1 + 4 + len(routeID) + 1 + 4 + 1 + 8 + 1 + 8 + 1 + 1)
          if depart > 0:
              depart *= 1000
          self._connection._string += struct.pack("!Bi", tc.TYPE_COMPOUND, 6)
          self._connection._packString(typeID)
          self._connection._packString(routeID)
          self._connection._string += struct.pack("!Bi", tc.TYPE_INTEGER, depart)
          self._connection._string += struct.pack("!BdBd",
                                                  tc.TYPE_DOUBLE, pos, tc.TYPE_DOUBLE, speed)
          self._connection._string += struct.pack("!Bb", tc.TYPE_BYTE, lane)
          self._connection._sendExact()
docs: Add a new vehicle (old style)