This document describes how to develop using Docker.
- Docker : Installation of Docker & authentication with a PAT (Personal Access Token)
Run the Docker container:
$ cd <path_to_roboconDiffBot>
$ docker run -it -d --name mttros2 -v $(pwd):/ros_ws -p 8080:8080 ghcr.io/mittechteam/mtt-ros2-devOpen the browser and go to http://localhost:8080/vnc.html.
Install the following extensions:
Attach to the running container:
- Open the Command Palette (Ctrl+Shift+P)
- Select
Dev Containers: Attach to Running Container... - Select the running container
mttros2
inside the docker container open a terminal and run the following commands:
Build the ROS2 workspace:
$ colcon build --symlink-installSource the ROS2 workspace:
$ source install/setup.bashRun the ROS2 workspace:
$ ros2 run <package_name> <executable_name>