Hi, friends I am using SUMO 0.26.I am trying to use TraCI for Traffic Light Control.For now I am calling the functions defined in TraCIAPI.h in the following manner: std::vector<TraCIAPI::TraCILink> controlledLinks = client.trafficlights.getControlledLinks( trafficLights[i] ) std::vector<TraCIAPI::TraCILogic> logic = client.trafficlights.getCompleteRedYellowGreenDefinition( trafficLights[i] );
where trafficLights is the list of TL IDs. But, always get the next message: terminate called after throwing an instance of 'std::invalid_argument' what(): tcpip::Storage::readIsSafe: want to read 9472012 bytes from Storage, but only 298 remaining Aborted It is ok if I call functions returning list of strings (e.g. std::vector<std::string> controlledLanes = client.trafficlights.getControlledLanes(trafficLights[i]);). Can anyone help with this problem.Am I using them in the wrong way?If yes what should the correct way be? Kind regards,Maksat ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
