Muhammad-Arafat @muhammad-arafat ?

active 13 years ago
"“A” demoapp is woking.." · View
  • 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