onlytailei / CppRobotics

cpp implementation of robotics algorithms including localization, mapping, SLAM, path planning and control
MIT License
1.83k stars 490 forks source link

Support devcontainer & codespace #12

Closed mjyc closed 1 year ago

mjyc commented 1 year ago

This PR adds a devcontainer config to quickly run CppRobotics with VSCode using the development container. For dev container details, see https://code.visualstudio.com/docs/devcontainers/containers

The main advantages of using devcontainer are (1) no need to install dependencies in your local machine, e.g., opencv, eigen, etc. (2) repeatable, reproducible dev environment via docker container, (3) remote dev env via GitHub Codespaces. For example, issues like this https://github.com/onlytailei/CppRobotics/issues/11 can be avoided using devcontainer & codespace.

Please check out this devcontainer video demo and this codespace video demo. These videos were prepared for another unrelated PR https://github.com/foxglove/tutorials/pull/13 but demonstrate the benefits.


Brief Self-intro

Hi, my name is Mike, a robotics software engineer https://mjyc.github.io/ I love pythonrobotics and wanted to create cpprobotics and found this repo. I'm a big fan and hope my PR can help more people to join/work on & use cpprobotics.