-
Notifications
You must be signed in to change notification settings - Fork 121
Docker (Linux)
HaiderAbasi edited this page Sep 28, 2022
·
1 revision
Author: Muhammad Luqman
1) Run the docker image by opening a terminal inside ROS2-Path-Planning-and-Maze-Solving/docker and executing the following file.
( For Cuda-enabled Graphic cards ) Faster
./run_docker_gpu.bash
( For Non-Cuda (Amd or CPU) ) Slower!
./run_docker.bash
- To enter an already running container run,
docker exec -it r2_pathplanning_container bash
2) Execute Gazebo launch file
ros2 launch maze_bot maze_1_robot_camera.launch.py
3) Open a new terminal (cmd_prmpt,Windows Terminal, Powershell) then enter into the running container by executing the following line
docker exec -it r2_pathplanning_container bash
To build the project (again). Perform,
cd root/ROS2-Path-Planning-and-Maze-Solving/path_planning_ws/
colcon build
4) Execute the maze-solver node. 👍
ros2 run maze_bot maze_solver