Hello Umer,
You need to modify the TraCICommandInterface.cc file and the TraCICommandInterface.h file.
TraCICommandInterface.cc
void TraCICommandInterface::Vehicle::changeLane(uint8_t laneIndex, int32_t timeGo) {
uint8_t variableId = CMD_CHANGELANE;
uint8_t variableType = TYPE_COMPOUND;
int32_t count = 2;
uint8_t laneIndexT = TYPE_BYTE;
uint8_t timeT = TYPE_INTEGER;
TraCIBuffer buf = traci->connection.query(CMD_SET_VEHICLE_VARIABLE, TraCIBuffer() << variableId << nodeId << variableType << count << laneIndexT << laneIndex << timeT << timeGo);
ASSERT(buf.eof());
}
TraCICommandInterface.h
void changeLane(uint8_t laneIndex, int32_t timeGo);
You can call the function in the application, like BaseWaveApplLayer.cc file. Something like that:
traciVehicle->changeLane(0,5000); //changeLane(laneIndex,time)