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.

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;

// 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
}
}
}