cv icon indicating copy to clipboard operation
cv copied to clipboard

Create initial empty vslam-sandbox GUI

Open vadixidav opened this issue 4 years ago • 4 comments

This task is to get vslam-sandbox running with a simple GUI. The command line arguments should be used exactly the same way they are today, but the GUI should contain info logs as if one used RUST_LOG=info at the command line. The GUI and application exit after all the processes that are currently done are done. GUI should be made with iced for wgpu compatibility.

vadixidav avatar Aug 30 '20 16:08 vadixidav

A quick question here, the GUI and the command line arguments should become a single executable of do you want to keep them separate? if yes, how the program should know if the program should run in command line or open a window?

codec-abc avatar Sep 02 '20 10:09 codec-abc

@codec-abc vslam-sandbox will become the GUI. You can pass command line arguments to a GUI. When it runs, it will always open a GUI. It will just perform the same things it does today, but with the logs displayed in the GUI.

vadixidav avatar Sep 02 '20 16:09 vadixidav

Ok I understand more what you have in mind. My question was more about headless servers. Because today, it should work almost anywhere but if we required a GUI (especially since a one that draw 3D with webgpu) it might not work everywhere or could crash because of some faulty drivers or something else.

codec-abc avatar Sep 02 '20 16:09 codec-abc

We can create a series of separate command line utilities later. vslam-sandbox should become a GUI only. At some point we can take the various functions it performs and turn them into separate utilities. What it was doing before was running everything all-in-one, but we will want to split everything out a bit more so a user can run small steps at the command line. Alternatively, we might create some kind of command line thing that takes in a list of operations to perform in a batch to avoid saving/reloading. However, vslam-sandbox will remain just a GUI, and we can make all of that later.

vadixidav avatar Sep 03 '20 14:09 vadixidav