Site Activity
-
Dennis-Sluijsmans posted on the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support: 14 years, 12 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 15 years ago · View
-
Muhammad-Arafat posted an update in the group Bug reports: 15 years 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: SuccessI 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 15 years ago · View
-
Muhammad-Arafat posted an update: 15 years ago · View
”A” demoapp is woking..
-
Yoann-Lopez and Fatma-Hrizi are now friends 15 years ago · View
-
Hammi-Badis commented on the blog post iTETRIS platform is already available! 15 years ago · View
hi,
can you please send me the link to download the itetris platform. thank you -
Muhammad-Arafat posted an update: 15 years 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_ESTIMATIONRegards,
Muhammad -
Muhammad-Arafat started the forum topic A question about SUMO in the group Setup Support: 15 years, 1 month 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??” -
Muhammad-Arafat posted an update in the group Setup Support: 15 years, 1 month 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,
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.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.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 15 years, 1 month ago · View
-
Pasquale-Cataldi and Ainara Gonzalez are now friends 15 years, 1 month ago · View
-
Pasquale-Cataldi joined the group Setup Support 15 years, 1 month ago · View
-
Pasquale-Cataldi posted on the forum topic [facilities] ERROR: The loaded map does not contain any lane! in the group Setup Support: 15 years, 1 month 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: 15 years, 2 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 -
Darya-Stepanova joined the group Setup Support 15 years, 2 months ago · View
-
Ellen-Grumert joined the group Setup Support 15 years, 2 months ago · View
-
Ainara Gonzalez joined the group Setup Support 15 years, 2 months ago · View
-
Manfred-Schoenheits posted an update in the group Setup Support: 15 years, 2 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 15 years, 2 months ago · View
- Load More
