ManiAm / VENTOS_Public

VEhicular NeTwork Open Simulator (VENTOS)
http://maniam.github.io/VENTOS/
GNU General Public License v3.0
57 stars 25 forks source link

Regarding error in section 8 of VENTOS manual #27

Open bargisou opened 6 years ago

bargisou commented 6 years ago

According to the steps described in section 8 for writing the first algorithmm, while execution,there is error "Simulation ended at time.Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown Quitting (on error)." in SUMO and " <!> Cannot load '/home/miracle/Desktop/VENTOS_Public/examples/config.xml': File not found -- in module (Veins::PhyLayer80211p) Network.V[0].nic.phy80211p (id=19), at t=13s, event #14" in OMNet++.

ManiAm commented 6 years ago

Probably your run configuration is not correct. The ini file should point to the omnetpp.ini and the directory should point to your folder in the example directory.

bargisou commented 6 years ago

The below mentioned images show the Run Configuuration and error in SUMO simulation

image1 image2

ManiAm commented 6 years ago

As I guessed correctly the working dir is wrong! In the getting started folder, we have many sub-folder examples. The working directory should point to one of those directories.

bargisou commented 6 years ago

Even after changing directory this is what the output looks like image 3 image4 After perform team-->Pull there is some error message generated.Is this the reason for above mentioned case image5

bargisou commented 6 years ago

<!> Error: Cannot open ini file '../omnetpp_general.ini' is the message in the console

ManiAm commented 6 years ago

ini files(s) is wrong! remove the ../ it should be omnetpp.ini

ManiAm commented 6 years ago

After perform team-->Pull there is some error message generated.Is this the reason for above mentioned.

I suggest you to learn Git. That is a merge conflict and you need to use git mergetool to resolve the conflict. When a file is change by you and the remote repos then Git does not know which change(s) to apply. You need to manually tell Git how to resolve the conflict.

bargisou commented 6 years ago

what should be the location of omnet.ini and omnetpp_general.ini ,if i want to excecute the two_subsequent streets inside Ventos_Public->example->getting started-> 1_two subsequent streets,the writing your first algorithm. Right now the location of "omnetpp.ini" file is in the "getting started" folder and "omnetpp_general.ini" is inside "examples" folder.

bargisou commented 6 years ago

what should be the location of omnet.ini and omnetpp_general.ini ,if i want to excecute the two_subsequent streets inside Ventos_Public->example->getting started-> 1_two subsequent streets,the writing your first algorithm. Right now the location of "omnetpp.ini" file is in the "getting started" folder and "omnetpp_general.ini" is inside "examples" folder.