ihmcrobotics / simulation-construction-set-2

Graphical user interface for visualizing control variables from either a server, a log file, or a simulation.
Apache License 2.0
13 stars 0 forks source link

Ability to crop and uncrop the buffer #169

Open jerryepratt opened 8 months ago

jerryepratt commented 8 months ago

There are times when you want to zoom in on some data. One way is to crop the buffer. But then you lose that data.

Feature request:

Some sort of mode where you only see the data between the in and out point, but then can switch to see all the data (so that you can reset the in and out points too).

One option is to all for "uncropping" a buffer.

Another option is to add a checkbox in the DataBuffer menu, where when the check box is checked, you don't see any of the data outside of the in point and out point. Then when you uncheck it, you see that data again.

calvertdw commented 8 months ago

I had this issue too and then I saw Sylvain use the plus and minus magnifying glass buttons to zoom in and out, and I felt dumb for a second. Do those buttons solve your issue? image

jerryepratt commented 8 months ago

I had this issue too and then I saw Sylvain use the plus and minus magnifying glass buttons to zoom in and out, and I felt dumb for a second. Do those buttons solve your issue? image

Nope. There are additional reasons to entirely remove the other data from view. Some of the reasons include having the start of the data align with the left side of the screen, and the right with the right side without having to do a bunch of drags and clicks. Another one is when you are dragging the timeline bar, if you go off the right side of the screen and out of the data window that you care about, it takes a bit of effort to get back to where you were. By having the other data removed from the view, your cursor will stop once it hits the edges of the data window, rather than pulling in data you don't care about.

Being able to switch between these modes really quickly will be helpful. Something like a checkbox on the button list, maybe near the +/- buttons would be good.