This workspace will get you set up using MiniPupper/ROS2 with VSCode as your IDE.
You should already have Docker and VSCode with the remote containers plugin installed on your system.
- Install the prerequisites
- clone this repository
git clone https://github.com/AlessioMorale/minipupper_ros2_devcontainer.git
- Open the repository folder in VSCode and, when prompted, select reopen in devcontainer.
- VSCode will proceed initialising the container, building the Dockerfile. This operation will take some time, especially with a slow connection.
- Once the workspace opens, select
Terminal > Run Task...
and selectsetup
. You can alternatively runsetup.sh
from the terminal. - wait for the code to be pulled, now
src
contains all source packages required to run Mini Pupper. - Select
Terminal > Run Task...
and selectbuild
. Wait for the build process to complete. You can alternatively runbuild.sh
from the terminal. - Check the Mini Pupper README.md to find out how to use it.
See the detailed instruction from the awesome template from Allison Thackston used to build this workspace.
There are many pre-defined tasks, see .vscode/tasks.json
for a complete listing. Feel free to adjust them to suit your needs.
Take a look at how I develop using tasks for an idea on how I use tasks in my development.
This template sets up debugging for python files and gdb for cpp programs. See .vscode/launch.json
for configuration details.