0

veins error I want to get last step vhicle number of one lane. So i have build a function by "LAST_STEP_VEHICLE_NUMBER" in TraCIConstants.h. The function is shown in Figure 2.function When the function was invoked ,the error come. How to solve the problem above?

Decem
  • 1

1 Answers1

0

The number of vehicles is an integer so you should probably use genericGetInt (and return an int) instead of double.

Michael
  • 3,510
  • 1
  • 11
  • 23