|
|
|
## Generate map
|
|
|
|
By driving around the Turtlebot and using the Astra Orbbec 3D camera, to scan the room and build a map of it so the Turtlebot could use it to autonomously navigate from one point to another, to be able to accomplish this task, make sure that the Camera is connected to that ROS laptop and the network is properly configured, then open 4 Terminals as follow:
|
|
|
|
⦁ On the first terminal start the engine
|
|
|
|
`roslaunch turtlebot_bringup minimal.launch `
|
|
|
|
⦁ On the second terminal, run the turtlebot_navigation and use the gmapping_demo.launch file
|
|
|
|
`roslaunch turtlebot_navigation gmapping_demo.launch`
|
|
|
|
⦁ On third terminal, run the RVIZ to see the visualization (see what robot sees)
|
|
|
|
`roslaunch turtlebot_rviz_launchers view_navigation.launch`
|
|
|
|
After the RVIZ is opened , add the image viewer so you could see a live image from the Astra camera, to add the image viewer follow the bellow steps:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|