Closed Joe12138 closed 2 years ago
Sorry for the very late reply. For Question 1, yes, the class parameter "self.overtaken" is used to indicate whether the vehicle is affected by the ego vehicle, and thus should not be following the recorded trajectory. For Question 2, that might be a mistake, and I have deleted that line. For Question 3, I don't think the trajectories are too short, because 4 seconds is long enough.
Hi! Thanks for your excellent work! But I am confused when I read the source code. Can you answer my question?
Question 1
In
Class NGSIMVehicle
, there is one class parameter "self.overtake", what does it use for? Because I noticed that it was alwaysFalse
. And,NSIMVehicle
should be follow the trajectory recorded in the NGSIM dataset. Does it use to control if the vehicle overtaken other vehicles or not when NGSIMVehicle change to IDMVehicle? Here is the source code:Question 2:
In file
humandriving.py
classNGSIMVehicle
methodact()
:Does the code
self.check_collision
right? Since it is a method which needs to be passes parameter.Question 3
Another problem is that if I only use the dataset (the maximum length of vehicle trajectories in this dataset are 4s (40 frames)) to train, are the trajectories too short? Because I want to use INTERACTION dataset to train.