code: def setSpeedFactor(self, vehID, factor):
          
          self._connection._sendDoubleCmd(
              tc.CMD_SET_VEHICLE_VARIABLE, tc.VAR_SPEED_FACTOR, vehID, factor)
docs: setSpeedFactor(string, double) -> None
  
          .