Replies: 1 comment
-
Hey @yibork, onVehicleUpdated(VehicleData previousVehicleData, VehicleData updatedVehicleData) {
if (!Objects.equals(updatedVehicleData.getRoadPosition().getConnectionId(), previousVehicleData.getRoadPosition().getConnectionId())) {
// do something
}
} Regarding your second question, I'm not quite sure what you are trying to ask, can you maybe specifiy, e.g., what do you mean by "default configuration"? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have the following questions:
1. I want to get the edge id of a specific vehicle whenever its values is updated.
2. If we keep the default configuration and not including the etsi.json file will all the vehicles be updated in every simulation step?
Best,
Beta Was this translation helpful? Give feedback.
All reactions