生成埃尔兰根地图的步骤是什么?

时间:2016-10-24 15:17:21

标签: omnet++ veins

我从QGIS导入了一个.osm文件,然后用sumo-0.22.0生成.net.xml; .poly.xml和.rou.xml文件,因为我使用Veins-4a2。当我模拟Veins的场景时,RSU的应用层没有被执行。所以我需要了解Erlangen文件是如何完成的,因为问题是我的场景(我的文件)。 你能告诉我生成.net.xml的步骤是什么吗? .poly.xml和.rou.xml?

1 个答案:

答案 0 :(得分:1)

您可以随时使用文本编辑器甚至简单的寻呼机查看xml文件。几乎所有的相扑工具都会在其输出文件中写入一个标题,告诉其版本,选项和创建日期。在erlangen网络的情况下,这说:

  var descHeight: CGFloat = 0

  override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
      let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "desc", for: indexPath) as! ImageDescCell
       descHeight = cell.descriptionLbl.sizeThatFits(cell.frame.size).height + cell.bounds.height
      return cell
    }
  }
 func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
    let w = collectionView.bounds.width
      return CGSize(width: w, height: descHeight)
  }

提到所有要求的信息(希望如此)。路径文件没有这样的标题,所以我想,它是手工制作的。

相关问题