-
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
thanksHi 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..
the folder is:
(path_to_ns3_main_folder)/ns-3.7/
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 oneHi 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 onehi 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, 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: 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 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 faultHere´s my setup:
Ubuntu 10.10 – Kernel 2.6.35-22
ns-3 3.7
sumo 0.12.2
iCS sources 16. Feb 2011I also needed to use Lukas´ workaround for sumo regarding the xerces libraries.
Best regards,
ManfredHello 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.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 = 99STEP 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 = 100STEP 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 -
Julen Maneros joined the group Bug reports 13 years, 9 months ago · View