-
Yodi Suhasta joined the group Setup Support 12 years, 3 months ago · View
-
Ke Xu posted an update in the group iTetris Custom Application Development: 12 years, 3 months ago · View
Hello,
First thank the developers for providing version 0.2.0 and this time the app can be run without any error.
After reading guideline0.2.0 and running the demo app, I am still struggling to figure out how to modify the demo app. For example, the easiest test is to change the advised speed sending from RSU to vehicles. I can’t find where this value is set(or generated) at the very beginning, even if I know it is saved in ResultContainer and can find the info in the log file.
I just wonder if there is any documentation, except the guideline, which teaches users and gives examples of how to modify and write your own app on iTETRIS. Do you guys have any similar experience? I appreciate it if someone could share any helpful hints and suggestions.
Thanks,
KeMaybe you can see code in file folder” applications_manager”.
I am trying to customize itetris example.
For example to change the advised speed sending from RSU to vehicles, you will find it in community-demo-app/src/application-logic.cpp
vector
ApplicationLogic::SendBackExecutionResults(int senderId, int timestep)
{
vector results;if (timestep >= m_appStartTimeStep && senderId == 5000) {
// Loop vehicles in the area, one message per vehicle
for (vector::const_iterator it = m_vehiclesInArea.begin() ; it != m_vehiclesInArea.end() ; it++) {
AppMessage message;
message.messageId = ++m_messageCounter;
message.status = kToBeScheduled;
message.senderId = senderId;
message.destinationId = (*it).id;
message.createdTimeStep = timestep;
//message.payloadValue = (*it).speed + 10;
message.payloadValue = 0; //here you can change the advised speed
m_messages.push_back(message);
}// Keep in safe place all the results to send back to the iCS
results = m_messages;// Loop current messages to find those to be applied and erase from the result record
for (vector::iterator it = m_messages.begin() ; it != m_messages.end() ; it++) {
if ((*it).status == kToBeApplied) {
m_messages.erase(it); // The value will be applied so there is no need to have it registered any longer
}
}
}return results;
}message.payloadValue = 0; //here you can change the advised speed
-
Yordan Mihaylov posted on the forum topic error connecting to SUMO in the group Setup Support: 12 years, 4 months ago · View
Hi,
according to the guideline provided you should use SUMO 0.14.0.
But as I see in the output log, connecting SUMO succeeds on the second try (there are a total of 9 retries).
Cheers
Yordan -
Raik-Aissaoui joined the group iTetris Custom Application Development 12 years, 4 months ago · View
-
Raik-Aissaoui joined the group Setup Support 12 years, 4 months ago · View
-
Yordan Mihaylov joined the group Setup Support 12 years, 5 months ago · View
-
Yordan Mihaylov joined the group iTetris Custom Application Development 12 years, 5 months ago · View
-
Xin Wei posted on the forum topic WAVE 802.11p in the group Setup Support: 12 years, 6 months ago · View
when I read the document about ns3.7, it tells a New user-visible feature 802.11p WiFi standards .http://code.nsnam.org/ns-3.7/raw-file/2f6a291ab441/RELEASE_NOTES
-
Xin Wei joined the group Setup Support 12 years, 6 months ago · View
-
Xin Wei posted on the forum topic WAVE 802.11p in the group Setup Support: 12 years, 6 months ago · View
“There are a collection of NetDevice objects in ns3,including WifiNetDevice and it models a wireless network interface controller based on the IEEE 802.11 standard”,and in wifi folder,there is a file called wifi-phy-standard.h you can find something about 802.11p,and I think if 802.11p is implemented it should be in this fold,but I only find 802.11a! best [...]
-
Adyson Magalhães Maia posted on the forum topic WAVE 802.11p in the group Setup Support: 12 years, 6 months ago · View
I have the same doubt. Does anyone know where are the WAVE’s codes?
-
Ke Xu joined the group iTetris Custom Application Development 12 years, 6 months ago · View
-
Ke Xu joined the group Setup Support 12 years, 6 months ago · View
-
Adyson Magalhães Maia posted an update in the group Setup Support: 12 years, 6 months ago · View
Hi, iTetris is compatible witch Ubuntu 12.04, ns-3.13 and sumo-0.15.0 ?
Hi Adyson, I think Ubuntu 10.04 and 10.10 is fine, other version haven’t been tried. ns-3.7 is a must. I used sumo-0.15 but stuck on the demo app. Then switch to sumo-0.12.3 the demo goes futher but still has some errors. -Ke
hi,, i trying to install iTetris in ubuntu 12.04 and i have done, but when i try installing ns-3.7 i have many problems, i got error,,is iTetris compatible with stable release ns-3, like ns-3.14 …? or iTetris only compatible with ns-3.7 ??
thanks in advance
The current iTetris(0.2.0) is only compatible with ns-3.7.
thanks for your reply Xu,,
i think i have to use ubuntu 10.10 for installing ns-3.7 cause i don’t know i got many error,,
i will try,,thanks in advance..
-
Adyson Magalhães Maia joined the group Setup Support 12 years, 6 months ago · View
-
Mervat joined the group iTetris Custom Application Development 12 years, 7 months ago · View
-
Sherin Abdel Hamid joined the group iTetris Custom Application Development 12 years, 7 months ago · View
-
Sherin Abdel Hamid joined the group Setup Support 12 years, 7 months ago · View
-
ZOU Rui joined the group Setup Support 12 years, 7 months ago · View
-
Xiaoyan-Hong posted an update in the group Setup Support: 12 years, 9 months ago · View
when I using the following command:
sudo patch -p1 -i ~/ITS/iTETRIS_Platform_0.1.0/iTETRIS-ns3_0.1.1.patch
get an error! as follows:
wyohong@wyohong:~$ sudo patch -p1 -i ~/ITS/iTETRIS_Platform_0.1.0/iTETRIS-ns3_0.1.1.patch
can’t find file to patch at input line 4
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|diff -rupN ns-3.7/bindings/python/apidefs/gcc-ILP32/callbacks_list.py ns-3/bindings/python/apidefs/gcc-ILP32/callbacks_list.py
|— ns-3.7/bindings/python/apidefs/gcc-ILP32/callbacks_list.py 2011-01-28 18:27:55.584845932 +0100
|+++ ns-3/bindings/python/apidefs/gcc-ILP32/callbacks_list.py 2010-05-18 23:18:53.656523000 +0200
————————–
File to patch: - Load More