-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lag in v2x_manager #220
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI i am new to reading OpenCDA code. I may found the logic of v2x_manager add lag have improvement space !!
So i want to verfiy it with you .
The v2x_manager logic to add lag depends on the ego car pos list longer or shorter than self.lag . But in real world the comuncaiton lag mainly depends on the distance between two CAVs.Or the lag come from other issues like network congestion and so on .
the code in core/common/v2x_manager.py
** def get_ego_pos(self):
"""
Add noise and lag to the current ego position and send to other CAVs.
This is for simulate noise and lagging during communication.
The text was updated successfully, but these errors were encountered: