How to Add A Custom Sumo Simulation to OMNET++ - Legendas Bilíngues

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.
Idioma de Tradução
Selecionar

Desbloqueie Mais Recursos

Instale a extensão Trancy para desbloquear mais recursos, incluindo legendas de IA, definições de palavras de IA, análise gramatical de IA, fala de IA, etc.

feature cover

Compatível com Principais Plataformas de Vídeo

A Trancy não apenas oferece suporte a legendas bilíngues em plataformas como YouTube, Netflix, Udemy, Disney+, TED, edX, Kehan, Coursera, mas também oferece tradução de palavras/frases de IA, tradução imersiva de texto completo e outros recursos para páginas da web regulares. É um verdadeiro assistente de aprendizado de idiomas completo.

Navegadores de Todas as Plataformas

A Trancy suporta todos os navegadores de plataforma, incluindo a extensão do navegador Safari do iOS.

Modos de Visualização Múltiplos

Suporta modos de teatro, leitura, misto e outros modos de visualização para uma experiência bilíngue abrangente.

Modos de Prática Múltiplos

Suporta ditado de frases, avaliação oral, múltipla escolha, ditado e outros modos de prática.

Resumo de Vídeo de IA

Use a OpenAI para resumir vídeos e compreender rapidamente o conteúdo-chave.

Legendas de IA

Gere legendas de IA precisas e rápidas para o YouTube em apenas 3-5 minutos.

Definições de Palavras de IA

Toque nas palavras nas legendas para procurar definições, com definições alimentadas por IA.

Análise Gramatical de IA

Analise a gramática das frases para entender rapidamente os significados das frases e dominar pontos gramaticais difíceis.

Mais Recursos para a Web

Além das legendas bilíngues de vídeo, a Trancy também oferece tradução de palavras e tradução de texto completo para páginas da web.

Pronto para começar

Experimente o Trancy hoje e experimente suas características exclusivas por si mesmo

Download