This is a project is an effort in exploring the use of gmapping for SLAM using a Traxster mobile robot and Kinect.
- Control the mobile robot in the
vrepsimulation environment with keyboard - roslaunch ros nodes
- Build 2D grid map with laserscan data via
rviz - Image Recognition and localization
- Visual Servoing (follow the yellow ball)
- Install catkin: http://wiki.ros.org/catkin
- Install ROS: http://wiki.ros.org/ROS/Installation
- Configure and create catkin workspace
$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/
$ catkin_make
$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
- Install the needed ros packages
#install hector slam
$ sudo apt install ros-kinetic-gmapping-slam
#install teleop key
$ sudo apt-get install ros-kinetic-teleop-twist-keyboard
- Dowload V-REP: http://www.coppeliarobotics.com/downloads.html
$ cp V-REP_PRO_EDU_V3_4_0_Linux.tar.gz ~
$ tar -zvxf ~/V-REP_PRO_EDU_V3_4_0_Linux.tar.gz
$ mkdir ~/V-REP
$ mv ~/V-REP_PRO_EDU_V3_4_0_Linux ~/V-REP
- Follow this link http://analuciacruz.me/articles/RosInterface_kinetic/ coustesy of Ana Lucia Cruz Ruiz
- open one terminal and run
$ roscore - open another terminal and run
$ . ~/V-REP/vrep.sh
Please pay attention to these message and if you see
Plugin ’RosInterface’: loading...
Plugin ’RosInterface’: load succeeded.
- open
traxster_description/scenes/traxster_real.tttin vrep's scene and press the start bottom - control the robot by keyboard
$ rosrun teleop_twist_keyboard teleop_twist_keyboard.py
- launch the ros nodes to visualize in rviz
$ roslaunch traxster_2dnav traxster_slam.launch
- Chien-Sheng Jason Wu for using his ros-vrep project readme to write the readme for this project




