How to Add A Custom Sumo Simulation to OMNET++ - 이중 자막
Hi everybody.
In this video, we are going to take the sumo simulations that we have created using sumo and put them in our Veins iNet simulation.
So first, before we just jump right into modifying our Veins iNet project, let's understand what is going on.
Under the hood.
I have our VANET tutorial project right here and this is the VANES iNet subfolder.
This comes from the VANES iNet subproject from the VANES project.
So within the VANES iNet subproject we have an omnet PPI and i file.
This is our configuration for our simulation.
And if you see in here we have our node which is the type name which this is doing the application.
So our node is actually our vehicle and then its application that it's running is the iNet sample application.
Then we have the setup for our wireless LAN interface and then after that we have our Vane's iNet mobility
This is setting the
mobility of our vehicle to use the Vane's iNet mobility that's applied within our
Source folder that was given to us in the Vane's sub Then we have the veins eye net manager.
This is setting up the manager with intervals for updates What hosted choosing which is going to be our local host and our port.
This is how it actually connects to sumo So port 9999 that's what sumo is listening to and we actually connect there and the main
manager is talking to our zoom out and within that we have set our launch config
with the square dot launch D XML and then our model type.
So what we are going to be making a change to is the launch configuration.
So let's look at the square launch D XML.
So if you look at the square launch the XML you will see that we have the launch
tag and then within that we have a copy file for our net file,
our root file,
a poly file which we have not created yet and a sumo config file which all these
files we've created aside from the poly file and we're not going to worry about the poly file when we're doing this tutorial.
So let's make a new simulation that's going to use the sumo sim that we tutorial video.
So I'm going to make a new folder and I'm going to call this veins, dinette, custom, because it's our custom map.
So this doesn't have anything in it.
It's an empty folder.
Let's copy and our Baines INET simulation and put it right here.
So we're going to have a few changes.
We to update our certain audio to use the new package path.
So we're going to go to I'm going to this to Vane's INET underscore custom.
So now our path is fine.
Now let's go to our omnet PPI ny file.
We had a custom sumo file and what I used was downtown Orlando.
So what I'm going to put in here is downtown Orlando.
So I'm going to make a launch D file that's going to be called downtown.
And actually I'm going to take this launch D that copied and rename it to be downtown.
So let's go in here and let's now move over our downtown net root and sumo config.
So this is the resulting downtown simulation that we created from our earlier tutorial video.
So we're going to copy the downtown net root and sumo.config.
We're going to put them in this folder.
We do not need any of these squares so I'm going to delete them.
So now we need to remain the squares to be downtown.
We do not have a poly file this hold of the poly structure for all the shadowing and obstacles and
this is something that you may want to create later on but we're sticking with
a more simple tutorial right now so we do not need this so we're going have our downtown.
dot CFG.
And save this.
Now, we can just run this simulation right now.
So if we right click our on that PPI and I file and we run as an on that simulation.
we'll begin launching.
Before we hit run, we need to make sure that we also start up sumo.
So let's start up sumo.
So I'm going to start up sumo here.
And now sumo is listening in on port 9999 and we're going to hit run.
So we start running our simulation.
We are going to see Zoom out a so we can see our vehicles running up.
This is our simulation and our vehicles are running on our map.
So now we are running the custom sumo simulation that we created in our last video using veins.
Now remember this is doing a random root that we just created for a quick simulation.
If you wanted to have it follow a specific path you would need to code those things.
So, congratulations, you just learned how to take a custom sumo simulation and put it into omnet plus plus.
If you liked what you saw, please remember to subscribe to my channel.
And if you have any questions about Vein's iNet or the VANET tutorials that I have put in on YouTube,
please join us on our Discord channel so that I can help you with anything that you need or make tutorial requests.
더 많은 기능 잠금 해제
Trancy 확장 프로그램을 설치하면 AI 자막, AI 단어 정의, AI 문법 분석, AI 구술 등을 포함한 더 많은 기능을 사용할 수 있습니다.

인기 있는 비디오 플랫폼과 호환
Trancy는 YouTube, Netflix, Udemy, Disney+, TED, edX, Kehan, Coursera 등의 플랫폼에서 이중 자막을 지원하는데 그치지 않고, 일반 웹 페이지에서 AI 단어/문장 번역, 전체 문장 번역 등의 기능도 제공하여 진정한 언어 학습 도우미가 됩니다.

다양한 플랫폼 브라우저 지원
Trancy는 iOS Safari 브라우저 확장 프로그램을 포함하여 모든 플랫폼에서 사용할 수 있습니다.
다양한 시청 모드
극장, 읽기, 혼합 등 다양한 시청 모드를 지원하여 전체적인 이중 자막 체험을 제공합니다.
다양한 연습 모드
문장 청취, 구술 평가, 선택 공백, 테스트 등 다양한 연습 방식을 지원합니다.
AI 비디오 요약
OpenAI를 사용하여 비디오 요약을 생성하여 핵심 내용을 빠르게 파악할 수 있습니다.
AI 자막
3-5분 만에 YouTube AI 자막을 생성하여 정확하고 빠른 자막을 제공합니다.
AI 단어 정의
자막에서 단어를 탭하면 정의를 검색하고 AI 단어 정의 기능을 활용할 수 있습니다.
AI 문법 분석
문장에 대한 문법 분석을 수행하여 문장의 의미를 빠르게 이해하고 어려운 문법을 습득할 수 있습니다.
더 많은 웹 기능
Trancy는 비디오 이중 자막 뿐만 아니라 웹 페이지의 단어 번역 및 전체 문장 번역 기능도 제공합니다.