UAlbertaFSAE / f1tenth

MIT License
0 stars 0 forks source link

GUI's through docker on Mac's #79

Closed Jquinny closed 4 weeks ago

Jquinny commented 1 month ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

Right now, members with mac's have to use a VM to run any GUI applications from inside the docker containers. The VM is quite jank, so it would be nice if members could run docker normally in macos without needing a VM.

Describe the solution you'd like A clear and concise description of what you want to happen.

When members spin up the devcontainer through vscode, the simulator container also gets spun up, and the simulator RViz GUI is supposed to pop up (either automatically or with a few extra steps, like what windows WSL user's have to do).

The ideal would be that members simply have to install an xserver like xquartz and launch it before spinning up the dev containers. If we can even get it to work in the same way that WSL does where members have to export new DISPLAY variables in the containers after spinning them up, that is good enough to start with.

VNC could also be an alternative, but might require more of an overhaul of the existing infrastructure. If this looks like a promising option though, feel free to pursue it and see how it goes.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

some potentially helpful links: