Wenlong Zong @wzong ?

active 8 years ago
  • Hammi-Badis posted an update in the group Setup Support:   13 years, 5 months ago · View

    Hi members,
    I want to install ITETRIS, so I installed Sumo and NS3, after that I Installed ICS, all works well: configure, make and install, but after that when I try to patch ns3 it shows lot of fails and when I try to do ./waf install it fails.
    any help is appreciated

  • Hammi-Badis joined the group Setup Support   13 years, 5 months ago · View

  • Dennis-Sluijsmans posted on the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support:   13 years, 6 months ago · View

    For those facing the same problem, the error is due a wrong (sumo net) map file in the facilities-config-file.xml.

  • Henry-Hsu joined the group Setup Support   13 years, 6 months ago · View

  • Muhammad-Arafat started the forum topic A question about SUMO in the group Setup Support:   13 years, 7 months ago · View

    Hello,

    Could you please help me finding an answer for the following:
    “Can SUMO outputs the emissions & fuel consumptions for a SPECIFIC vehicle on the map??”

    • Avatar Image
      Muhammad-Arafat · 13 years, 7 months ago

      Just found an answer.

      through the TraCi command: ”TraCI/Vehicle Value Retrieval”, we can get those info for a specific vehicle, using its id…

      please, if somebody knows better, it is more than appreciated. :)

  • Muhammad-Arafat posted an update in the group Setup Support:   13 years, 7 months ago · View

    Dear all,

    First I would like to thank Mr. Lukas Worle for his informative contributions. Actually I encountered the same problems when running the demo app and the solutions he provided worked.
    However, I’m still stuck with the problem of ”demoapp: not found”. I did the symbolic link (ln -s itscoopdemoapp demoapp) and changed the value of the executables in the application-config-file.xml to (demoapp -c itscoopdemoapp-config-file.xml) but still facing the same problem..

    Can anybody please help me??

    many thanks in advance,

    • Avatar Image
      Muhammad-Arafat · 13 years, 7 months ago

      I got it working. The workaround should be done in /usr/local/bin.

      Now I’m facing the same problem:

      STEP 8 – SIMULATION PHASE – Tics = 100
      GeoRoutingProtocol: RouteOutput => geounicast
      UTILS: distance of neighbor 0 to destination = 13.1529
      UTILS: the min dist to dest = 13.1529 and is provided by node 0
      iCS –> [ERROR] ProcessApplicationResults()

      Regards,
      Muhammad.

      • Avatar Image
        Muhammad-Arafat · 13 years, 6 months ago

        Hi,

        I was able to run a ”demo” application on the environment. This ERROR: iCS –> [ERROR] ProcessApplicationResults() has been being produced because there is no result container class defined for ”OUTPUT_SET_SPEED_ADVICE_DEMO”, and this definition should be done in iCS side..

        Here’s what I did and I’m not sure it meant anything as an ITS Application, but it just makes sure that the environment is working..

        for other kind of errors, you can take a look at this post and the replies, they might be helpful: http://www.ict-itetris.eu/10-10-10-community/members/lukas-worle/activity/108/

        Now for the iCS –> [ERROR] ProcessApplicationResults(), do the following:

        in application-config-file.xml, use the following result container ”OUTPUT_SET_VEHICLE_MAX_SPEED”

        in server.cpp, add before line 242 the following:
        v.speed =0;
        also in server.cpp, line 266, add ”4” before ”4 + 1 + 1” to represent the number of messages.
        also in server.cpp, line 287, 294 payload length is ”4” not ”10”

        in application-logic.cpp, uncomment line 137, and comment 138.

        now you can recompile and run iCS -c itetris-config-file.xml

        Best of Luck,
        Muhamamd.

        • Avatar Image
          Mervat · 12 years, 7 months ago

          Hello Muhammad,

          I’ve tried this workaround, but it’s still giving me the same error. I even made a fresh make of the demo app, but still nothing. Any ideas what I may be doing wrong?

          Thanks in advance, your help on this is greatly appreciated!
          Mervat

  • Muhammad-Arafat joined the group Setup Support   13 years, 7 months ago · View

  • Pasquale-Cataldi joined the group Setup Support   13 years, 8 months ago · View

  • Pasquale-Cataldi posted on the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support:   13 years, 8 months ago · View

    Hi Dennis, I will investigate this behavior. I tested the subscription with the Pasubio-Costa joined map and I have no such problems.
    Do you still get the same error?

  • Darya-Stepanova posted an update in the group Setup Support:   13 years, 8 months ago · View

    Hi, I am going to use iTetris platform but first I’d like to ask. Is it possible to install and run iTetris from Linux emulation environment(like Cygwin)
    Thank you in advance,
    best wishes,
    Darya

    • Avatar Image
      Darya-Stepanova · 13 years, 8 months ago

      Hi again,
      I’ve got an answer already, thanks.
      Here it is:
      it is true that we have not tried to use iTETRIS platform in a Linux emulation environment. Nevertheless, we think that there will not be any problem.

  • Darya-Stepanova joined the group Setup Support   13 years, 8 months ago · View

  • Ellen-Grumert joined the group Setup Support   13 years, 8 months ago · View

  • Ainara Gonzalez joined the group Setup Support   13 years, 8 months ago · View

  • Manfred-Schoenheits posted an update in the group Setup Support:   13 years, 8 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, 8 months ago · View

    • Avatar Image
      Ainara Gonzalez · 13 years, 8 months ago

      Hi Manfred,
      At this moment, apart from iTETRIS specific guidelines and examples there is no additional documentation. Nevertheless, in future realeases we will try to upgrade the documentation in doxygen.
      Thank you for your feedback and interest in iTETRIS platform.
      Best regards,
      Ainara

  • Dennis-Sluijsmans started the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support:   13 years, 9 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, 9 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, 9 months ago · View

  • Lukas-Worle posted an update in the group Setup Support:   13 years, 9 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 · 13 years, 9 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 · 13 years, 9 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 · 13 years, 9 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 · 13 years, 9 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 · 12 years, 9 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 · 12 years, 7 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

  • Lukas-Worle posted an update in the group Setup Support:   13 years, 9 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-c

    Sumo 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

    • Avatar Image
      Julen Maneros · 13 years, 9 months ago

      Hello again Lukas… this look likes a related question to SUMO rather than iCS. Anyway thanks for the workaround, we will include it in the guidelines so future users can take advantage of your work. Thank you very very much.

  • Load More