[ROS Q&A] 049 - How to navigate while avoiding obstacles
The Construct Robotics Institute 18:33
20,902 views · 196 likes Watch on YouTube ↗
More ROS Learning Resources: https://goo.gl/DuTPtK
Q: How to navigate while avoiding obstacles?
Original question here: https://answers.ros.org/question/274391/could-use-some-guidance-on-how-to-navigate-while-avoiding-obstacles/?answer=274526#post-id-274526
A: In order to do navigation using a laser for localization and obstacle avoidance, you need to do first a map of the environment you want to move through. For that you need to use the gmapping package. Launch the gmapping package, and then move the robot around using the keyboard or joystick so it can build the map.
Once the map is done, you need to save it using the following command:
rosrun map_server map_saver -f name_of_map
Then you are ready to use that map for localization and sending the robot to different locations in the map, while avoiding obstacles. Kill the gmapping node and launch now the localization package (the amcl). Together with the amcl you need to launch the map_server (to use the map you created on the previous step) and the move_base (to make the robot move around while avoiding obstacles).
RELATED LINKS:
* ROS Development Studio: rds.theconstructsim.com
* Robot Ignite Academy: www.robotigniteacademy.com
---------Want to learn ROS really FAST and master the latest Robotics topics?-----------
::Visit Robot Ignite Academy, the online Academy that teaches you ROS really FAST, from beginner to master, using only a web browser: https://goo.gl/LBT7EN
Robot Ignite Academy is an integrated ROS learning platform which contains a series of online ROS tutorials tied to online simulations, giving you the tools and knowledge to understand and create any ROS based robotics development.
——————Are you a ROS expert and want to develop FAST your next ROS project?-----------
:: Then, use the ROS Development Studio (RDS) for your next project: https://goo.gl/EtFqmE
With the ROS Development Studio, you will be able to:
- Develop ROS programs for robots in a faster way, with an already setup IDE environment that includes autocomplete.
- Test the programs in real time on the provided simulated robots. Use the provided simulations or upload your own. Quickly see the results of your programming.
- Debug using graphical ROS tools.
- Test what you have developed on RDS in the real robot (if you have it :wink:
all of these are using ONLY a web browser without any installation and not limited by any operating system. DEVELOP FOR ROS USING WINDOWS, LINUX OR OSX.
Q: How to navigate while avoiding obstacles?
Original question here: https://answers.ros.org/question/274391/could-use-some-guidance-on-how-to-navigate-while-avoiding-obstacles/?answer=274526#post-id-274526
A: In order to do navigation using a laser for localization and obstacle avoidance, you need to do first a map of the environment you want to move through. For that you need to use the gmapping package. Launch the gmapping package, and then move the robot around using the keyboard or joystick so it can build the map.
Once the map is done, you need to save it using the following command:
rosrun map_server map_saver -f name_of_map
Then you are ready to use that map for localization and sending the robot to different locations in the map, while avoiding obstacles. Kill the gmapping node and launch now the localization package (the amcl). Together with the amcl you need to launch the map_server (to use the map you created on the previous step) and the move_base (to make the robot move around while avoiding obstacles).
RELATED LINKS:
* ROS Development Studio: rds.theconstructsim.com
* Robot Ignite Academy: www.robotigniteacademy.com
---------Want to learn ROS really FAST and master the latest Robotics topics?-----------
::Visit Robot Ignite Academy, the online Academy that teaches you ROS really FAST, from beginner to master, using only a web browser: https://goo.gl/LBT7EN
Robot Ignite Academy is an integrated ROS learning platform which contains a series of online ROS tutorials tied to online simulations, giving you the tools and knowledge to understand and create any ROS based robotics development.
——————Are you a ROS expert and want to develop FAST your next ROS project?-----------
:: Then, use the ROS Development Studio (RDS) for your next project: https://goo.gl/EtFqmE
With the ROS Development Studio, you will be able to:
- Develop ROS programs for robots in a faster way, with an already setup IDE environment that includes autocomplete.
- Test the programs in real time on the provided simulated robots. Use the provided simulations or upload your own. Quickly see the results of your programming.
- Debug using graphical ROS tools.
- Test what you have developed on RDS in the real robot (if you have it :wink:
all of these are using ONLY a web browser without any installation and not limited by any operating system. DEVELOP FOR ROS USING WINDOWS, LINUX OR OSX.
Category (YouTube): Science & Technology
Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.