How to Add A Custom Sumo Simulation to OMNET++ - Subtítulos bilingües

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 traducción
Seleccionar

Desbloquea más funciones

Instala la extensión Trancy para desbloquear más funciones, incluyendo subtítulos de IA, definiciones de palabras de IA, análisis gramatical de IA, habla de IA, etc.

feature cover

Compatible con las principales plataformas de video

Trancy no solo proporciona soporte de subtítulos bilingües para plataformas como YouTube, Netflix, Udemy, Disney+, TED, edX, Kehan, Coursera, sino que también ofrece traducción de palabras/frases de IA, traducción inmersiva de texto completo y otras funciones para páginas web regulares. Es un verdadero asistente de aprendizaje de idiomas todo en uno.

Navegadores de todas las plataformas

Trancy es compatible con todos los navegadores de plataformas, incluida la extensión del navegador Safari de iOS.

Modos de visualización múltiple

Admite modos de teatro, lectura, mixtos y otros modos de visualización para una experiencia bilingüe integral.

Modos de práctica múltiple

Admite modos de dictado de oraciones, evaluación oral, opción múltiple, dictado y otros modos de práctica.

Resumen de video de IA

Utiliza OpenAI para resumir videos y comprender rápidamente el contenido clave.

Subtítulos de IA

Genera subtítulos de IA precisos y rápidos para YouTube en solo 3-5 minutos.

Definiciones de palabras de IA

Toca las palabras en los subtítulos para buscar definiciones, con definiciones impulsadas por IA.

Análisis gramatical de IA

Analiza la gramática de las oraciones para comprender rápidamente los significados de las oraciones y dominar puntos de gramática difíciles.

Más funciones web

Además de los subtítulos de video bilingües, Trancy también proporciona traducción de palabras y traducción de texto completo para páginas web.

Listo para empezar

Prueba Trancy hoy y experimenta sus características únicas por ti mismo

Descargar