Skip to content
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

The Question about Speed Limit of Road #45

Open
ghost opened this issue Jun 3, 2021 · 1 comment
Open

The Question about Speed Limit of Road #45

ghost opened this issue Jun 3, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 3, 2021

I find that the speed of veh could be larger than the speed limit of the road.

The console output:

veh:
{'distance': [14.666666666666668], 'drivable': [248000.0], 'road': [2480.0], 'route': [2480.0, 5388.0, 2249.0, 3059.0, 3597.0, 3562.0, 3131.0, 2537.0, 2701.0, 1301.0, 1415.0, 405.0, 735.0, 734.0, 216.0, 1290.0, 150.0, 1270.0, 2840.0], 'speed': [16.666666666666668], 'start_time': [1284.0], 't_ff': [526.956]}
road:
{'start_inter': 28326565261, 'end_inter': 48326565264, 'length': 352.0, 'speed_limit': 11.11111111111111, 'num_lanes': 3, 'inverse_road': 2479, 'lanes': {248000: [1, 0, 0], 248001: [0, 1, 0], 248002: [0, 0, 1]}}

We can find the speed of this veh in road 2480 is 16.67 while the speed limit of the road is 11.111.

Is it a Bug?

@Kanstarry9T
Copy link
Contributor

Lane speed limit is the upper bound if a vehicle accelerate on the lane, however, some vehicle may decelerate while traveling from another road segment with higher speed limit, and have not decelerated to travel at the speed limit of current road segment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant