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

Inaccurate agent speed in SUMO #466

Closed
liamchzh opened this issue Jan 22, 2021 · 3 comments · Fixed by #564
Closed

Inaccurate agent speed in SUMO #466

liamchzh opened this issue Jan 22, 2021 · 3 comments · Fixed by #564
Assignees
Labels
bug Something isn't working

Comments

@liamchzh
Copy link
Contributor

Need to dig into the sumo traffic sim, to see whether SMARTS set the correct speed for agents.

@liamchzh liamchzh added the bug Something isn't working label Jan 22, 2021
@Gamenot
Copy link
Collaborator

Gamenot commented Jan 25, 2021

# sumo version 1.8
# python 3.7
# SMARTS v0.4.12 release
python examples/single_agent.py scenarios/straight --headless

I am seeing some difference in speed at least what sumo-gui is telling me:

image

And then an example with a bubble agent:

image

I wonder if it is only counting speed in direction along the lane. Even still, it means that there is a significant difference.

@liamchzh
Copy link
Contributor Author

liamchzh commented Jan 25, 2021

map.zip

Can you try using this map? They reported that the speed ONLY drops when the agent is passing the intersection at the bottom. They also mentioned that the difference was significant, like 10x smaller than it should be.

@Gamenot Gamenot added this to the Backlog milestone Jan 27, 2021
@Gamenot Gamenot added the bm label Feb 3, 2021
@Gamenot
Copy link
Collaborator

Gamenot commented Feb 3, 2021

SUMO's speed here is the projection to the lane from the vehicle velocity.

@Gamenot Gamenot changed the title Investigation: inaccurate agent speed in SUMO Inaccurate agent speed in SUMO Feb 3, 2021
@Gamenot Gamenot linked a pull request Feb 10, 2021 that will close this issue
@Gamenot Gamenot closed this as completed Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants