ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.39k stars 1.41k forks source link

Docker configuration #414

Closed kekeblom closed 3 years ago

kekeblom commented 3 years ago

Added a simple Docker configuration. This allows people on other than the supported operating systems and ros versions to still run it.

We could also build and publish the image on the docker registry, which would allow people to run Kalibr without having to build it.

Hopefully, this would make the project more future proof.

If you think this should be merged, I'm happy to write the documentation for how to use it on the wiki.

kekeblom commented 3 years ago

Modified it to include glvnd inside the docker container. The run script will run using the NVidia docker runtime, which allows mounting the x server inside the container. This allows for the plotting and other graphical tools to work with the container setup.

On the other hand, this might be considered a step backwards as it now requires NVidia hardware and an x server. We could provide a separate run script which does not require the NVidia container runtime.

floriantschopp commented 3 years ago

Works like a charm, thanks a lot for the addition! We could consider using this to make it accessible also for non-nvidia hardware? see kekeblom/kalibr/#1