10 10 10 Community

  • Home
  • About
  • FAQ
  • Requirements
  • Support
  • License
  • Activity
  • Members
  • Groups
  • Forums
  • Avatar

    Lukas-Worle posted an update in the group Setup Support:   14 years, 4 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 gefunden

    WELCOME 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 fault

    STEP 3 – SETUP PHASE
    iCS –> Trying 0 to connect SUMO on port 5500…
    iCS –> Connected to SUMO

    iCS –> 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-3

    Step #0.00Warning: period and repno are deprecated in vehicle ’1-4’, use flows instead.

    Lukas

    • Avatar Image
      Julen Maneros · 14 years, 4 months ago

      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.

      • Avatar Image
        Lukas-Worle · 14 years, 4 months ago

        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 gefunden

        WELCOME 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 node

        STEP 3 – SETUP PHASE
        iCS –> Trying 0 to connect SUMO on port 5500…
        iCS –> Connected to SUMO

        iCS –> Trying 0 to connect ns-3 on port 1982 and Host localhost…
        iCS –> Connected to ns-3

        iCS –> 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 Applications

        Step #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.000000

        • Avatar Image
          Lukas-Worle · 14 years, 4 months ago

          I got it working now.
          Had to change the executable command in application-config-file.xml to

          demoapp -c itscoopdemoapp-config-file.xml

          and the socket value in itscoopdemoapp-config-file.xml to

          socket value=”1986”

          • Avatar Image
            Julen Maneros · 14 years, 4 months ago

            Thanks Lukas for the heads up. We are going to update the source soon with your comments.

            Thank you!

          • Avatar Image
            Asif-Sardar · 13 years, 4 months ago

            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.

          • Avatar Image
            Sherin Abdel Hamid · 13 years, 2 months ago

            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-3

            Step #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

  • iTETRIS is a project funded by the European Commision (7th Framework Programme)
    7th Framework Programme
  • Copyright © 2010 iTetris Project Consortium - All rights reserved
  • Accesible design with XHTML and CSS