车辆结束路线后会发生什么? [英] What happens to vehicles when they end their route?

查看:114
本文介绍了车辆结束路线后会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是为小规模城市地区构建基于VANET的智能停车仿真.我动态定义了车辆要行驶的路线,然后停放了' x '时间.相应的实现已完成,下一步是定义一个新的退出路径,让他们在' x '时间结束后退出仿真.原因是我想模拟腾出停车位的汽车,以便其他车辆也可以利用它们(我不希望它们只是在到达终点时消失)

My project is to build a VANET-based smart parking simulation for a small-scale urban area. I dynamically define a route for vehicles to traverse to, then park for 'x' amount of time. Implementation for that is complete, the next step was to define a new exit route for them to exit the simulation after the 'x' amount of time is up. Reason being is that I want to simulate cars vacating parking spaces so that other vehicles may be able to avail of them (I don't want them to simply just to disappear upon reaching the end of their route)

所以我的问题是,他们是在路线完成后才退出模拟吗?有可能避免这种情况吗?

So my question is, is it true that they just exit simulation after route is complete? Is it possible to avoid this?

推荐答案

静脉使用SUMO来模拟车辆的机动性. SUMO车辆到达其路线的终点后,将其从仿真中删除.但是,您可以使用SUMO模拟车辆行驶到中间点,停放一段设定的时间,然后开始行驶到最终目的地.这样的车辆将被简单地标记为已停止/停车,并将保留在模拟中.

Veins uses SUMO to simulate vehicle mobility. After a SUMO vehicle reaches the end of its route, it is removed from the simulation. You can, however, use SUMO to simulate a vehicle that drives to an intermediate point, parks for a set duration, then starts driving to its final destination. Such a vehicle will simply be marked as stopped/parking and will remain in the simulation.

这篇关于车辆结束路线后会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆