项目作者: jay9z

项目描述 :
SLAM examples
高级语言: CMake
项目地址: git://github.com/jay9z/robot_SLAM.git
创建时间: 2020-08-10T13:00:38Z
项目社区:https://github.com/jay9z/robot_SLAM

开源协议:MIT License

下载


Robot SLAM

Introduction

a robot with RGBD camera and lidar, which can generate map during robot movement.

Pre-requisites

  1. ROS-kinectic

Install

step 1. install a package of robot and world configuration

  1. mkdir -p <workspace_name>/src
  2. cd <workspace_name>/src
  3. catkin_init_workspace
  4. git clone https://github.com/Jay9z/robot_SLAM.git code
  5. mv code/* ./
  6. cd ..
  7. catkin_make

step 2. install RTAB package

  1. git clone -b devel https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
  2. mv src/mapping.launch src/rtabmap_ros/launch/
  3. catkin_make

step 3. install a package of robot teleop

  1. git clone https://github.com/ros-teleop/teleop_twist_keyboard.git src/teleop_twist_keyboard
  2. mv src/mapping.launch src/teleop_twist_keyboard/
  3. catkin_make

How to use it

Open a terminal

  1. cd <workspace_name>
  2. source devel/setup.bash
  3. roslaunch my_robot world.launch

Open the second terminal

  1. cd <workspace_name>
  2. source devel/setup.bash
  3. roslaunch rtabmap_ros mapping.launch

Open the third terminal

  1. cd <workspace_name>
  2. source devel/setup.bash
  3. rosrun teleop_twist_keyboard teleop_twist_keyboard.py

Test it

  1. Use keyboard to manipulate robot around simulation enviornment
  2. Evaluate map with rtabmap-databaseViewer