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

sumo-gui Road color setting #14850

Closed
HRYEJJKUK opened this issue May 10, 2024 · 4 comments
Closed

sumo-gui Road color setting #14850

HRYEJJKUK opened this issue May 10, 2024 · 4 comments

Comments

@HRYEJJKUK
Copy link

Hi.
When I set the road color for sumo-gui, I found that I can only set it for each lane on all roads. Is it possible to not show the lane color and only show the road color?I need to have each edge render the same color instead of different lanes in the edge rendering different colors.
image
image
SUMO-version:sumo 1.19.0

operating system:win 10

@m-kro
Copy link
Contributor

m-kro commented May 10, 2024

Speeds (and speed limits) are computed/set mostly on lane level. That's why the colouring scheme works on lane level as well. Edge Data has mean edge speed values and can be replayed in sumo-gui using the apposite colouring scheme. If you really need this, it might be the way to go.

@HRYEJJKUK
Copy link
Author

I need to implement using sumo-gui that the colour of the edge changes in real time with the average speed on the edge. So how do I do that? I don't find the option for edge mean speed in the following slide down menu.
image

@m-kro
Copy link
Contributor

m-kro commented May 10, 2024

@zihaooo
Copy link

zihaooo commented May 10, 2024

Check this out #14670 (comment) in case you want to do it in real-time.

@m-kro m-kro closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants