-
Notifications
You must be signed in to change notification settings - Fork 16
Creating 3D octomaps using Turtlebot
Note: We will be using Turtlebot spawned in Gazebo for this tutorial but you can use anything as long as there is a point cloud published on the topics. If you want to use Octomap with your own point clouds skip to finishing up the installation
First, make sure setup that you have setup Turtlebot in Gazebo. Refer to Turtlebot setup Gazebo ROS
Install octomap_server
sudo apt install ros-indigo-octomap-server
open the launch file (feel free to use your favourite text editor)
roscd octomap_server
cd launch
sudo subl octomap_mapping.launch
Change the remap tag to
<remap from="cloud_in" to="/camera/depth/points" />
This is for when using Turtlebot, make sure you use the topic on which your point cloud is being published.
Change the frame_id param to map. This is necessary to allow visualisation in Rviz.
<param name="frame_id" type="string" value="map" />
Start rviz
rviz
make sure ROS master is running.
In Rviz,
- Change Fixed Frame to /map.
- Add MarkerArray Visualisation
- Change Marker Topic to /occupied_cells_vis_array
You should be able to see the map being generated.
- Home
- Installation
- ArUco marker based stabalisation using PID
- Aligning drone with the marker 1.Aligning with aruco marker 2.Aligning with whycon marker
- Setup ArUco mapping package
- Emulating AR drone 2 in Rviz
- Mapping a simulated environment using Turtlebot and octomap
- 3D Navigation of Drone (Using MoveIt!)