Site Activity

  • Josef-Jiru joined the group Setup Support   13 years, 5 months ago · View

  • Hammi-Badis posted an update:   13 years, 5 months ago · View

    HI guys:
    sorry for the delay I was in travel,
    so what do I must do to install it because I use ns3.10, must I use ns3.7,
    other question; in the manual they demand to execute WAF with debug option ”./waf -d debug configure” and ”./waf install” after that but they don’t say in which directory, if it’s the ns-3 directory it will do anything without patch because it will be ns-3 building normally.
    if there is any advices or other tutorials for how to install ITETRIS i’ll be really thankfull.
    thanks and have a good one, I wish get a fast reply .

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

      Hello Hammi,

      using ns3.7 is a must.

      here’s a quick tutorial of what you need to do:(remember using root user privileges)
      1) build ns3.7
      – you may use the python script ./build.py in the main folder of ns-3 (typically named ns-allinone-3.7)
      – or you may use waf commands you mentioned in ur post inside the folder(ns-allinone-3.7/ns-3.7/ )

      2) patch the installed ns: (inside the same folder where you could use ”waf”).

      3) rebuild ns3: but this time USING waf commands.

      Good Luck..

      Note: if you want to uninstall your ns3.10, I think you can use ./waf uninstall

      • Avatar Image
        Hammi-Badis · 13 years, 5 months ago

        HI,
        thanks a lot for your reply but I did exactly what like you said but when I try to build ns-3 after the patch, it shows errors ”below”
        other question, please can you tell me how can I know that I installed well my ITETRIS,

        Build failed
        -> task failed (err #1):
        {task: cxx c2c-list-routing.cc -> c2c-list-routing_1.o}
        -> task failed (err #1):
        {task: cxx olsr-routing-protocol.cc -> olsr-routing-protocol_1.o}

        thanks a lot and have a good one

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

          Hello again,
          the errors ns-3 is facing are probably due to C++ compiler version, try the following commands:
          CXX=”g++-4.4” ./waf -d debug configure
          and
          CXX=”g++-4.4” ./waf install

          As for how would you know if you had well installed your iTETRIS, you may try to build the demo app provided with the platform. You will face some problems, however most of them have been covered within this community.

          Good Luck,

          Muhammad

          • Avatar Image
            Hammi-Badis · 13 years, 5 months ago

            Hi mouhamed,
            first thanks for your help,
            before trying what you suggest me to do i’ll send you the errors that I get when I try to do the patch ”the last lines of the output”:
            Apply anyway? [n]
            Skipping patch.
            4 out of 4 hunks ignored — saving rejects to file src/routing/olsr/olsr-routing-protocol.cc.rej
            patching file src/routing/olsr/olsr-routing-protocol.h
            patching file src/test/ns3tcp/ns3tcp-socket-test-suite.cc
            patching file src/test/ns3tcp/wscript
            patching file src/wscript
            patching file utils/check-style.py
            patching file utils/utils.h
            patching file VERSION
            Hunk #1 FAILED at 1.
            1 out of 1 hunk FAILED — saving rejects to file VERSION.rej
            patching file waf-tools/shellcmd.py
            Reversed (or previously applied) patch detected! Assume -R? [n]
            Apply anyway? [n]
            Skipping patch.
            1 out of 1 hunk ignored — saving rejects to file waf-tools/shellcmd.py.rej
            patching file wscript
            patching file wutils.py

            thank you a lot and have a good one.

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

              Honestly, I don’t know if I can get you out of this. But I did face such problems before and a fresh installation worked out for me pretty well..

              Sorry.

              • Avatar Image
                Hammi-Badis · 13 years, 5 months ago

                I tried it lot of times but without success.
                thanks for your help

  • Hammi-Badis posted an update in the group Bug reports:   13 years, 6 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
    thanks

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

      Hi Hammi,

      First you need to make sure that you are applying the patch with an admin privileges. you can try ”sudo”, I, myself, would rather use ”su”

      then you have to apply the patch in the following folder:
      /ns-3.7/

      Good Luck..

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

        the folder is:
        (path_to_ns3_main_folder)/ns-3.7/

    • Avatar Image
      Hammi-Badis · 13 years, 5 months ago

      Hi,
      first thanks for your replay,
      for the errors, they are generated following the patch of ns-3.7.1 and yes I’m interested by your documentation, I use ubuntu 10.10 can you send me your guide to try installing ITETRIS following it advices??
      thanks a lot and have a good one

    • Avatar Image
      Hammi-Badis · 13 years, 4 months ago

      Hi Hanno, I allowed my self sending you this message on an old reply because I’m really cornered, and there is no ”lot of help” although you were the only who helped me to get solutions for my problems, so I want to know how can I implement my own network stack ”ns-3 level”, is there any support ”documentations or rules” for the use of the different tags that we can use in the different configuration files??? ”ConfWaveVehicle.xml” for exemple.
      I hope get a reply and thanks a lot.
      have a good one

    • Avatar Image
      Hammi-Badis · 13 years, 4 months ago

      hi hanno,
      first thanks a lot for you’re reply, and for my problem I want to know the tags that I can use and how, for the stacks ”from what I read” yes we can use our stack but it needs to be programmed first.
      thanks again and have a good one

  • Hammi-Badis posted an update:   13 years, 6 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 Bug reports   13 years, 6 months ago · View

  • Hammi-Badis posted an update in the group Setup Support:   13 years, 6 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, 6 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 posted an update in the group Bug reports:   13 years, 6 months ago · View

    Hi,
    I’ve been trying to use the subscription ”SUB_RECEIVED_CAM_INFO”, but I keep getting this error message:

    STEP 4 – SETUP PHASE
    Error: Invalid argument: Storage::readChar(): invalid position
    iCS –> #Error while receiving response from Application: tcpip::Socket::receive() @ recv: Success

    I added some similar code to Server::LookForNewSubscriptions:

    bool
    Server::LookForNewSubscriptions() {
    int timestep = myInputStorage.readInt();
    int nodeId = myInputStorage.readInt();

    // create reply message
    writeStatusCmd(CMD_ASK_FOR_SUBSCRIPTION, APP_RTYPE_OK, ””);

    if (!ApplicationLogic::m_camAreaIsSet) {
    Area area = ApplicationLogic::GetCamArea();
    SubsSetCamArea(myOutputStorage, nodeId, timestep, area);
    } else if (!ApplicationLogic::m_returnCarAreaIsSet) {
    Area area = ApplicationLogic::GetReturningCarArea();
    SubsReturnCarsInZone(myOutputStorage, nodeId, timestep, area);
    } else if (!ApplicationLogic::m_returnCamMessagesInfoIsSet) {
    bool flag = ApplicationLogic::SetCamInfoFlagToTrue();
    SubsReceivedCamInfo(myOutputStorage, nodeId, timestep);
    } else if (ApplicationLogic::m_camAreaIsSet && ApplicationLogic::m_returnCarAreaIsSet && ApplicationLogic::m_returnCamMessagesInfoIsSet) {
    StopAskingForSubscription(myOutputStorage, nodeId, timestep);
    }

    return true;
    }

    and here’s the function that forms the second primitive of the reply:

    bool
    Server::SubsReceivedCamInfo(Storage& myOutputStorage, int nodeId, int timestep) {
    // command length
    myOutputStorage.writeUnsignedByte(1 + 1 + 1);
    // command type
    myOutputStorage.writeUnsignedByte(CMD_ASK_FOR_SUBSCRIPTION);
    // subscription type
    myOutputStorage.writeUnsignedByte(SUB_RECEIVED_CAM_INFO);

    return true;
    }

    I can’t see where I went wrong.. I even checked how iCS receives this primitive, and it was just three unsigned bytes.

    please help me,

    Kind Regards,
    Muhammad

  • Muhammad-Arafat joined the group Bug reports   13 years, 6 months ago · View

  • Muhammad-Arafat posted an update:   13 years, 6 months ago · View

    ”A” demoapp is woking..

  • Yoann-Lopez and Fatma-Hrizi are now friends   13 years, 7 months ago · View

  • Hammi-Badis commented on the blog post iTETRIS platform is already available!   13 years, 7 months ago · View

    hi,
    can you please send me the link to download the itetris platform. thank you

  • Muhammad-Arafat posted an update:   13 years, 7 months ago · View

    Can someone please explain the difference between the following subscriptions?

    SUB_TRAVEL_TIME_ESTIMATION_START
    SUB_TRAVEL_TIME_ESTIMATION_END
    SUB_TRAVEL_TIME_ESTIMATION

    Regards,
    Muhammad

  • 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 and Ainara Gonzalez are now friends   13 years, 8 months ago · View

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

  • Load More