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
Simulation run/stop toggle via space bar #10068
Comments
The hotkeys ctrl+a, ctrl+s, ctrl+d are available for this. See the 'Simulation' Menu for reference. |
I know about these hotkeys. It's just from my experience with e.g. electronic measuring/capture systems that it's very handy to suddenly be able to hit the space key if you see an event where you want to freeze. |
I see your point and will consider adding the space key. |
The breakpoint concept is familiar, however in a code debug environment. In the SUMO case, I just discovered why I found some breakpoints in the table. The reason (from the doc): "by clicking on an underlined time value in the message/warning log area ..." BTW: I had to tag this issue as "feature request" or the like. |
Your suggestion received overwhelming support |
Well, one could also add other key bindings... e.g.
Update (edit):
|
If all those changes would be implemented, almost full keyboard control is possible. That permits it to add full screen mode as well (F11). This is especially helpful since the graphics does not support anti-aliasing (as far as I know, OSes only control aliasing properties of text). For this reason zooming in is required more often in order so see details better. |
…to ctr+a, ctrl+s, ctrl+d. refs #10068. Thanks to rjmaris
regarding your other suggestsions
|
Am 22.02.2022, 09:46 Uhr, schrieb Jakob Erdmann ***@***.***>:
regarding your other suggestsions
B for adding a breakpoint is a good idea
reversing is not possible at the moment.
I can imagine that it's difficult to rewind a collision, just as is also the case for the real world. I'd believe that rewinding is possible only when the exact full state of each of (e.g.) the last 20 simulation steps be stored in a ringbuffer, so that one could step back up to 20 steps.
It's the question whether saving the whole state takes too much time. But that's hardly believable when I consider the mass movements performed onto the display. And a ring buffer with pointers is an efficient concept.
looping might be made possible via #10198
The string buffer (as a solution option) requirement is already mentioned by you.
PgUp and PgDown are currently used for scrolling but they would indeed be more useful for delay control
I'm not convinced about the usefulness for a scale-hotkey
Right, this is merely the mentioning of an idea. I'm aware of it that this parameter would usually stay unchangned during a simulation.
full-screen mode is available via Ctrl+f (though there are some issues with returning from full-screen on linux
Not only linux, but especially when you're working with two screens. The program understands full screen as spawning over both screens (which is not intended when these are different pixel geometry). Usually full screen options spawn to full of the screen where the window lives. I.e.: "kiosk" mode.
|
Space should be working now, For the breakpoint hotkey, see #10400 |
As an aid in quick stop and restart of a running simulation, the space bar could serve good value when a quick pause is requesten upon viewing a specific behaviour.
If possible, upload an example that shows your problem.
SUMO-version: 1.12
operating system: Linux Mint 20.4
The text was updated successfully, but these errors were encountered: