noshluk2 / ros2_learners

This repository is for ROS2 future developers . This will support everyone to become a good developer .
MIT License
42 stars 14 forks source link

LAUNCH ANY OTHER WORLD AND MAP #13

Open muneebay opened 1 year ago

muneebay commented 1 year ago

Whenever I run the code it works fine with turtlebot3_world.launch.py file, but i want to launch turtlebot3_dqn_stage4.launch.py file, mean i want to launch any other built-in map.

What changes should i make in the existing code to launch the other world?

AngeLoGa commented 8 months ago

You could just make a copy of turtlebot3_world.launch.py and modify the function generate_launch_description() where it creates the variable world. You would need to point where is the world file that you want to launch.

AngeLoGa commented 6 months ago

Would you mind closing this issue as answered if my reply helped out?