Imen-Aouini @imen-aouini ?

active 10 years, 4 months ago
  • Konstantinos-Katsaros joined the group Bug reports   13 years, 4 months ago · View

  • Hammi-Badis posted an update in the group Bug reports:   13 years, 4 months ago · View

    Hi,
    when I read about how Itetris wwork I saw that for making an application ”I want to make communication between vehicles a simple echo application” I must do an application module but I don’t know how to do it, so any advices or documentation is appreciated.
    thank you and have good one

  • Josef-Jiru joined the group Bug reports   13 years, 5 months ago · View

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

  • Rouah joined the group Bug reports   13 years, 9 months ago · View

  • Manfred-Schoenheits posted an update in the group Bug reports:   13 years, 9 months ago · View

    Hello everyone, i´m having almost the same problem, but i also get a segmentation fault when running the demo application:

    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 while receiving command: tcpip::SocketNs3::receive() @ recv: Success[ERROR] ScheduleResult() Error while scheduling id based Txon
    iCS –> [ERROR] ProcessApplicationResults()Segmentation fault

    Here´s my setup:
    Ubuntu 10.10 – Kernel 2.6.35-22
    ns-3 3.7
    sumo 0.12.2
    iCS sources 16. Feb 2011

    I also needed to use Lukas´ workaround for sumo regarding the xerces libraries.

    Best regards,
    Manfred

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

      Hello Manfred,

      Thank you for your feedback.

      We are working on it. I will try to reproduce your error and try to come back ASAP.

      Best regards,
      Julen.

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

        Hello Julen, were you ever able to figure out how to solve this problem?? We have just adopted iTETRIS, and it would be nice if I were able to run the demo app for my professor.

        Kind regards,
        Muhammad.

  • Manfred-Schoenheits joined the group Bug reports   13 years, 9 months ago · View

  • Lukas-Worle posted an update in the group Bug reports:   13 years, 9 months ago · View

    I experienced the following problem while running the iCS demo application:

    iCS –> Global simulation timestep is: 99; last step is: 3000
    ================================================
    STEP 5 – SIMULATION PHASE – Tics = 99
    STEP 6 – SIMULATION PHASE – Tics = 99
    0.000000
    0.000000
    STEP 7 – SIMULATION PHASE – Tics = 99

    STEP 8 – SIMULATION PHASE – Tics = 99
    STEP 9 – SIMULATION PHASE – Tics = 99
    iCS –> Global simulation timestep is: 100; last step is: 3000
    ================================================
    STEP 5 – SIMULATION PHASE – Tics = 100
    STEP 6 – SIMULATION PHASE – Tics = 100
    STEP 7 – SIMULATION PHASE – Tics = 100

    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()
    ns-3 server –> Finishing server….

    Success.
    Elapsed time (in seconds): 11.000000
    Error: Socket exception: tcpip::Socket::receive() @ recv: Success
    Step #101.00 (0ms ?*RT. ?UPS, vehicles TOT 58 ACT 42)

    This seems to be a problem with the demo application, since it is supposed to start at time step 100 (as defined in itscoopdemoapp-config-file.xml). Are there any solutions for this problem? Maybe there is something wrong in one of the configuration files?

    There is also no file ’configGeneral.xml’ like specified in the itetris-config-file. Can the configGeneral.txt be used?

    Regards,
    Lukas

    • Avatar Image
      Sherin Abdel Hamid · 12 years, 7 months ago

      Hi Lukas,
      I’m stuck with the same problem, did you manage to solve it?

  • Julen Maneros joined the group Bug reports   13 years, 9 months ago · View