Add the following to your bashrc file for ros and the workspace to be sourced when opening a new terminal in dev_ws. make sure your are not sourcing ROS in your bashrc file.
if [ -f "/dev_ws/setup.bash" ]; then
source /dev_ws/setup.bash
fiRunning the following command from the root of the repo will execute the build image shell script
.docker/build_image.shRunning the following command from the root of the repo will execute the run image shell script
.docker/run_user.shwith Nvidia support (requires nvidia-docker2)
.docker/run_user_nvidia.shOnce inside the container, ake ownership of the workspace with
sudo chown -R $USER /dev_wsTerminator is installed in the container for multiple terminals launch terminator from the CLI inside the container. Run terminator to start.
for gmapping run
roslaunch turtlebot_navigation gmapping_demo.launchto sav map run
rosrun map_server map_saver -f ~/mapfor navigation run (map in launch file)
roslaunch turtlebot_navigation amcl_demo_iaac.launch