Train a TurtleBot3 to navigate using reinforcement learning and PyTorch
This project trains a TurtleBot3 robot to navigate through a maze using DQN agent. It uses laser scan data and outputs movement commands to reach its goal.
Ros Noetic Gazebo Sim TurtleBot3 Burger PyTorch Custom Maze World
Ubuntu 20,04 ROS Noetic Gazebo 11 Python 3.8+
sudo apt update sudo apt install-ros-noetic-turtlebot3* ros-noetic-gazebo-ros-pkgs ros-noetic-xacro
cd ~/catkin_ws/src git clone https://github.com/adnansanaulla/TurtleBot-RL-Navigation.git turtlebot_rl cd ~/catkin_ws catkin_make source devel/setup.bash
echo "export TURTLEBOT3_MODEL=burger" >> ~/.bashrc source ~/.bashrc
pip3 install -r ~/catkin_ws/src/turtlebot_rl/requirements.txt
roscore // in a new terminal: roslaunch turtlebot_rl train_world.launch // in another terminal: python3 ~/catkin_ws/src/turtlebot_rl/scripts/train.py
python3 ~/catkin_ws/src/turtlebot_rl/scripts/eval.py