-
Ainara Gonzalez joined the group Setup Support 13 years, 9 months ago · View
-
Manfred-Schoenheits posted an update in the group Setup Support: 13 years, 9 months ago · View
Hi,
we are currently studying the patch for the ns-3 simulator, on the one hand to get a better understanding of the system as a whole, but also because we would like to run some simulations using the patched ns-3 separately, i.e. just the C2C protocol stack. Unfortunately, it`s not easy to get an idea of how the protocol stack works, there are some examples anyway, but e.g. the doxygen documentation is far from being complete. So i wanted to ask if maybe there`s some additional documentation available ? Thanks in advance,Best regards,
Manfred -
Manfred-Schoenheits joined the group Setup Support 13 years, 9 months ago · View
-
Dennis-Sluijsmans started the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support: 13 years, 10 months ago · View
If I use the ReceivedCamInfo Subscription, as soon as a node receives a CAM message the iCS program results in a ” ERROR: The loaded map does not contain any lane!” error. Although there’s no filenotfound error for the sumo xml file, it looks like the iCS initiated no map at all. I’m using the [...]
-
Dennis-Sluijsmans started the forum topic Roadmap in the group Setup Support: 13 years, 10 months ago · View
Hi all,
Although the iTETRIS simulator is a great tool already, some core improvements and additional application support functionality could ease the development of new applications.
It would be appreciated if people responsible for the releases could give an indication of the planned (and requested) improvements by means of a roadmap.
Cheers,
Dennis -
Dennis-Sluijsmans joined the group Setup Support 13 years, 10 months ago · View
-
Lukas-Worle posted an update in the group Setup Support: 13 years, 10 months ago · View
Some issues about the ITS Cooperative Demo Application:
I needed to run the configure command again with the additional xerces-path:
./configure –with-xerces-libraries=”/usr/local/lib -lxerces-c”in src/foreign/tcpip/socket.h:
there seems to be a problem in line 30 during compilation with the include of ”windows_config.h”. Is this correct here? Or should one rather use the ”config.h”?When trying to execute the Demo App, demoapp is not found, because it does not exist. It is named itscoopdemoapp. ”sudo ln -s itscoopdemoapp demoapp” in /usr/local/lib does the trick.
But still, there is the following error:
Loading configuration… done.
sumo: Kein Prozess gefunden
main-inci5: Kein Prozess gefunden
java: Kein Prozess gefundenWELCOME TO iTETRIS
==================
STEP 1 – SETUP PHASE
iCS –> SUMO launched.
iCS –> ns-3 launched.STEP 2 – SETUP PHASE
Loading configuration… done.
ITS Cooperative Demo App 0.1.0
(c) iTETRIS consortium 2008-2010; http://www.ict-itetris.eu/
(c) DLR 2001-2010; http://sumo.sf.net
Use –help to get the list of options.
1982
Installer type=ns3::WaveVehicleInstaller name=WaveVehicle
Pathfile=confWaveVehicle2.xml
Error at xmlReaderForFile
Segmentation faultSTEP 3 – SETUP PHASE
iCS –> Trying 0 to connect SUMO on port 5500…
iCS –> Connected to SUMOiCS –> Trying 0 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 1 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 2 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 3 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 4 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 5 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 6 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 7 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 8 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 9 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Could not connect to Ns-3Step #0.00Warning: period and repno are deprecated in vehicle ’1-4’, use flows instead.
Lukas
Hi Lukas,
The connection does not take place because there is a segmentation fault at the beginning tha prevents the start of ns-3. I will have a look at that ASAP. Probably some file is missing.
Sincerely,
Julen.
Hey Julen,
I found the missing files in /ns-allinone-3.7/ns-3.7/scratch. After having copied them to /its_demo_app_0.1.0/example/ns-3_files, I get the following output:
Loading configuration… done.
sumo: Kein Prozess gefunden
main-inci5: Kein Prozess gefunden
java: Kein Prozess gefundenWELCOME TO iTETRIS
==================
STEP 1 – SETUP PHASE
iCS –> SUMO launched.
iCS –> ns-3 launched.STEP 2 – SETUP PHASE
Loading configuration… done.
ITS Cooperative Demo App 0.1.0
(c) iTETRIS consortium 2008-2010; http://www.ict-itetris.eu/
(c) DLR 2001-2010; http://sumo.sf.net
Use –help to get the list of options.
1982
Installer type=ns3::WaveVehicleInstaller name=WaveVehicle
Pathfile=confWaveVehicle2.xml
Installer type=ns3::WaveRsuInstaller name=WaveRsu
Pathfile=confWaveRsu.xml
Installer WaveRsu will be related with installer WaveVehicle
Installer type=ns3::WifiVehicleInstaller name=WifiVehicle
Pathfile=confWifi.xml
Installer type=ns3::UmtsBsInstaller name=UmtsBs
Pathfile=confUmtsBs.xml
Installer type=ns3::DvbhVehicleInstaller name=DvbhVehicle
Pathfile=confDvbhVehicle.xml
Installer type=ns3::DvbhBsInstaller name=DvbhBs
Pathfile=confDvbhBs.xml
Installer type=ns3::UmtsVehicleInstaller name=UmtsVehicle
Pathfile=confUmtsVehicle.xml
Installer type=ns3::WifiBsInstaller name=WifiBs
’file’ attribute has not been found for installer WifiBs
Installer type=ns3::ItetrisNetworkTransportInstaller name=NetTrans
’file’ attribute has not been found for installer NetTrans
Installer NetTrans will be installed by default in every new node
Installer type=ns3::MobilityModelInstaller name=Mobility
’file’ attribute has not been found for installer Mobility
Installer Mobility will be installed by default in every new nodeSTEP 3 – SETUP PHASE
iCS –> Trying 0 to connect SUMO on port 5500…
iCS –> Connected to SUMOiCS –> Trying 0 to connect ns-3 on port 1982 and Host localhost…
iCS –> Connected to ns-3iCS –> Trying 0 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 1 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 2 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 3 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 4 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 5 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 6 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 7 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 8 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Trying 9 to connect Application on port 1986…
iCS –> No connection to Application; waiting…
iCS –> Could not connect to the ApplicationsStep #0.00Warning: period and repno are deprecated in vehicle ’1-4’, use flows instead.
ns-3 server –> Finishing server….
iCS –> Error occurred during iCS set-up
Quitting (on error).
Elapsed time (in seconds): 3.000000I got it working now.
Had to change the executable command in application-config-file.xml todemoapp -c itscoopdemoapp-config-file.xml
and the socket value in itscoopdemoapp-config-file.xml to
socket value=”1986”
Thanks Lukas for the heads up. We are going to update the source soon with your comments.
Thank you!
Can you please tell me which version of SUMO are you using?
I get error with sumo, ”the tags in configuration files are deprecated”. Someone told me to install correct version of SUMO or reconfigure the files. Do you know which version of SUMO are you using.
Hello,
I had the same problem and managed to get ns3 and app connected but now I get this error
STEP 4 – SETUP PHASE
Error: Answered with error to command 8 Wrong position in requestMessage after dispatching command. Expected command length was 28 but 14 Bytes were read.
.. Sent command is not implemented (8), [description: ]
iCS –> [ERROR] SetFixedStationInNs3() Error in the message to create fixed station in ns-3
iCS –> ERROR setting fixed stations in ns-3Step #0.00Warning: period and repno are deprecated in vehicle ’1-4’, use flows instead.
iCS –> #Error while receiving command: tcpip::SocketNs3::receive() @ recv: SuccessiCS –> [ERROR] CloseNs3() Finishing NS-3
iCS –> Error occurred during iCS set-up
Quitting (on error).
Elapsed time (in seconds): 3.000000
shereen@ubuntu:~/iTETRIS_Platform_0.1.0/its_demo_app_0.1.0/example$ Error: The vehicle type ’dist’ for vehicle ’1-4’ is not known.
Quitting (on error).any suggestion? your help will be greatly appreciated
-
Lukas-Worle posted an update in the group Setup Support: 13 years, 10 months ago · View
As expected, the workaround for the sumo xerces-libs crashed during runtime. However, I found the solution for the problem. The sumo Makefile has the following entries after the ./configure command specified in the iTetris guidline:
XERCES_CFLAGS = -I/usr/local/include
XERCES_LDFLAGS =
XERCES_LIBS = -L/usr/local/lib -lxerces-cSumo couldn’t find the correct path for the libxerces, since it apparently wanted it specified in the XERCES_LDFLAGS. This can be achieved by changing the configure command to the following:
./configure –with-fox-includes=/usr/include/fox-1.6 –with-gdal-includes=/usr/include/gdal –with-proj-libraries=/usr –with-gdal-libraries=/usr –with-proj-gdal –with-xerces-libraries=”/usr/local/lib -lxerces-c”
Regards,
Lukas -
Michael-Oppermann posted an update in the group Setup Support: 13 years, 10 months ago · View
Hello,
I would test my installation with the ITS Cooperative Demo Application but I can’t find it in the iTETRIS_Platform_0.1.0.zip. Where can I download this Application?
Regards
MichaelHello Michael,
The app is now added to the source code.
Now the libraries folder and the rest of the code is separated so you do not have to download the libraries again which is quite large.
Thank you for using iTETRIS.
Regards,
Julen.
Hello Julen,
thank you for your answers. I tried to start the ITS Cooperative Demo Application (iCS -c itetris-config-file.xml) and get an error. The app is not able to connect the NS3 on port 1982.
The error causes probably by a previous error on step 2 – setup phase.WELCOME TO iTETRIS
==================
STEP 1 – SETUP PHASE
iCS –> SUMO launched.
iCS –> ns-3 launched.STEP 2 – SETUP PHASE
main-inci5: error while loading shared libraries: libns3.so: cannot open shared object file: No such file or directory
sh: demoapp: not found
Loading configuration… done.STEP 3 – SETUP PHASE
iCS –> Trying 0 to connect SUMO on port 5500…
iCS –> Connected to SUMO
OiCS –> Trying 0 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 1 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 2 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 3 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 4 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 5 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 6 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 7 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 8 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Trying 9 to connect ns-3 on port 1982 and Host localhost…
iCS –> No connection to ns-3; waiting…
iCS –> Could not connect to Ns-3I tried to start the NS3 before the ITS Cooperative Demo Application with the main-inci5 app in the NS3 scratch folder and get an error during the start of the app (./waf –run scratch/main-inci5):
No port or log file for ns-3 server introduced.
Format is: main-inci3 [port-number] [fileGeneralParameters] [fileConfTechnologies] OPTIONAL [log-path]
Exiting…Is it nessessary to start the NS3 before Demo Application or start the Demo Application the NS3 automaticly (like the SUMO)?
I found the ”communicationsim” tag in the itetris-config-file.xml and I noticed the ”communication-general-params-file” tag.
”communicationsim”
”communication-executable value=”main-inci5”/”
”communication-host value=”localhost”/”
”communication-port value=”1982”/”
”communication-general-params-file value=”./ns-3_files/configGeneral.xml”/”
”communication-config-technologies-file value=”./ns-3_files/configTechnologies-ics.xml”/”
”/communicationsim”I replaced the brackets of the tags with ” because of your forum-editor hide all xml-tags
I have no configGeneral.xml in my ns-3_files folder!
Regards
Michael
Hey Michael,
I had the same error at first, although the libns3.so was in /usr/local/lib. However, a symbolic link in the /usr/lib folder pointing at the libns3.so helped to eliminate this error. I suppose the demo application just searches the /usr/lib – folder.
cd /usr/lib
sudo ln -s /usr/local/lib/libns3.so libns3.soFor the remaining errors I suppose, that some configuration files (the ones described in the documentation) are still missing.
Julen, please correct me, if I’m wrong here
Regards,
Lukas
-
Lukas-Worle posted an update in the group Setup Support: 13 years, 10 months ago · View
Hey Julen,
thank you for the previous answers. It works fine now. I managed to install the iCS and the ns3.7 with the patch. Unfortunately, I have still some problems compiling the sumo. ’configure’ works fine, but I get an error when I try to run the ’make’ command, rather at the end, after the script entered the ../src/netgen directory. There are undefined references concerning the xerces-lib. I installed the one from the iTetris download and also the one required for the sumo-installation. Is there something else I need to consider?
Regards,
LukasIt seems to be a problem between the xerces-c-3.0.1 (from the iTetris installation) and the one needed for sumo (libxerces-c2-dev). I guess, sumo accesses the xerces-c-3.0.1-headers during the build process. I try to find out more on that and post a solution, if I can find one.
Have a nice weekend everyone!It’s working now, but still not an optimal solution.
I’ve removed the folder /usr/local/include/xercesc during installation of sumo 0.12.2 and moved it back afterwards. Maybe this could also be solved by simply telling the compiler the correct path to the libxerces 2.8 for sumo. I didn’t manage to do this, though. Hopefully this won’t cause any problems during run-time. Does anyone else has the same problem or am I the only one?Lukas
Thank you Lukas for this solution. We will have into account to enhance a troubleshooting guide.
Julen.
-
svaz joined the group Setup Support 13 years, 10 months ago · View
-
Michael-Oppermann posted an update in the group Setup Support: 13 years, 10 months ago · View
I have a new problem, which is the right ns-3 version?
I use the ns-3 Version 3.7 because of the paths in the iTetris-ns3_0.1.1.patch (for example ”diff -rupN ns-3.7/src/…”). Is it right?The patch failed with this output:
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 176.
Hunk #3 FAILED at 216.
Hunk #4 FAILED at 1000.
Hunk #5 FAILED at 1033.
Hunk #6 FAILED at 1047.
Hunk #7 FAILED at 1130.
Hunk #8 FAILED at 1161.
8 out of 8 hunks FAILED — saving rejects to file bindings/python/apidefs/gcc-ILP32/ns3_module_common.py.rej
patching file bindings/python/apidefs/gcc-ILP32/ns3_module_core.py
Hunk #1 FAILED at 93.
Hunk #2 FAILED at 351.
Hunk #3 FAILED at 1575.
3 out of 3 hunks FAILED — saving rejects to file bindings/python/apidefs/gcc-ILP32/ns3_module_core.py.rej…
The next patch would delete the file scratch/simple.cc,
which does not exist! Assume -R? [n]The right version of ns-3 is ns-3.7 as you stated. Can you write the command your are executing to apply the patch? Have you downloaded the ns-alllinone-3.7 version and applied the patch to the ns-3 folder located within it?
BR,
Sendoa
I downloaded the ns-allinone-3.7 and applied the patch in the root directory of the ns-allinone-3.7.
I used the command from the iTetris_Guidelines0.1.0.pdf:
./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local –enable-log
In order to apply the patch correctly enter the ns-allinone-3.7/ns-3.7 folder. Once you are there apply the patch. I guess the command you wrote is related to the other you have, have you checked you have installed all the necessary packages?
Sorry I wrote the wrong command. I used this one for the patch:
patch -p1 -i iTETRIS-ns3_0.1.1.patchIt works fine if I apply the patch in the ns-allinone-3.7/ns-3.7 folder.
Thanks
-
Michael-Oppermann posted an update in the group Setup Support: 13 years, 10 months ago · View
I have the same problem.
”make -f Makefile.cvs” returns the same output and the configure command returns:
…
config.status: creating src/ics/facilities/mapFacilities/Makefile
config.status: creating src/ics/facilities/mapFacilities/road/Makefile
config.status: creating src/ics/facilities/stationFacilities/Makefile
config.status: creating src/ics/facilities/messageFacilities/Makefile
config.status: error: cannot find input file: `Makefile.inIs a solution or a workaround avaliable?
Thanks
MichaHi Michale. Thanks for using iTETRIS. Sorry about the error, there was one file missing that prevented the proper building. Please download the platform and try again.
Regards,
Julen.
Hi Julen, thanks for the answer.
I downloaded the new source and get a new Error during the make-command: make -f Makefile.cvs
autoreconf -i
libtoolize: putting auxiliary files in `.’.
libtoolize: copying file `./config.guess’
libtoolize: copying file `./config.sub’
libtoolize: copying file `./install-sh’
libtoolize: copying file `./ltmain.sh’
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
configure.ac:10: installing `./missing’
src/Makefile.am: installing `./depcomp’
Makefile.am: installing `./INSTALL’
Makefile.am: required file `./NEWS’ not found
Makefile.am: required file `./README’ not found
Makefile.am: required file `./AUTHORS’ not found
Makefile.am: required file `./ChangeLog’ not found
Makefile.am: installing `./COPYING’ using GNU General Public License v3 file
Makefile.am: Consider adding the COPYING file to the version control system
Makefile.am: for your code, to avoid questions about which license your project uses.
autoreconf: automake failed with exit status: 1
make: *** [all] Error 1And the configure-command failed too:
./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local –enable-logconfigure: WARNING: you should use –build, –host, –target
configure: WARNING: invalid host type: –enable-log
checking build system type… Invalid configuration `–enable-log’: machine `–enable’ not recognized
configure: error: /bin/bash ./config.sub –enable-log failedI have the same problem. Any solutions?
HI Lukas and Michael. Sorry for the errors. With the new upload should work now.
-
Michael-Oppermann joined the group Setup Support 13 years, 10 months ago · View
-
Lukas-Worle posted an update in the group Setup Support: 13 years, 10 months ago · View
Unfortunately, I don’t get the iTetris installation working.
I continuously get an error while trying to run the configure-command:”config.status: error: cannot find input file: `Makefile.in’”
’make -f Makefile.cvs’ returns the following:
”libtoolize: putting auxiliary files in `.’.
libtoolize: copying file `./config.guess’
libtoolize: copying file `./config.sub’
libtoolize: copying file `./install-sh’
libtoolize: copying file `./ltmain.sh’
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
configure.ac:10: installing `./missing’
src/Makefile.am: installing `./depcomp’”Anything else I need to consider?
Another question concerning the ns3-patch:
It seems like it works onl with ns-3.7, is that right?
I didn’t manage to apply it to my version (3.9).I would be glad, if you could help me with these problems.
Kind regards,
Lukas -
Julen Maneros started the forum topic Welcome to the forums! in the group Setup Support: 13 years, 10 months ago · View
This is the inagural topic of the iTETRIS 10 10 10 Community! You can provide us with your feedback with this channel too.
Thanks and enjoy iTETRIS!
-
Lukas-Worle joined the group Setup Support 13 years, 10 months ago · View
-
Yoann-Lopez joined the group Setup Support 14 years ago · View
-
Julen Maneros created the group Setup Support 14 years, 2 months ago · View